Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4310

Vaadin 8 communication protocol opts causes crop tool to be disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Basel 119
    • Story Points:
      2
    • Magnolia Release:
      5.6

      Description

      Crop tool is always disabled after migration to Vaadin 8.

      After quick investigation it turned out that enable-state checks on the client-side yield incorrect values because enabled property is no longer present on the client-side.

      My guess is that it happens cause true is the default value of the enabled-state and Vaadin does not communicate that to the client-side at all! Sounds like a not correct behaviour by Vaadin (cause on the client-side the property ends up to be undefined!)

      The fix anyway would be to introduce a dedicated function in the crop tool connector that'd check if enabled property is explicitly set to false.

        Attachments

          Activity

            People

            • Assignee:
              apchelintcev Aleksandr Pchelintcev
              Reporter:
              apchelintcev Aleksandr Pchelintcev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: