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

Selection custom attributes on embed tags are not stored

    XMLWordPrintable

    Details

      Description

      when declaring a custom embed attribute of type selection, the declared values do not work:

      • value is not stored
      • if editor is disabled, the custom attribute is not present in the <embed> tag

      test:

      set in content.ini:

      [embed-type_images]
      CustomAttributes[]=dropbox
      

      in ezoe_attributes.ini

      [CustomAttribute_dropbox]
      Name=Dropbox
      Type=select
      Default=1
      Selection[]
      Selection[0]=one
      Selection[1]=two
      Selection[2]=three
      
      • add an image to a xml block
      • select any value from the "dropbox" attribute, publish
      • edit again previous image. the selected value in "dropbox" was not saved
      • confirm by disabling the editor: the dropbox attribute is not present in the tag

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            paulo.bras@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 4 days, 1 hour, 30 minutes
                4d 1h 30m