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 Sub-task
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      35478

      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.

        Activity

        Eloy Lafuente (stronk7) created issue -
        Hide
        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
        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
        Eloy Lafuente (stronk7) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Martin Dougiamas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Martin Dougiamas made changes -
        Workflow jira [ 32109 ] MDL Workflow [ 62535 ]
        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: