Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

VHM missing 'mappings' tab in Safari 4 - just me?

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


wsfulmer at gmail

Jun 18, 2009, 8:50 PM

Post #1 of 7 (814 views)
Permalink
VHM missing 'mappings' tab in Safari 4 - just me?

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[at]gmail.com>


_______________________________________________
Zope maillist - Zope[at]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 )


tseaver at palladion

Jun 18, 2009, 9:12 PM

Post #2 of 7 (771 views)
Permalink
Re: VHM missing 'mappings' tab in Safari 4 - just me? [In reply to]

-----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[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKOxAp+gerLs4ltQ4RAheKAKCpUeSoSYdAb0erEYSTG/AfHKSSlwCdGwbD
XrsPvBopfYwckucCbKTijJI=
=tDpR
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist - Zope[at]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 )


wsfulmer at gmail

Jun 19, 2009, 7:10 AM

Post #3 of 7 (766 views)
Permalink
Re: VHM missing 'mappings' tab in Safari 4 - just me? [In reply to]

Tres Seaver <tseaver[at]...> 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


_______________________________________________
Zope maillist - Zope[at]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 )


tseaver at palladion

Jun 19, 2009, 9:14 AM

Post #4 of 7 (767 views)
Permalink
Re: VHM missing 'mappings' tab in Safari 4 - just me? [In reply to]

-----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[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKO7l/+gerLs4ltQ4RAs56AKDPn1U/Gxi5d1Uy994ocRrAEKzn1QCfaO8e
a8kxbOSU2CcSFrIn+00A6Dw=
=Bj83
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist - Zope[at]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 )


tseaver at palladion

Jun 19, 2009, 9:20 AM

Post #5 of 7 (768 views)
Permalink
Re: VHM missing 'mappings' tab in Safari 4 - just me? [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sean Fulmer wrote:
> Tres Seaver <tseaver[at]...> 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[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKO7rB+gerLs4ltQ4RAkTBAJ98g6phmFdppB9YHzW2eeMTAooNXQCgr8b5
bA8VSNvOeuveDhUgSiW7N0c=
=5B6h
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist - Zope[at]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 )


wsfulmer at gmail

Jun 19, 2009, 11:45 AM

Post #6 of 7 (761 views)
Permalink
Re: VHM missing 'mappings' tab in Safari 4 - just me? [In reply to]

Tres Seaver <tseaver[at]...> 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[at]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 )


marco.bizzarri at gmail

Jun 19, 2009, 11:47 AM

Post #7 of 7 (767 views)
Permalink
Re: VHM missing 'mappings' tab in Safari 4 - just me? [In reply to]

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[at]gmail.com> wrote:

> Tres Seaver <tseaver[at]...> 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[at]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 )
>



--
Marco Bizzarri
http://code.google.com/p/qt-asterisk/
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.