Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-78) was last changed on 26-Sep-2007 11:46 by HarryMetske  

This page was created on 30-Jan-2003 05:30 by JohnVolkar

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed 2 lines
!!!Vandalism
So, some __''loser''__ who used the name "Eric" from ip: {{63.171.93.41}} vandalized the Main page and a few others. Oh well, it's a public wiki, I guess he didn't "get it", but if I every get opportunity to meet him <grr/>.
AutoBackEditPatch
At line 4 removed 2 lines
;:''Yeah. In a public Wiki, it's hard to keep these guys out. Of course, usually not even the thickest morons bother to do it several times, since it is too easy, and too many people can fix the damages too easily. But if it continues, we can always do IP banning. --[JanneJalkanen]''
At line 7 removed 24 lines
!!!Question
Anyone notice that "spurrious" edit conflicts seem to occur more frequently with the 2.0.36? If I edit a page, save it, edit it, change a character, save it, edit it, ... Let me try to repeat it here, maybe? Guess not.
* Ahh, that did it! And I did nothing but a clear, legal sequence of edits... Hmm... WTF?
* I wonder if it's possible to have the edit conflict page show the "other" version's number and the editor's name (for information)?
* I wonder... Is it a load thing? The servlet container maybe has multiple instances of the edit servlet, and each "fast edit" is handled by a "different" instance? Maybe thus causing the conflict? Smells like a possible synchronization issue...
* I wonder if a unit test could be contrived? Hmm...
;:''Do you mean "user XXX is editing this page", or do you get real hits to PageModified.jsp? --[JanneJalkanen]''
Ummm, I mean I get hit with the ConflictContent page ("Oops! Someone modified the page while you were editing it!"). This is fairly easy to reproduce, goto the TestConflictContentPage and try the steps listed there.
;: Oh hell, I figured out what I was doing to cause this. First off I wasn't paying close enough attention, secondly, when doing a "fast" set of edits I tend to edit & preview alot with periodic incremental saves. Since to go from preview back into edit you have to hit the "back button" (backspace), I sometimes would save the page and instead of hitting the "edit" link to resume editing, I would go "back" to the "old" edit page that was in the browser history, since it had the "right" content in it I was didn't notice how I got there (inadvertant use of the back button) and would edit, preview, edit, preview, and when I saved, I got hit with the ConflictContent page. <sigh/> Sorry Janne for the false alarm here.
__WISH:__ Man but it would be nice to keep the "Edit" pages out of the browsers history so you __could ''not''__ inadvertantly backtrack into one. I got some "novice" & "sloppy" users here who are going to get hammered by this sort of thing. Maybe [http://developer.irt.org/script/244.htm]???
__THOUGHTS?__ To meet my wish above, I've done the following in ~EditTemplate.jsp:
# Added {{onSubmit="if(doAutoBack) window.history.go(-1);" }} to the FORM
# To the Save and Cancel submit buttons, added: {{onClick="doAutoBack=true;"}}
# To the Preview submit button, added: {{onClick="doAutoBack=false;"}}
This seems to have the effect I wanted of keeping the edit page out of the history (sorta). Thoughts?
----
Version Date Modified Size Author Changes ... Change note
78 26-Sep-2007 11:46 1.964 kB HarryMetske to previous removed dirt
77 26-Sep-2007 07:50 2.002 kB 192.115.104.88 to previous | to last
76 26-Sep-2007 02:49 1.988 kB 203.69.39.251 to previous | to last
75 26-Sep-2007 02:49 1.978 kB 203.69.39.251 to previous | to last
74 02-Sep-2005 04:58 1.964 kB JohnVolkar to previous | to last
73 14-Jul-2005 20:00 0.002 kB JohnVolkar to previous | to last
72 14-Jul-2005 19:59 1.803 kB JohnVolkar to previous | to last
71 06-Mar-2005 14:59 1.753 kB JohnVolkar to previous | to last
70 26-Feb-2005 04:58 1.434 kB JohnVolkar to previous | to last
69 06-Jan-2005 14:37 0.823 kB JohnVolkar to previous | to last
68 15-Oct-2004 14:08 0.814 kB JohnVolkar to previous | to last
67 19-Sep-2004 14:38 0.768 kB JohnVolkar to previous | to last
66 10-Mar-2004 14:30 0.703 kB JohnVolkar to previous | to last
65 10-Mar-2004 04:52 0.064 kB 203.162.175.165 to previous | to last
64 08-Mar-2004 17:00 0.703 kB JohnVolkar to previous | to last
63 06-Mar-2004 20:16 0.62 kB JohnVolkar to previous | to last
62 06-Mar-2004 20:12 1.351 kB JohnVolkar to previous | to last
61 06-Mar-2004 17:57 1.958 kB JohnVolkar to previous | to last
« This page (revision-78) was last changed on 26-Sep-2007 11:46 by HarryMetske