Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Tasks & Discussions] | Submission workflow - Add Task Details, Task section missing required validation checks causing other validations to trigger #11965

@Tribunal33

Description

@Tribunal33

Valid Title

  • I have updated the title to accurately reflect the bug description

Description

There appears to be a field requirement difference for Editing and adding a task and the 3 dots menu to Add Task Details

You can see the two different requirements * by following the steps to reproduce but in both Editing and 3 dots option Add Task details. When adding a task section with Edit view you can see the * but when adding a task with Add Task Details view the * are missing from both Due date field and Responsible to complete this task.

Image

Steps to Reproduce

  1. Find (or create) a discussion that isn't a task
  2. Using 3 dots select Add Task Details
  3. Click save (2 errors should appear -- one for missing due date and another outside of task for Responsible for task)
Image

Expected Result

Should look like this:

Image

Actual Result

Missing the Requirements * for both fields and the error bubbles up to the Details > Participants section.

Environment Details

No response

Application Version

OJS 3.6

Logs

No response

Additional Information

No response


Pull Requests

ui-library:
pkp/ui-library#732

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions