Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367396 - Order of validators should be preserved
Summary: Order of validators should be preserved
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Skalli (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Ochmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 03:38 EST by Michael Ochmann CLA
Modified: 2022-10-03 10:28 EDT (History)
0 users

See Also:


Attachments
proposed patch (21.36 KB, patch)
2011-12-22 03:41 EST, Michael Ochmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ochmann CLA 2011-12-22 03:38:07 EST
Order of validations of properties/extensions returned by extension service or template may be important, e.g. first validator may check syntax of a property (is it an URL?), a second validator then may use that property for a more. Currently, a Set returned by the get...Validators methods. This should be changed to List.
Comment 1 Michael Ochmann CLA 2011-12-22 03:41:04 EST
Created attachment 208721 [details]
proposed patch
Comment 2 Michael Ochmann CLA 2011-12-22 03:42:54 EST
Note: This is an incompatible change that will break third-party validators.


Wiki must be approved if this patch is committed!
http://wiki.eclipse.org/Skalli/User_Guide/Tutorial/Extensions/Extended_Tutorial