Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.3.12, 2017.12, 2018.06, 5.4.12, 2018.09
    • Fix Version/s: 2018.09, 2017.12.3, 5.4.14
    • Component/s: None
    • Labels:
      None
    • Environment:

      6.12.0 (legacy mode) but the error seems to exists for years.

      Description

      Hi,

      when editing a object in backend you normally get a red border added to the input field when you miss out a required field or if you enter invalid data.

      this error border is now missing. the reason is, that the hasValidationError attribute is ALWAYS false.

      hasValidationError seems to be set properly but then is getting overwritten.

      The cause for this is:

      https://jira.ez.no/browse/EZP-23088
      https://github.com/ezsystems/ezpublish-legacy/commit/99269b546bfa45ae68dd9a8677bf562af219a527#diff-bcd306678394f088cc39c7701591d264

      If you deactivate this line, the border is there.

        Activity

        Hide
        Michał Szołtysek added a comment -

        Retest successful on v5.4.14-rc1.

        Show
        Michał Szołtysek added a comment - Retest successful on v5.4.14-rc1.
        Hide
        Patrizio Bekerle added a comment -

        Great, thank you!

        Show
        Patrizio Bekerle added a comment - Great, thank you!
        Show
        Gunnstein Lye added a comment - Merged in master, 2018.09, 2017.12. Thanks Patrizio Bekerle ! https://github.com/ezsystems/ezpublish-legacy/commit/c8ce309e26bac73316c467ec1c7b82909bbf9dc7
        Hide
        Patrizio Bekerle added a comment -

        After several hours of researching and testing the code I found this solution: https://github.com/ezsystems/ezpublish-legacy/pull/1412

        This pull request solves https://jira.ez.no/browse/EZP-29723 while still fixing https://jira.ez.no/browse/EZP-23088.

        Show
        Patrizio Bekerle added a comment - After several hours of researching and testing the code I found this solution: https://github.com/ezsystems/ezpublish-legacy/pull/1412 This pull request solves https://jira.ez.no/browse/EZP-29723 while still fixing https://jira.ez.no/browse/EZP-23088 .
        Hide
        Patrizio Bekerle added a comment -

        I can confirm this bug and its origin.

        Show
        Patrizio Bekerle added a comment - I can confirm this bug and its origin.

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Röttger
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h