Moodle

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

Details

  • Type: Sub-task Sub-task
  • Status: Closed 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

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

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: