Skip to content

Incorrect call to action button for Auto-Unlocked Tasks Mapped by the Same User #6761

@manjitapandey

Description

@manjitapandey

Describe the bug
When a user attempts to map a task that was previously auto-unlocked, the call-to-action button incorrectly displays "Resume Mapping" instead of "Map Selected Task". Clicking "Resume Mapping" causes a page crash due to a conflict in the task's status.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'tasks page'
  2. Click on 'a task to map'
  3. Leave it for 2 hours until it gets auto unlocked
  4. Click on same task where the status is available for mapping
  5. See error - the button should say map selected task instead of resume mapping
  6. Clicking on resume mapping crashes the page

Expected behavior
The call-to-action button should display "Map Selected Task" when the task becomes available again, preventing the status conflict and crash.

Screenshots

Image

Additional context
Mapping the task task by different users solve the issue.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions