Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1005

ZK 6.0.1 validation fails on nested bean

    XMLWordPrintable

Details

    Description

      Validation of
      <textbox value="@bind(fx.businessTravel.endPlace) @validator('bv')" />
      fails with error message 'There is no property endPlace in entity...'

      Somehow the middle bean gets lost from ctx.getProperty().getProperty() in BeanValidator.validate(ValidationContext ctx) method.
      ctx.getProperty().getBase().getFields() is showing the property name correctly as 'businessTravel.endPlace'

      Attachments

        Issue Links

          Activity

            People

              dennis dennis
              mixgho mixgho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: