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

Checkbox custom attributes on custom tags are not stored

    XMLWordPrintable

    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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tcv_br 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