Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19303 META: XMLDB Editor various bugs/improvements
  3. MDL-19305

Inform about dir/file not being writable (and preventing "Save" to work)

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      In order to be able to write one XMLDB modified file, it's needed to have write access to the file. Current behaviour isn't really nice, so:

      1) Display write problems inline in the main page, before effectively execute the save option (dir/file problems)
      2) Disable the save option if those problems are detected.

        Gliffy Diagrams

          Attachments

            Activity

            stronk7 Eloy Lafuente (stronk7) created issue -
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Done,

            now "There are changes in this file but they cannot be saved! Please verify that both the directory and the "install.xml" within it have write permissions for the web server. Then reload this page and you should be able to save those changes" is showed if there are problems and the save option is dimmed (was dimmed already, btw).

            Resolving as fixed. ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Done, now "There are changes in this file but they cannot be saved! Please verify that both the directory and the "install.xml" within it have write permissions for the web server. Then reload this page and you should be able to save those changes" is showed if there are problems and the save option is dimmed (was dimmed already, btw). Resolving as fixed. ciao
            stronk7 Eloy Lafuente (stronk7) made changes -
            Field Original Value New Value
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            dougiamas Martin Dougiamas made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 32109 ] MDL Workflow [ 62535 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 62535 ] MDL Full Workflow [ 91750 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10