Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21685

[EZ Content Staging] Selection attribute fail in ContentStaging with value Zero

    Details

      Description

      In ContentStaging, the sync will fail if a select with value zero and required attribute is set.

        Activity

        Hide
        Eduardo Fernandes (Inactive) added a comment -

        Steps to reproduce

        1) Create a content class with an attribute selection set as required.
        2) In the selection attribute, define two values: 0 and 1.
        3) Create a content object, leave the attribute in default value: 0
        4) Try to sync

        Show
        Eduardo Fernandes (Inactive) added a comment - Steps to reproduce 1) Create a content class with an attribute selection set as required. 2) In the selection attribute, define two values: 0 and 1. 3) Create a content object, leave the attribute in default value: 0 4) Try to sync
        Hide
        Bertrand Dunogier added a comment -

        Looks alright.

        Can't you just push this to your fork, and send the PR from there ?

        Show
        Bertrand Dunogier added a comment - Looks alright. Can't you just push this to your fork, and send the PR from there ?
        Show
        Joaquim Cavalleri (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/781
        Show
        Joaquim Cavalleri (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/02d28526d2d702760f0f6c2377c5b4a2d7f8ca39
        Hide
        Filipe Dobreira (Inactive) added a comment -

        QA Approved.

        Show
        Filipe Dobreira (Inactive) added a comment - QA Approved.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eduardo Fernandes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: