Modify

Opened 8 years ago

Closed 7 years ago

#14423 closed defect (needinfo)

Do not pre-compute validation results

Reported by: nyurik Owned by: nyurik
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Cc:

Description (last modified by nyurik)

If more than one validation rule apply to the same value, "fix" button only keeps the result of the last validation. For example, rule1 and rule2 match the same value, rule1 removes spaces, rule2 adds quotes. Clicking "fix" on both (either at once or one at a time) would produce the value in quotes, but still with the spaces, even though both validation errors would disappear from the validation panel. This shouldn't cause issues in theory, just some confusion.

I think it would be better to re-evaluate test condition and apply the fix before every fix is applied.

Attachments (0)

Change History (5)

comment:1 by nyurik, 8 years ago

Description: modified (diff)

comment:2 by Klumbumbus, 8 years ago

Component: CoreCore validator

comment:3 by Don-vip, 8 years ago

Did you notice this problem with a real world scenario?

comment:4 by Don-vip, 7 years ago

Owner: changed from team to nyurik
Status: newneedinfo

Please attach sample data showing the problem and helping us to fix it.

comment:5 by Don-vip, 7 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain nyurik.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.