Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 7.0.x
    • Component/s: Developer Network
    • Labels:
      None

      Description

      The current numbering target (number-images-discover) in discover/portal/ implements numbering in format "Figure [chapter].x:". It needs to be updated to operate on "Figure x:".

      It should no longer depend on the article folder number prefix.

      Currently when you execute ant dist on an article folder that doesn't have a number prefix it fails with an unhelpful message error:

      number-images-discover:
      [numberimgsdiscover] Numbering images for files in articles ...
      [numberimgsdiscover] chapternum: li

      BUILD FAILED
      E:\git-stuff\liferay-docs\discover\portal\build.xml:30: java.lang.NumberFormatException: For input string: "li"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: