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

          Thiago Campos Viana created issue -
          Paulo Bras (Inactive) made changes -
          Field Original Value New Value
          Affects Version/s 5.2 [ 12582 ]
          Affects Version/s 2013.07 [ 12581 ]
          Paulo Bras (Inactive) made changes -
          Fix Version/s Customer request [ 11018 ]
          Paulo Bras (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Paulo Bras (Inactive) made changes -
          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.
          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:
          {quote}
          [newattr]
          CustomAttributes[]
          CustomAttributes[]=title
          CustomAttributes[]=testbox
          CustomAttributesDefaults[title]=texthere
          {quote}

          and in ezoe_attributes.ini:
          {quote}
          [CustomAttribute_newattr_title]
          Name=Some title
          Type=text

          [CustomAttribute_newattr_testbox]
          Name=TestBox
          Type=checkbox
          {quote}

          Gunnstein Lye made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Damien Pobel (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Damien Pobel (Inactive) made changes -
          Summary eZ publish 2013.5 online editor problem with custom attribute - checkbox Checkbox custom attributes on custom tags are not stored
          Damien Pobel (Inactive) made changes -
          Affects Version/s 5.3-dev [ 12979 ]
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          Damien Pobel (Inactive) made changes -
          Remote Link This issue links to "Pull request (Web Link)" [ 13620 ]
          Damien Pobel (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 3 hours [ 10800 ]
          Worklog Id 46033 [ 46033 ]
          Damien Pobel (Inactive) made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Fix Version/s 5.3 [ 11282 ]
          Fix Version/s 5.1 Maintenance [ 12301 ]
          Fix Version/s 5.2 Maintenance [ 12782 ]
          Damien Pobel (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation done [ 10011 ]
          Marcos Loureiro (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ] Marcos Loureiro [ marcos.loureiro@ez.no ]
          Joao Inacio (Inactive) made changes -
          Link This issue relates to EZP-22435 [ EZP-22435 ]
          Marcos Loureiro (Inactive) made changes -
          Time Spent 3 hours [ 10800 ] 5 hours, 15 minutes [ 18900 ]
          Worklog Id 46065 [ 46065 ]
          Marcos Loureiro (Inactive) made changes -
          Time Spent 5 hours, 15 minutes [ 18900 ] 6 hours, 15 minutes [ 22500 ]
          Worklog Id 46075 [ 46075 ]
          Marcos Loureiro (Inactive) made changes -
          Worklog Id 46075 [ 46075 ]
          Marcos Loureiro (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Marcos Loureiro [ marcos.loureiro@ez.no ]
          Marcos Loureiro (Inactive) made changes -
          Time Spent 6 hours, 15 minutes [ 22500 ] 1 day, 15 minutes [ 29700 ]
          Worklog Id 46079 [ 46079 ]
          Damien Pobel (Inactive) made changes -
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Damien Pobel (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Marcos Loureiro (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ] Marcos Loureiro [ marcos.loureiro@ez.no ]
          Marcos Loureiro (Inactive) made changes -
          Rank Ranked higher
          Marcos Loureiro (Inactive) made changes -
          Time Spent 1 day, 15 minutes [ 29700 ] 1 day, 1 hour [ 32400 ]
          Worklog Id 46203 [ 46203 ]
          Marcos Loureiro (Inactive) made changes -
          Assignee Marcos Loureiro [ marcos.loureiro@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Paulo Bras (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Paulo Bras (Inactive) made changes -
          Status Reopened [ 4 ] Confirmed [ 10037 ]
          Paulo Lopes (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Yannick Roger (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ] Paulo Nunes [ paulo.nunes@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ] Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Eduardo Fernandes (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Eduardo Fernandes (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Eduardo Fernandes (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Status InputQ [ 10001 ] Documentation [ 10010 ]
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation [ 10010 ] Documentation done [ 10011 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Paulo Nunes (Inactive) made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ] Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Eduardo Fernandes (Inactive) made changes -
          Fix Version/s 4.7.0 [ 11010 ]
          Eduardo Fernandes (Inactive) made changes -
          Assignee Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 56338 ] EZ* Development Workflow [ 83963 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 83963 ] EZEE Development Workflow [ 122590 ]

            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