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

Inconsistent block cutom tag size in editor

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.1.0rc1
    • 4.1.0rc1
    • None
    • Operating System: Ubuntu
      PHP Version: (please be specific, like '4.4.3' or '5.1.5')
      Database and version:
      Browser (and version): Firefox 3

    Description

      I defined a block custom tags which has an attribute "width" and an attribute "height". When I add this custom tag to an XML Block, the size of the custom tag in the editor is correct according to what I fill, but if I store the draft, the size has changed (see attached screenshot) even if the attributes width and height are correctly stored.

      Steps to reproduce

      Settings of my custom tag :
      content.ini

      [dailymotion]
      CustomAttributes[]=url
      CustomAttributes[]=width
      CustomAttributes[]=height
      CustomAttributesDefaults[width]=425
      CustomAttributesDefaults[height]=350
      

      ezoe_customattributes.ini

      [CustomAttribute_dailymotion_width]
      Name=Largeur
      Default=425
      Title=Largeur de la vidéo
      Type=int
      AllowEmpty=false
      Minimum=100
      Maximum=600
      
      [CustomAttribute_dailymotion_height]
      Name=Hauteur
      Default=350
      Title=Hauteur de la vidéo
      Type=int
      AllowEmpty=false
      Minimum=100
      Maximum=600
      

      Attachments

        Activity

          People

            andre1 andre1
            dpobel dpobel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: