Issue Details (XML | Word | Printable)

Key: MDL-17237
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Eloy Lafuente (stronk7)
Reporter: Dean Thayer
Votes: 7
Watchers: 5
Operations

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

Can't edit a wiki with a # (hash, number sign, pound sign) in it's name.

Created: 15/Nov/08 12:20 AM   Updated: 14/Jul/09 04:23 AM
Return to search
Component/s: Wiki (1.x)
Affects Version/s: 1.9.2
Fix Version/s: None

Issue Links:
Relates
 

Participants: Charles Fulton, Dean Thayer, Eloy Lafuente (stronk7), Kenneth Newquist and Paul Grzesina
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
If a wiki is created with a # in its name, the edit tab will truncate the pagename at the #. Then it will commit the edits to the wiki_pages table with the incorrect pagename. Thus, the edits will be reflected in the edit tab, and in the view tab after an edit has been performed, but they will never make it to the main entry displayed by view.php. The truncated pagename field results in abandoned records in the database because there is no way to relate the wiki id to the truncated pagename. Have only confirmed this on 1.9.2, but I suspect it is in 1.9.3 and prior.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dean Thayer made changes - 15/Nov/08 12:25 AM
Field Original Value New Value
Link This issue has a non-specific relationship to MDL-3926 [ MDL-3926 ]
Dean Thayer made changes - 15/Nov/08 12:28 AM
Link This issue has a non-specific relationship to MDL-1887 [ MDL-1887 ]
Dean Thayer made changes - 15/Nov/08 12:32 AM
Description If a wiki is created with a # in its name, the edit tab will truncate the pagename at the #. Then it will commit the edits to the wiki_entries table with the incorrect pagename. Thus, the edits will be reflected in the edit tab, and in the view tab after an edit has been performed, but they will never make it to the main entry displayed by view.php. The truncated pagename field results in abandoned records in the database because there is no way to relate the wiki id to the truncated pagename. Have only confirmed this on 1.9.2, but I suspect it is in 1.9.3 and prior.

Seems related to MDL-3926
If a wiki is created with a # in its name, the edit tab will truncate the pagename at the #. Then it will commit the edits to the wiki_pages table with the incorrect pagename. Thus, the edits will be reflected in the edit tab, and in the view tab after an edit has been performed, but they will never make it to the main entry displayed by view.php. The truncated pagename field results in abandoned records in the database because there is no way to relate the wiki id to the truncated pagename. Have only confirmed this on 1.9.2, but I suspect it is in 1.9.3 and prior.