Introduction

I have been trying to reproduce the MoinMoinBugs/CannotUpdateCreateDrawings bug. I have installed a fresh copy of Windows XP SP2. I have installed MS Java and tested the bug with different browsers (IE, Firefox, Opera). Then I have installed Sun Java and repeated my tests. You can see the results in the table below.

I could not test Firefox/Opera with MS Java, because only IE actually works with this Java.

MS Java: Microsoft VM build 3805

Sun Java: Sun JRE 6 update 3

Results

{1}

The .png doesn't get updated if MSIE 6(7)/MS Java combination is used. This means that I could reproduce the original bug. It seems that this bug is caused by MS Java.

{2}

There's another kind of this bug. The .png gets updated, but the updated image is not displayed. The updated image can be seen after reloading the page (F5). It seems that some browsers don't reload the page and use the cached image instead. All tested browsers have this bug (feature?).

Here are the results:

Browser

Java

Bug type

MSIE 6

MS

{1}

MSIE 6

Sun

{2}

MSIE 7

MS

{1}

MSIE 7

Sun

{2}

Firefox 2

Sun

{2}

Opera 9

Sun

{2}

There is a workaround for {2} (untested). You would have to add some HTML meta-tags.

{i} Note that MS Java is supported only until December 31, 2007, so only Sun's Java should be used now.

I have found another problem: the string "java" is added to multiconfig.py->DefaultConfig class->spiders list. All browsers on windows with Sun Java installed are sending the user-agent string that contains "Java", so requests to save drawing are forbidden (error 403). I had to manually remove "java" from that list to get it working.

Summary

I could reproduce the original bug with MSIE and MS Java combination. I could not test any other browsers than IE with MS Java though, because Microsoft's Java works with Internet Explorer only. All browsers with Sun Java can save the drawing perfectly, but the image still doesn't get updated and the cached (the old one) image is used instead.

MoinMoin: ErnestasLiubarskij/CannotUpdateCreateDrawingsBug (last edited 2007-12-29 18:43:30 by ErnestasLiubarskij)