collective / collective.explicitacquisition

Disallow access to acquired content outside the current path
https://pypi.python.org/pypi/collective.explicitacquisition
1 stars 1 forks source link

Context for 404 Site is the wrong portal #1

Open frisi opened 9 years ago

frisi commented 9 years ago

great package - first of all!

the 404 site of my subportal is displayed in the theme of the mainportal

setup:

when i access subportal.com/contact - thanks to explicitacquisition i get a 404 error page.

unfortunately this error page is shown the layout of plone.com. you can also see this on the body classes: instead of site-sub it is set to site-plone

any ideas how this can be solved?

mamico commented 9 years ago

Hi @frisi could you make a try using https://github.com/collective/experimental.noacquisition? The exception will be raised during traversing so I think could be right for you.

ginetsl commented 7 years ago

I was having the same issue as frisi, so I decided to give experimental.noacquisition a try. It certainly solves this issue (yay!) but I ran into another problem with experimental.noacquisition that made it unusable for me: it blocks access to the diazo theme.

I would have opened the issue in the experimental.noacquisition Issues section, but there is no such a thing there. I can give more details but maybe this is not the right place?

Thanks,

Ginet

mamico commented 7 years ago

Hi @ginetsl I don't know the cause of missing "issues" on collective/experimental.noacquisition (I will ask to collective's folks). Please open the issue here https://github.com/mamico/experimental.noacquisition/issues with all the info that can help (plone version, diazo version, stack trace, ...).

ginetsl commented 7 years ago

Thank you Mauro! I just submitted the issue. English is not my first language so I apologize if I wasn't clear enough. I can provide more details if needed!

Thanks again,

Ginet

On Mon, Nov 7, 2016 at 12:46 PM, Mauro Amico notifications@github.com wrote:

Hi @ginetsl https://github.com/ginetsl I don't know the cause of missing "issues" on collective/experimental.noacquisition (I will ask to collective's folks). Please open the issue here https://github.com/mamico/ experimental.noacquisition/issues with all the info that can help (plone version, diazo version, stack trace, ...).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/collective/collective.explicitacquisition/issues/1#issuecomment-258907535, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_T0iQcusberU0p3CrDiJFhIQROtUGKks5q72QBgaJpZM4CpeWq .

thet commented 7 years ago

I added the "issues" feature on: https://github.com/collective/experimental.noacquisition