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

Adding an image to the rich text leads to an error inconsistency checker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.5.0
    • None
    • None
    • None
    • 4.5 RC3

      insert an image in a richtext

      save

      open the consistency checker

      begin 0, end -1, length 19
      java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 19
          at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
          at java.base/java.lang.String.substring(String.java:1874)
          at org.ametys.cms.transformation.LocalURIResolver.getInfos(LocalURIResolver.java:121)
          at org.ametys.cms.transformation.LocalURIResolver.getLabel(LocalURIResolver.java:263)
          at org.ametys.cms.transformation.ConsistencyChecker.getLabel(ConsistencyChecker.java:167)
          at org.ametys.cms.content.ConsistencyGenerator.generate(ConsistencyGenerator.java:120) 

            cbayle Caroline Bayle
            jhawken James Hawken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: