Issue reporter to provide a detailed description of the issue in the space below
The language selector for a Constraint specification given as an OpaqueExpression includes JAVA but not Java. So when adding new constraints to the meta-model, the constraint's language is set to "JAVA", but the ZDLConstraintManager's factories only include "Java", and the check is case-sensitive, so the new constraints are not found.
Possible solutions:
1) Reimplement com.zeligsoft.base.validation.provider.ZDLConstraintManager.getSupportedLanguage(Constraint, OpaqueExpression)
2) Reimplement com.zeligsoft.base.validation.provider.ZDLConstraintManager.addConstraintFactory(IZDLConstraintFactory) to make the factories keys cannonical (e.g. all upper-case)
3) Fix whoever is adding new constraints (calling addConstraintFactory)
Issue and tracking information
Developer's time Estimated effort to fix (hours):
Developer's Actual time spent on fix (hours)
Issue reporter to provide a detailed description of the issue in the space below
The language selector for a Constraint specification given as an OpaqueExpression includes JAVA but not Java. So when adding new constraints to the meta-model, the constraint's language is set to "JAVA", but the ZDLConstraintManager's factories only include "Java", and the check is case-sensitive, so the new constraints are not found.
Possible solutions: 1) Reimplement com.zeligsoft.base.validation.provider.ZDLConstraintManager.getSupportedLanguage(Constraint, OpaqueExpression) 2) Reimplement com.zeligsoft.base.validation.provider.ZDLConstraintManager.addConstraintFactory(IZDLConstraintFactory) to make the factories keys cannonical (e.g. all upper-case) 3) Fix whoever is adding new constraints (calling addConstraintFactory)