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

eZOE: custom attributes of type "link" don't work properly when custom tag name contains underscores

    Details

      Description

      When using custom tags with custom attributes of type "link", when you open the custom tag popup window, there will be three buttons, "Search", "Browse" and "Bookmarks". If the custom tag you created has underscores in its name, when you click in any of those buttons, you will be re-directed to an empty "Properties" area (see screenshot).

      This will not occur if the custom tag name has no underscores.

      Steps to reproduce:

      1. Create a custom tag that contains a custom attribute of type "link". Called it "stvd_button". Use attached "content.ini.append.php" and "ezoe_attributes.ini.append.php" files as reference;
      2. Create or edit a content that contains an XML block field (used Article/Body);
      3. On the XML block field, click "Insert custom tag" button;
      4. Select "stvd_button" custom tag;
      5. Click on either "Search", "Browse" or "Bookmarks" button. You will be re-directed to an empty "Properties" area (see screenshots).

      1. content.ini.append.php
        0.1 kB
        Nuno Oliveira
      2. ezoe_attributes.ini.append.php
        0.1 kB
        Nuno Oliveira
      1. 1 - browse 1.JPG
        24 kB
      2. 1 - browse 2.JPG
        18 kB

        Issue Links

          Activity

          Hide
          Yannick Roger (Inactive) added a comment -

          Reproduced on master.

          Show
          Yannick Roger (Inactive) added a comment - Reproduced on master.
          Show
          Yannick Roger (Inactive) added a comment - Damien found some leads: https://github.com/ezsystems/ezpublish-legacy/blob/master/extension/ezoe/design/standard/templates/ezoe/customattributes/link.tpl#L182
          Show
          Damien Pobel (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/1179
          Show
          Damien Pobel (Inactive) added a comment - Merged in master in https://github.com/ezsystems/ezpublish-legacy/commit/5eaf8dc3bf32ed4665fa03fa6900cc628421c7aa
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for 5.3, 5.4 and master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for 5.3, 5.4 and master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: