Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-5370

check-images cannot handle multiple opening parentheses

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Developer Network
    • Labels:
      None

      Description

      The current check-images task chokes on a line like this:

      (![Menu](../../../../images/icon-menu.png)) then go to Site Administration (the
      

      This is caused by a second opening parenthesis, which throws a StringIndexOutOfBoundsException. The exact place this is broken is here. That end int equals -1 for the line listed above.

      Make the task smarter so it doesn't choke in this type of scenario.

       

        Attachments

          Activity

            People

            • Assignee:
              cody.hoag Cody Hoag
              Reporter:
              cody.hoag Cody Hoag
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package