Adding a task named `Ads` breaks the frontend
ssteiger opened this issue ยท 1 comments
ssteiger commented
jv-asana commented
Hi @ssteiger, I can't seem to reproduce this issue. I tried 2 scenarios:
Scenario 1 - 1:
- In Asana webapp/ui in a "Test" project add a task using the "+ Add task" button
- Named that new task "Ads"
- Created another task with the "+ Add task" button and named it "Ad"
- Observed no issues
Scenario 1 - 2:
- In Asana webapp/ui in a "Test" project add a task by clicking on the row
- Named new task "Ads"
- Added another task by clicking on the row and named it "Ad"
- Observed no issues
Scenario 2:
- Used the node-asana v3.0.1 library to createTask
- In request body specify
name
as "Ads" - Make another request with
name
as "Ad" - Observed no issues
EX Request:
const Asana = require('asana');
let client = Asana.ApiClient.instance;
let token = client.authentications['token'];
token.accessToken = "<YOUR_ASANA_PERSONAL_ACCESS_TOKEN>";
let tasksApiInstance = new Asana.TasksApi();
let body = {
"data": {
"name": "Ads",
"projects": ["<PROJECT_GID_OF_TEST_PROJECT>"],
}
};
let opts = {};
tasksApiInstance.createTask(body, opts).then((result) => {
console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
}, (error) => {
console.error(error.response.body);
});
Do you have a recording you could share?