Hide Forgot
[13:52] <misty> When I "Refresh HTML" skynet seems to be reverting changes I made to the actual XML [13:52] <misty> topic 5398 [13:52] <misty> I have changed the title and the <formlpara> and </formlpara> tags twice now, and when I Refresh HTML, they revert [14:15] <mcasperson> misty - i think i know what that is. submit a bug and i'll take a look
Fixed in 20111107-1246 This was caused by a database race condition: 1. the user edits and saves a topic 2. the saved topic starts a thread to refresh the html view 3. the thread gets a copy of the current topic (possibly with old data depending on whether the XSL transforms had been processed or not) 4. the topic is saved with the changes made by the user 5. the thread renders the HTML, and saves again with the old data The end result is that it appears that changes to the topic are not saved. However. no data has been lost - the edits made by the user are available under the topic history. Any topics that have been affected can simply copy the XML from the historical version and paste it into the latest version. The code has been changed so that a background thread will only save the rendered HTML code, and not affect any other fields on the topic. This way the only issue that may arise from the background HTML rendering threads saving a topic entity before the original entity has been update is that an outdated HTML view being saved.