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

[Anchor] Can't create an anchor without href on admin interface (legacy)

    XMLWordPrintable

Details

    Description

      It's not possible to create anchor's without "href" attribute:

      to reproduce attempt to create an article with intro/summary filled with:

      <section>
          <paragraph>This is a <link anchor_name="test">test</link></paragraph>
          <paragraph>This is a <link anchor_name="test" object_id="64">Object ID</link></paragraph>
          <paragraph>This is a <link anchor_name="test" node_id="64">Node ID</link></paragraph>
          <paragraph>This is a <link anchor_name="test" object_remote_id="1316756b253a320db5c888ffe350a5d3">Object Remote ID</link></paragraph>
          <paragraph>This is a <link anchor_name="test" href="/Folder-Link-7880">test</link></paragraph>
          <paragraph>This is a <link anchor_name="test" url="/Folder-Link-7880">test</link></paragraph>
      </section>
      

      ( change id's an paths to match an object )

      Error:

      The draft could not be stored.
      
      Required data is either missing or is invalid:
      
          Summary: Required attribute 'href' is not presented in tag <link>.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: