Tasks converted to Role?

Avatar
  • updated
  • Not a bug

My tasks are being converted to their role. As in: I create a task saying "write review" and give it the role of manager. I come back later to find the task is now "manager" and "write review" is gone completely. This has happened at least 10 times now. It's very frustrating to know there should be a task there and have no idea what the task is. Refresh/bringing up on another computer/etc does not fix. This has only happened to me starting a month or so ago.

App:
Avatar
Rich

Hi Aymeric, I just had it happen again and thought I'd mention it here in case it helps tracking the event down. I think the task that changed may have been created today (action_8313549) and I think the old title used to read "Send email to...". Now it reads "Sales" as that is the Role that it was in.


The only things I've really done today is switched Workspaces a few times to add a task and then switch back. I've also dragged some tasks to days later in the week. I may have dragged a task back a day and checked it off. Everything else has been completing tasks and adding tasks in the Just Me workspace.


Hope this helps.

Avatar
Rich

Aymeric, I think I just found a a few clues! I was flipping through my tasks on the Weekplan iPhone app and noticed another task that had been changed (action_8329125). I immediately checked Weekplan on my desktop and it was still set to the old/correct content. I thought it was setting tasks to the current role but it looks like it sets the role to a random role and replaces the title with the name of the new role.


So I took screenshots of before and after (just in case) and I also copied the before/after contents of the li tag for this task. It shows the title change and some odd but minor juggling of the username in the gravatar image. What surprised me was that the role number was the same before and after! They both showed the new random role (role_747352). I would have expected the role to initially be Treasurer (role_747349) which was the task's role when it was created.


Is it possible that this is coming from the iPhone app?


Would it help to put some code in place where the task gets saved and test to see if the task name is the same as the role name and if so log it or notify? Or maybe it would be better to add a trace to the database to track when and where this might be happening (again filtering on equal task and role names). Just some thoughts.


Hope this helps some. Let me know if you want the html from these before and after li tags. I can email them to you.

Avatar
Aymeric Founder
Quote from Rich

Aymeric, I think I just found a a few clues! I was flipping through my tasks on the Weekplan iPhone app and noticed another task that had been changed (action_8329125). I immediately checked Weekplan on my desktop and it was still set to the old/correct content. I thought it was setting tasks to the current role but it looks like it sets the role to a random role and replaces the title with the name of the new role.


So I took screenshots of before and after (just in case) and I also copied the before/after contents of the li tag for this task. It shows the title change and some odd but minor juggling of the username in the gravatar image. What surprised me was that the role number was the same before and after! They both showed the new random role (role_747352). I would have expected the role to initially be Treasurer (role_747349) which was the task's role when it was created.


Is it possible that this is coming from the iPhone app?


Would it help to put some code in place where the task gets saved and test to see if the task name is the same as the role name and if so log it or notify? Or maybe it would be better to add a trace to the database to track when and where this might be happening (again filtering on equal task and role names). Just some thoughts.


Hope this helps some. Let me know if you want the html from these before and after li tags. I can email them to you.

Awesome! It is possible that it comes from the iphone app. I will contact the iphone developer.

Avatar
Scott Blubaugh

Unfortunately, I don't use the iPhone app. I have turned off Google Calendar sync and have been using the program minimally while this persists so I don't have anything new to report.

Avatar
Aymeric Founder

Thanks all. We are adding more logging to figure out what is going here.

Avatar
Rich

This just happened again. This time it was right in front of me. Here is what happened:


1. changed the workspace to create a new task.

2. typed in the task name and set the role (Sales), marked as Important and submitted

3. the new task was created (action_8411675)

4. within a second or so a generic error popped up asking me to reload or cancel - clicked Cancel

5. noticed that the color of the new task changed (green for Marketing role) but the task name was correct - also noted that there were two identical gravitar icons on the task

6. double-clicked on the task to look at the details

7. before the details window opened, task name in the list changed to Marketing (one of my roles)

8. details window opened, the color of the task in the list behind the open details window changed to gold (Sales role)

9. noted that the name was now incorrect (now "Marketing") but the role was still correct - also there were now three identical gravitar icons in the Participants section

10. took a screenshot, closed the details window (by clicking on the X - versus escape key)

11. noticed that the task item in the list now had three gravitar icons but changed to one icon immediately

12. double-clicked the task and found the role was still set to Sales, closed

13. created new task (action_8411675) with no errors


Let me know if you'd like the screenshot posted.

Avatar
Aymeric Founder

It seems all tasks converted to roles come from a bit of code that only the iphone app should be using.


Scott, can you please confirm you have never used the iphone app?

Avatar
Aymeric Founder
Quote from Rich

This just happened again. This time it was right in front of me. Here is what happened:


1. changed the workspace to create a new task.

2. typed in the task name and set the role (Sales), marked as Important and submitted

3. the new task was created (action_8411675)

4. within a second or so a generic error popped up asking me to reload or cancel - clicked Cancel

5. noticed that the color of the new task changed (green for Marketing role) but the task name was correct - also noted that there were two identical gravitar icons on the task

6. double-clicked on the task to look at the details

7. before the details window opened, task name in the list changed to Marketing (one of my roles)

8. details window opened, the color of the task in the list behind the open details window changed to gold (Sales role)

9. noted that the name was now incorrect (now "Marketing") but the role was still correct - also there were now three identical gravitar icons in the Participants section

10. took a screenshot, closed the details window (by clicking on the X - versus escape key)

11. noticed that the task item in the list now had three gravitar icons but changed to one icon immediately

12. double-clicked the task and found the role was still set to Sales, closed

13. created new task (action_8411675) with no errors


Let me know if you'd like the screenshot posted.

Thanks for this report, I am going to look into this myself this morning.

Avatar
Aymeric Founder
Quote from Aymeric

It seems all tasks converted to roles come from a bit of code that only the iphone app should be using.


Scott, can you please confirm you have never used the iphone app?

Sorry my statement is wrong. They don't all come from the iphone app.