Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9448

Copy content fails if a rich text contain a link with a mailto

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.8, 4.2.0
    • 4.1.7, 4.2.0
    • None
    • None

      If a rich text contains a link to a mail, there is an AmetysRepositoryException thrown with the folowing message :

      org.ametys.plugins.repository.AmetysRepositoryException: An object id must conform to the <protocol>://<protocol-specific-part> syntax: [mymail@example.com|mailto:mymail@example.com]

       

      This happens in org.ametys.cms.content.CopyContentMetadataComponent.CopyAttachmentsHandler._copyIfAttachment(String)

            laurence Laurence Aumeunier
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: