Mod4j: Modeling for Java using Domain Specific Languages

validate method is not called in setter of domain object.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 1.0.1, 1.1.0
  • Component/s: None
  • Labels:
    None
  • Environment:
    Demo Application rosa's breakfast
  • Number of attachments :
    0

Description

In the Domain class Part, in the setter setComestible(Comestible) there's no call to the validators generated (validation.validate().
Therefor the validation is not fired when the service method setComestible(Part, Comestible) is fired and a Comestible is set in the Part object.
(see also the Part domain object in the demo app in svn)

Issue Links

Activity

Hide
Johan Vogelzang added a comment -

Fixed this issue and some more validation execution issues on internal state changes of business domain classes.

Show
Johan Vogelzang added a comment - Fixed this issue and some more validation execution issues on internal state changes of business domain classes.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: