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

Checkbox custom attributes on custom tags are not stored

    Details

      Description

      Steps to reproduce:

      Create or use one extension that defines a custom tag with a checkbox custom attribute not checked as default.

      When we check the attribute and click ok, ezoe will not apply it, if we try to edit the custom tag again we will see that the checkbox will not be checked, also if check and publish, ez publish will not save the value as well.

      test case:

      setup in content.ini settings:

      [newattr]
      CustomAttributes[]
      CustomAttributes[]=title
      CustomAttributes[]=testbox
      CustomAttributesDefaults[title]=texthere

      and in ezoe_attributes.ini:

      [CustomAttribute_newattr_title]
      Name=Some title
      Type=text

      [CustomAttribute_newattr_testbox]
      Name=TestBox
      Type=checkbox

        Issue Links

          Activity

          Show
          Damien Pobel (Inactive) added a comment - Fixed in ezpublish-legacy: master: http://github.com/ezsystems/ezpublish-legacy/commit/38d83f775b930d14d426d7dc01c0dc2d7fae0d0a
          Hide
          Damien Pobel (Inactive) added a comment -

          @Thiago: feel free to open a new issue for the disable editor problem as it's a completely different issue that mostly likely needs to be fixed in the server side handling

          Show
          Damien Pobel (Inactive) added a comment - @Thiago: feel free to open a new issue for the disable editor problem as it's a completely different issue that mostly likely needs to be fixed in the server side handling
          Hide
          Peter Keung added a comment -

          New ticket opened for disable editor problem with a proposed fix: https://jira.ez.no/browse/EZP-22435

          Show
          Peter Keung added a comment - New ticket opened for disable editor problem with a proposed fix: https://jira.ez.no/browse/EZP-22435
          Hide
          Marcos Loureiro (Inactive) added a comment -

          QA Approved

          Show
          Marcos Loureiro (Inactive) added a comment - QA Approved
          Hide
          Eduardo Fernandes (Inactive) added a comment -

          QA tested and approved for 5.3, 5.2, 5.1 & 4.7

          Show
          Eduardo Fernandes (Inactive) added a comment - QA tested and approved for 5.3, 5.2, 5.1 & 4.7

            People

            • Assignee:
              Unassigned
              Reporter:
              Thiago Campos Viana
            • Votes:
              0 Vote for this issue
              Watchers:
              10 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 day, 1 hour
                1d 1h