Hi all - I recently upgraded to Safari 4 on Leopard 10.5.7. Since doing so, my Zopes' VHM objects no longer show me the 'Mappings' (mange_edit) tab. The same thing happens in recent WebKit nightlies.
It does not appear to be a rendering bug - the tab isn't even the markup.
Other browsers I've tried (Firefox 3.0.11, Opera 9.65, Camino 2.0b3) don't exhibit the problem.
I've checked this on Zope 2.8.5 and 2.10.5 with the same result.
I realize this is more of a Safari problem than a Zope problem, but I was just curious if anyone else had run into this, and if so, could suggest a solution.
Thanks,
-- Sean Fulmer wsfulmer@gmail.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Sean Fulmer wrote:
Hi all - I recently upgraded to Safari 4 on Leopard 10.5.7. Since doing so, my Zopes' VHM objects no longer show me the 'Mappings' (mange_edit) tab. The same thing happens in recent WebKit nightlies.
It does not appear to be a rendering bug - the tab isn't even the markup.
Other browsers I've tried (Firefox 3.0.11, Opera 9.65, Camino 2.0b3) don't exhibit the problem.
I've checked this on Zope 2.8.5 and 2.10.5 with the same result.
I realize this is more of a Safari problem than a Zope problem, but I was just curious if anyone else had run into this, and if so, could suggest a solution.
This smells like a permissions problem, and particularly the "Add Site Roots" permission. Is "Site Root" in the ZMI add menu when you use Safari? in Firefox? And are you double-sure that you are logging in with the same credentials in both browsers? To double check, don't let either browser supply the password: type it yourself.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com
Tres Seaver <tseaver@...> writes:
Sean Fulmer wrote:
Hi all - I recently upgraded to Safari 4 on Leopard 10.5.7. Since doing so, my Zopes' VHM objects no longer show me the 'Mappings' (mange_edit) tab. The same thing happens in recent WebKit nightlies.
It does not appear to be a rendering bug - the tab isn't even the markup.
Other browsers I've tried (Firefox 3.0.11, Opera 9.65, Camino 2.0b3) don't exhibit the problem.
I've checked this on Zope 2.8.5 and 2.10.5 with the same result.
I realize this is more of a Safari problem than a Zope problem, but I was just curious if anyone else had run into this, and if so, could suggest a solution.
This smells like a permissions problem, and particularly the "Add Site Roots" permission. Is "Site Root" in the ZMI add menu when you use Safari? in Firefox? And are you double-sure that you are logging in with the same credentials in both browsers? To double check, don't let either browser supply the password: type it yourself.
Thanks for the advice!
I've checked my authentication in both browsers, and they are the same.
SiteRoot does appear in the Add menu in Safari, and I'm able to add one with no complaints from Zope.
I should mention that I have no problems setting my VHM mappings, eg I can manually navigate to http://domain.com/virtual_hosting/manage_edit in Safari 4 and set the mappings. It's just that virtual_hosting/manage_main does not present the link, eg:
manage_main: http://shots.noandwhere.com/vhm_manage_main_missing_mappings_tab.png
When I do go to manage_edit directly, the Mappings tab *does* appear: http://shots.noandwhere.com/vhm_manage_edit_has_mappings.png
Crazy, right?
-- Sean
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Sean Fulmer wrote:
I've checked my authentication in both browsers, and they are the same.
SiteRoot does appear in the Add menu in Safari, and I'm able to add one with no complaints from Zope.
I should mention that I have no problems setting my VHM mappings, eg I can manually navigate to http://domain.com/virtual_hosting/manage_edit in Safari 4 and set the mappings. It's just that virtual_hosting/manage_main does not present the link, eg:
manage_main: http://shots.noandwhere.com/vhm_manage_main_missing_mappings_tab.png
When I do go to manage_edit directly, the Mappings tab *does* appear: http://shots.noandwhere.com/vhm_manage_edit_has_mappings.png
Can you figure out whether Safari4 is avoiding sending credentials for some reason? E.g., add an external method like so:
def show_auth(self, REQUEST): """ Figure out if credentials are present in the request. """ name_pw = REQUEST._authUserPW() if name_pw is None: print 'NO CREDENTIALS' else: print 'Found credentials for user: %s' % name
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com
Tres Seaver <tseaver@...> writes:
Sean Fulmer wrote:
I've checked my authentication in both browsers, and they are the same.
SiteRoot does appear in the Add menu in Safari, and I'm able to add one with no complaints from Zope.
I should mention that I have no problems setting my VHM mappings, eg I can manually navigate to http://domain.com/virtual_hosting/manage_edit in Safari 4 and set the mappings. It's just that virtual_hosting/manage_main does not present the link, eg:
manage_main: http://shots.noandwhere.com/vhm_manage_main_missing_mappings_tab.png
When I do go to manage_edit directly, the Mappings tab *does* appear: http://shots.noandwhere.com/vhm_manage_edit_has_mappings.png
Can you figure out whether Safari4 is avoiding sending credentials for some reason? E.g., add an external method like so:
def show_auth(self, REQUEST): """ Figure out if credentials are present in the request. """ name_pw = REQUEST._authUserPW() if name_pw is None: print 'NO CREDENTIALS' else: print 'Found credentials for user: %s' % name
I think you nailed it - if I use that code in an external method. Safari returns 'NO CREDENTIALS', and other browsers hit the 'else' branch.
Also, see Chris McDonough's report of a similar issue with Safari 3:
http://www.plope.com/Members/chrism/safari_3_discards_basic_auth
That does seem to be related - in fact, I've just found that if I use my ZMI auth credentials to log into the Plone site, the 'Mappings' tab of the VHM starts working again... but the external method still returns 'NO CREDENTIALS' :/
I'm still interested in the "just me?" aspect of this - has anybody else noticed this in Safari 4?
-- Sean
Just a suggestion: did you try to see what happens with wireshark or tcpdump? Looking down the basics, sometimes works...
On Fri, Jun 19, 2009 at 8:45 PM, Sean Fulmer wsfulmer@gmail.com wrote:
Tres Seaver <tseaver@...> writes:
Sean Fulmer wrote:
I've checked my authentication in both browsers, and they are the same.
SiteRoot does appear in the Add menu in Safari, and I'm able to add one with no complaints from Zope.
I should mention that I have no problems setting my VHM mappings, eg I
can
manually navigate to http://domain.com/virtual_hosting/manage_edit in Safari 4 and set the mappings. It's just that
virtual_hosting/manage_main
does not present the link, eg:
manage_main: http://shots.noandwhere.com/vhm_manage_main_missing_mappings_tab.png
When I do go to manage_edit directly, the Mappings tab *does* appear: http://shots.noandwhere.com/vhm_manage_edit_has_mappings.png
Can you figure out whether Safari4 is avoiding sending credentials for
some
reason? E.g., add an external method like so:
def show_auth(self, REQUEST): """ Figure out if credentials are present
in
the request. """ name_pw = REQUEST._authUserPW() if name_pw is None: print 'NO CREDENTIALS' else: print 'Found credentials for user: %s' %
name
I think you nailed it - if I use that code in an external method. Safari returns 'NO CREDENTIALS', and other browsers hit the 'else' branch.
Also, see Chris McDonough's report of a similar issue with Safari 3:
http://www.plope.com/Members/chrism/safari_3_discards_basic_auth
That does seem to be related - in fact, I've just found that if I use my ZMI auth credentials to log into the Plone site, the 'Mappings' tab of the VHM starts working again... but the external method still returns 'NO CREDENTIALS' :/
I'm still interested in the "just me?" aspect of this - has anybody else noticed this in Safari 4?
-- Sean
Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Sean Fulmer wrote:
Tres Seaver <tseaver@...> writes:
Sean Fulmer wrote:
Hi all - I recently upgraded to Safari 4 on Leopard 10.5.7. Since doing so, my Zopes' VHM objects no longer show me the 'Mappings' (mange_edit) tab. The same thing happens in recent WebKit nightlies.
It does not appear to be a rendering bug - the tab isn't even the markup.
Other browsers I've tried (Firefox 3.0.11, Opera 9.65, Camino 2.0b3) don't exhibit the problem.
I've checked this on Zope 2.8.5 and 2.10.5 with the same result.
I realize this is more of a Safari problem than a Zope problem, but I was just curious if anyone else had run into this, and if so, could suggest a solution.
This smells like a permissions problem, and particularly the "Add Site Roots" permission. Is "Site Root" in the ZMI add menu when you use Safari? in Firefox? And are you double-sure that you are logging in with the same credentials in both browsers? To double check, don't let either browser supply the password: type it yourself.
Thanks for the advice!
I've checked my authentication in both browsers, and they are the same.
SiteRoot does appear in the Add menu in Safari, and I'm able to add one with no complaints from Zope.
I should mention that I have no problems setting my VHM mappings, eg I can manually navigate to http://domain.com/virtual_hosting/manage_edit in Safari 4 and set the mappings. It's just that virtual_hosting/manage_main does not present the link, eg:
manage_main: http://shots.noandwhere.com/vhm_manage_main_missing_mappings_tab.png
When I do go to manage_edit directly, the Mappings tab *does* appear: http://shots.noandwhere.com/vhm_manage_edit_has_mappings.png
Crazy, right?
Also, see Chris McDonough's report of a similar issue with Safari 3:
http://www.plope.com/Members/chrism/safari_3_discards_basic_auth
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com