Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45221

admin_setting_configexecutable accepts folder path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.5.6, 2.6.3
    • Component/s: General
    • Labels:
    • Testing Instructions:
      Hide
      1. Open the EditPDF settings tab
      2. For the {{ {Ghostscript Path}

        }}, try setting:

        • an invalid path
        • a folder
        • a non-executable file
      3. Confirm that it rejects each of these with a cross beside the field and an appropriate error message at the top
      4. Try setting:
        • the correct path
      5. Confirm that it accepts this with a tick
      Show
      Open the EditPDF settings tab For the {{ {Ghostscript Path} }}, try setting: an invalid path a folder a non-executable file Confirm that it rejects each of these with a cross beside the field and an appropriate error message at the top Try setting: the correct path Confirm that it accepts this with a tick
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-45221-master

      Description

      When setting up the Ghostscript path, if you insert the folder path (e.g. /usr/local/php) it will still accept this with a tick marked, however PDF Annotation will not work as it does not like having a folder path and wants the exact file path (/usr/local/php/gs).

      Therefore, even if the folder path is correct, it should not be marked as correct because it still won't work.

        Attachments

          Activity

            People

            Assignee:
            dobedobedoh Andrew Nicols
            Reporter:
            danbennett Dan Bennett
            Peer reviewer:
            Petr Skoda
            Integrator:
            Sam Hemelryk
            Tester:
            Rajesh Taneja
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14