Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-4964

The empty link causes the error 'Transformation of XML content failed'

    XMLWordPrintable

Details

    • Yes

    Description

      Steps to reproduce

      1. Install Ibexa DXP v4
      2. Create an article
      3. Add an empty link in the intro field (do not fill in any input)
      4. Publish content

       

      Result

      Argument '$xmlDoc' is invalid: Transformation of XML content failed: Error in 0:0: Unhandled link type 

      Expected

      It should not be possible to save an empty link, in v3.3 there is no such possibility. The link modal will simply not close before the user has provided a link target

       

      Note

      After adding such an empty link, the text is not underlined, and when you click on it, there is no popup to edit the link, but in the source code you can found

      <a title="" target="">Link</a> 

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: