[Zope-dev] 2.3.0 release badness
richard@bizarsoftware.com.au
richard@bizarsoftware.com.au
Mon, 29 Jan 2001 17:55:20 +1100
This is a multi-part message in MIME format.
--------------F1F4CF9CD0D0AF0E5520717B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I've just updated to 2.3.0 release using CVS. My CSS serving has
subsequently broken. The CSS serving worked fine with the CVS code from
2.3.0b2. I didn't get to check b3 - we had a public holiday on Friday and
that meant that the one working day assigned to the b3 release was lost to
me (and _most_ other Australians). Anyway, that's a separate issue ...
I've done a diff against the CVS as of last Tuesday, but I can't see an
obvious place where the Zope code has changed to make the CSS serving fail.
Under Netscape (versions 4.72 -> 4.75), a 'back button' request results in
a truncated plain-text display of the CSS that is linked from the page. The
zope server log shows the request as being successfully served. I telnet'ed
to the server and requested the CSS manually, and the headers all look
fine. A packet sniffer seems to say that all is well.
Now for the fun: this only happens for local requests - someone requesting
the same pages over the ethernet will get them fine. Only Netscape and only
locally. Konqueror locally works fine.
The CSS is being served using the attached class.
Some further experimentation:
1. load the same page five times as follows:
http://mymachine:8080/blah/
http://127.0.0.1:8080/blah/
http://127.0.0.2:8080/blah/
http://10.0.0.20:8080/blah/
http://127.0.0.3:8080/blah/
2. starting from either end of those URLs in the browser history, hit the
'forward' button or 'back' button four times to get to the other end.
3. note that the first hit of 'forward' or 'back' (and sometimes other hits
too) the CSS is served as plain text
Of course, embedding the style in the page (a-la the Zope management
interface) gets around this problem, but this is not an option for us.
Again, this was not a problem pre 2.3.0 b3 / release...
Richard
--
Richard Jones
richard@bizarsoftware.com.au
Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)
--------------F1F4CF9CD0D0AF0E5520717B
Content-Type: application/octet-stream;
name="CSSFile.py"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="CSSFile.py"
aW1wb3J0IG9zCmZyb20gQXBwIGltcG9ydCBDb21tb24KaW1wb3J0IERvY3VtZW50VGVtcGxh
dGUsIE1ldGhvZE9iamVjdAppbXBvcnQgR2xvYmFscwoKY2xhc3MgQ1NTRmlsZShEb2N1bWVu
dFRlbXBsYXRlLkhUTUxGaWxlLE1ldGhvZE9iamVjdC5NZXRob2QsKToKICAgICJQZXJzaXN0
ZW50IENTUyBEb2N1bWVudCBUZW1wbGF0ZXMgcmVhZCBmcm9tIGZpbGVzIgogICAgX25lZWRf
X25hbWVfXz0xCiAgICBfdl9sYXN0X3JlYWQ9MAoKICAgIGRlZiBfX2luaXRfXyhzZWxmLG5h
bWUsX3ByZWZpeD1Ob25lLCAqKmt3KToKICAgICAgICBpZiBfcHJlZml4IGlzIE5vbmU6IF9w
cmVmaXg9U09GVFdBUkVfSE9NRQogICAgICAgIGVsaWYgdHlwZShfcHJlZml4KSBpcyBub3Qg
dHlwZSgnJyk6CiAgICAgICAgICAgIF9wcmVmaXg9Q29tbW9uLnBhY2thZ2VfaG9tZShfcHJl
Zml4KQogICAgICAgIGFyZ3M9KHNlbGYsIG9zLnBhdGguam9pbihfcHJlZml4LCBuYW1lKSkK
ICAgICAgICBpZiBub3Qga3cuaGFzX2tleSgnX19uYW1lX18nKToKICAgICAgICAgICAga3db
J19fbmFtZV9fJ109b3MucGF0aC5zcGxpdChuYW1lKVstMV0KICAgICAgICBhcHBseShDU1NG
aWxlLmluaGVyaXRlZEF0dHJpYnV0ZSgnX19pbml0X18nKSxhcmdzLGt3KQoKICAgIGRlZiBf
Y29va19jaGVjayhzZWxmKToKICAgICAgICBpZiBHbG9iYWxzLkRldmVsb3BtZW50TW9kZToK
ICAgICAgICAgICAgX190cmFjZWJhY2tfaW5mb19fPXNlbGYucmF3CiAgICAgICAgICAgIHRy
eTogICAgbXRpbWU9b3Muc3RhdChzZWxmLnJhdylbOF0KICAgICAgICAgICAgZXhjZXB0OiBt
dGltZT0wCiAgICAgICAgICAgIGlmIG10aW1lICE9IHNlbGYuX3ZfbGFzdF9yZWFkOgogICAg
ICAgICAgICAgICAgc2VsZi5jb29rKCkKICAgICAgICAgICAgICAgIHNlbGYuX3ZfbGFzdF9y
ZWFkPW10aW1lCiAgICAgICAgZWxpZiBub3QgaGFzYXR0cihzZWxmLCdfdl9jb29rZWQnKToK
ICAgICAgICAgICAgdHJ5OiBjaGFuZ2VkPXNlbGYuX19jaGFuZ2VkX18oKQogICAgICAgICAg
ICBleGNlcHQ6IGNoYW5nZWQ9MQogICAgICAgICAgICBzZWxmLmNvb2soKQogICAgICAgICAg
ICBpZiBub3QgY2hhbmdlZDogc2VsZi5fX2NoYW5nZWRfXygwKQoKICAgIGRlZiBfX2NhbGxf
XyhzZWxmLCBvYmplY3QsIFJFUVVFU1QpOgogICAgICAgIHNlbGYuX2Nvb2tfY2hlY2soKQog
ICAgICAgIFJFUVVFU1QuUkVTUE9OU0Uuc2V0SGVhZGVyKCdDb250ZW50LVR5cGUnLCAndGV4
dC9jc3MnKQogICAgICAgIHJldHVybiBDU1NGaWxlLmluaGVyaXRlZEF0dHJpYnV0ZSgnX19j
YWxsX18nKShzZWxmLCBvYmplY3QsIFJFUVVFU1QpCgo=
--------------F1F4CF9CD0D0AF0E5520717B--