Ticket #13053 (confirmed Bug)

Opened 4 years ago

Last modified 4 years ago

plone.app.layout does not work correctly with virtualhostmonster

Reported by: ruddo Owned by: admins@…
Priority: minor Milestone: 4.x
Component: Backend (Python) Version: 4.1
Keywords: VHM, searchbox Cc:

Description

On my site (URL  http://declinefm.com/archives/ ) I see this:

<input id="searchbox_currentfolder_only" class="noborder" type="checkbox" name="path" value="/declinefm.com/declinefm.com/archives" />

inside the portal-searchbox viewlet:

 https://github.com/plone/plone.app.layout/blob/master/plone/app/layout/viewlets/searchbox.pt#L39

look at the value of the input. It includes not one, but two references to the site object (called declinefm.com).

The Virtual Host Monster URL used to access this page was:

/VirtualHostBase/http/declinefm.com/declinefm.com/declinefm.com/VirtualHostRoot/archives

(reason for this URL being the actual object path for the plone site inside the ZODB is /declinefm.com/declinefm.com , and the hostname presented to the VHM is declinefm.com)

This leads me to believe that the URL generation for the sectiononly parameter does not take virtualhostmonster into account, when it should.

All other URLs on the site are, mysteriously, correct (which would not make sense if my VHM URL was misconfigured).

Change History

comment:1 Changed 4 years ago by ruddo

  • Owner set to admins@…
  • Component changed from Unknown to Sysadmin and Development Infrastructure

plone version 4.1.5

comment:2 Changed 4 years ago by ruddo

  • Component changed from Sysadmin and Development Infrastructure to Unknown

comment:3 Changed 4 years ago by kleist

  • Keywords VHM, searchbox added; VHMsearchbox removed
  • Status changed from new to confirmed
  • Component changed from Unknown to Backend (Python)
Note: See TracTickets for help on using tickets.