Issue Details (XML | Word | Printable)

Key: MDL-19305
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-19303

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

Created: 27/May/09 06:47 AM   Updated: 29/May/09 05:50 AM
Return to search
Component/s: Database SQL/XMLDB
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Eloy Lafuente (stronk7)
Security Level: None
Resolved date: 29/May/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) committed 2 files to 'Moodle CVS' - 29/May/09 05:48 AM
MDL-19305 xmldb editor - throw message when there are changes pending to save and perms don't allow it.
MODIFY admin/xmldb/actions/main_view/main_view.class.php   Rev. 1.18    (+21 -5 lines)
MODIFY lang/en_utf8/xmldb.php   Rev. 1.32    (+2 -1 lines)
Eloy Lafuente (stronk7) committed 2 files to 'Moodle CVS' - 29/May/09 05:57 AM
MDL-19305 renaming string because I'm going to need both
MODIFY lang/en_utf8/xmldb.php   Rev. 1.33    (+2 -2 lines)
MODIFY admin/xmldb/actions/main_view/main_view.class.php   Rev. 1.19    (+2 -2 lines)
martignoni committed 1 file to 'Lang CVS' - 29/May/09 07:14 PM
MDL-19305 New lang string
MODIFY fr_utf8/xmldb.php   Rev. 1.38    (+2 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 29/May/09 07:15 PM
MDL-19305 renaming string
MODIFY fr_utf8/xmldb.php   Rev. 1.39    (+2 -2 lines)
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 02/Jun/09 07:10 AM
MDL-19305 MDL-9176 Translated new strings for xmldb editor.
Brushed up a translated string for error messages.
MODIFY ja_utf8/xmldb.php   Rev. 1.30    (+4 -0 lines)
MODIFY ja_utf8/README   Rev. 1.1006    (+1 -1 lines)
MODIFY ja_utf8/error.php   Rev. 1.139    (+2 -2 lines)