|
I am having this same problem on a brand new fresh install of 1.8.3+.
I have been unable to save the text.... and further there is no way to be sure of what text anyone will see when they visit the site as the wiki appears to randomly pick if it will show the old text or the new text. But one thing for sure, it is biased towards showing the older text. I cannot edit the pages. I cannot make any more progress with the wiki. Are you running Moodle default wiki or NWiki?
We are running 1.8.1 and are having this same issue. Can create an initial wiki entry, and when you go to edit and then save, it goes back to the original and does not show the new edit.
Is there any update on this issue? Assigning this to Sam...
Sam... plz, reasign this to me if I'm wrong... but I remember vaguely this (locking) was introduced by you. Any insight ? I don't think this is mine. I think even before the lock table, there was an existing message that causes an error if you update a page which somebody else had already saved in the meantime.
The locks table may prevent you from editing a page (giving you a somebody-else-is-editing-it message instead) but it doesn't have any effect once you actually get in to edit. As far as I can tell from the code, the only message that a lock failure can generate when you try to save the page is $string['savenolock']. The user who reported the error message didn't give the exact copy/paste of the error, only some approximation of the words, which wasn't very helpful. (Well, maybe they were using another language.) However I'm pretty sure they meant $string['errversionsave']: 'Sorry, while you edited this page someone else did already save a changed version. Please go back to the previous screen and copy your changes to your computers clipboard to insert it again after you reload the edit screen.' (The mdl_wiki_locks table is mine, but if the 'structure of the index' is somehow broken, as one comment mentioned, then that sounds like a bug for MySQL not moodle's problem at all?!) Hi Sam, thanks for the feedback... was trying to eliminate possibilities. I'll perform some tests here.
Ciao I'm seeing similar behavior in a course wiki under Moodle 1.9.x. I'm not getting any on-screen errors, but the home page of the wiki is not being updated with the latest version; instead it is stuck two versions earlier. If I edit the home page, it pulls up the most current revision for editing. When I save the wiki page, it takes me to the page for that revision, which displays my text correctly. However, when I return to the wiki home page, it still shows the older text.
I am able to recreate this bug within the problem wiki, but I have not been able to recreate it in any other course's wiki. The wiki is using groups. I believe there may be two separate issues here; one involving the locking behavior, and another with the wiki truncating any page with a pound (#) sign in it, as reported in this tracker:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Also, I suspect it might be connected to the fact that I update the wiki from 2 different machines. So far I had no problem on the machine where I originally created the pages; problems seem restricted to the other machine (although they do not always occur. Nice).