Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1723

Images break after publication in the outdated version of the jdocbook plugin, because they use hardcoded local file paths to the src directory

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.0.0.M5
    • 5.0.0.M1
    • drools-docs
    • None

    Description

      As you can see from the html which is generated, that html will only work on my pc:

      <object data="/home/ge0ffrey/projects/jboss/drools/drools-docs/drools-docs-solver/en/Chapter-Solver/unsolvedNQueens04.svg" type="image/svg+xml"/>

      Note that it's:

      • an absolute file path (and I am pretty sure most users don't have a /home/ge0ffrey directory)
      • it's to the source directory, not the target directory

      Instead it should be something like this:

      <object data="Chapter-Solver/unsolvedNQueens04.svg" type="image/svg+xml"/>

      Attachments

        Issue Links

          Activity

            People

              mproctor@redhat.com Mark Proctor
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty