Issue Details (XML | Word | Printable)

Key: MDL-11385
Type: Bug Bug
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

Fix the XMLDB Editor to avoid some default comments...

Created: 21/Sep/07 05:37 PM   Updated: 25/Sep/07 06:29 AM
Component/s: Database SQL/XMLDB
Affects Version/s: 1.9
Fix Version/s: 1.9

Environment: Any

Participants: Eloy Lafuente (stronk7)
Security Level: None
Resolved date: 25/Sep/07
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Avoid default comments for id fields, keys and indexes.

Clean current ones from install.xml files

Ciao :-)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 25/Sep/07 02:26 AM
They are:

"id of the table, please edit me"->within new created install.xml files
"Primary key for XXX"-> within new created install.xml files

"id of the table, please edit me"> within new created tables>id
"primary key of the table, please edit me" >within new created tables>pk

"Default comment for the field, please edit me" when adding a new field
"Default comment for the index, please edit me" when adding a new index
"Default comment for the key, please edit me" when adding a new key

Remove them from the XMLDEditor and from the current install.xml files

Only the table comment will remain with one: "Default comment for the table, please edit me", because it's interesting to add meaningful comments for the table.


Eloy Lafuente (stronk7) added a comment - 25/Sep/07 02:41 AM
XMLDB Editor fixed. Going to iterate over all install.xml destroying those "default" comments.

Eloy Lafuente (stronk7) added a comment - 25/Sep/07 06:29 AM
Done. Now all the default comments above are out.