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

No url/href support in API XmlText input

    XMLWordPrintable

    Details

      Description

      Using Public API you're not able to create an object and try to add to the xmltext fieldtype with

      <link anchor_name="test" href="/test">test</link>
      

      or

      <link anchor_name="test" url="/test">test</link>
      

      You'll always get the following error

      [eZ\Publish\Core\Base\Exceptions\InvalidArgumentException]                                                                           
        Argument 'xmlString' is invalid: Validation of XML content failed: Element 'link', attribute 'xxx': The attribute 'xxx' is not allowed. 
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 5 hours, 45 minutes
                  5h 45m