
| Key: |
JRA-15195
|
| Type: |
Improvement
|
| Status: |
Resolved
|
| Resolution: |
Duplicate
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Vincent Thoulé
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Issue Links:
|
Duplicate
|
|
This issue duplicates:
|
|
|
JRA-15297 Add Conditions, Validators, Post Functions to the Clone, Edit operations
|
|
|
|
|
|
|
|
| Participants: |
Vincent Thoulé
|
| Since last comment: |
9 weeks, 1 day ago
|
| Resolution Date: |
24/Jul/08 10:55 PM
|
| Labels: |
|
Hi Atlassian
My initial requirements were to be able :
- to display errors raised by validator defined in the initial-action.
- to define a validator verifying that at least one of two fields was entered during the Create or Edit action.
Following my post done on JIRA Dev. Forum, I made more investigations ...
It appears that :
- Validators, defined in an inital-action of a Workflow, are executed during the doExecute(),
- Only InvalidInputException raised during doValidate() (resulting from Field validation depending on FieldConfiguration) are interpreted to provide a focus on the field in error.
I developped an enhancement described in KAAM-190
Let me known about your opinion.
Rgds
Vincent
|
|
Description
|
Hi Atlassian
My initial requirements were to be able :
- to display errors raised by validator defined in the initial-action.
- to define a validator verifying that at least one of two fields was entered during the Create or Edit action.
Following my post done on JIRA Dev. Forum, I made more investigations ...
It appears that :
- Validators, defined in an inital-action of a Workflow, are executed during the doExecute(),
- Only InvalidInputException raised during doValidate() (resulting from Field validation depending on FieldConfiguration) are interpreted to provide a focus on the field in error.
I developped an enhancement described in KAAM-190
Let me known about your opinion.
Rgds
Vincent |
Show » |
| There are no comments yet on this issue.
|
|