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

Block-style custom tags lose content after upgrading from eZ Publish 4.5 to 4.6

    XMLWordPrintable

Details

    Description

      After upgrading from eZ Publish 4.5 to 4.6, the content of a previously created block-style custom tag such as 'factbox' disappears and is replaced by the name of the custom tag in question.

      Steps to reproduce:

      1. Create a clean eZ Publish 4.5 installation;
      2. Create an object of type 'article', and on an XML block field ('body' will do) add a block custom tag and place some content inside. In my case, I used a factbox and placed a few PDF links inside. Here is the resulting code, obtained after disabling the editor:

      <custom name="factbox" custom:title="factbox" custom:align="left"><embed view="embed" size="medium" custom:offset="0" custom:limit="5" href="ezobject://81" /><embed view="embed" size="medium" custom:offset="0" custom:limit="5" href="ezobject://82" /><embed view="embed" size="medium" custom:offset="0" custom:limit="5" href="ezobject://83" /></custom>
      

      3. Upgrade to eZ Publish 4.6 (standard upgrade, described in documentation - http://doc.ez.no/eZ-Publish/Upgrading/Upgrading-to-4.6/Upgrading-from-4.5-to-4.6);
      4. Go to the article and check the previously created factbox. Its original content is gone, and it now contains its own name ('factbox') instead. Here is the underlying code:

      <custom name="factbox" custom:title="factbox" custom:align="left"></custom>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 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 - 6 hours
                6h