[Plone-Users] xdv: error pages are unskinned

0 views
Skip to first unread message

Markus Raab

unread,
Aug 28, 2009, 8:58:59 AM8/28/09
to plone...@lists.sourceforge.net
Hi Group!

When I visit a page which does not exist on my plone site the error_page is
shown. Unfortunately this paged is not skinned.

I am using plone 3.3 with xdv 1.0rc3.

Why is this page not transformed?
How can I debug which pages are transformed and which not?

Thank you for any help!

best regards
Markus


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
Plone...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users

Martin Aspeli

unread,
Aug 29, 2009, 1:01:02 AM8/29/09
to plone...@lists.sourceforge.net, wichert Akkerman
Markus Raab wrote:
> Hi Group!
>
> When I visit a page which does not exist on my plone site the error_page is
> shown. Unfortunately this paged is not skinned.
>
> I am using plone 3.3 with xdv 1.0rc3.

Correction: you're using collective.xdv 1.0rc3 :)

> Why is this page not transformed?
> How can I debug which pages are transformed and which not?

I suspect plone.postpublicationhook simply doesn't get involved on 404
type responses.

It may be possible to work around this by writing a custom
standard_error_handler view that explicitly invokes the xdv transform on
its output. Otherwise, we may need to fix up plone.postpublicationhook
to handle error responses.

Wichert, any thoughts?

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

Markus Raab

unread,
Sep 3, 2009, 2:51:11 PM9/3/09
to plone...@lists.sourceforge.net
Martin Aspeli wrote:

>> Why is this page not transformed?
>> How can I debug which pages are transformed and which not?
>
> I suspect plone.postpublicationhook simply doesn't get involved on 404
> type responses.

So the problem is known?

best regards
Markus

Martin Aspeli

unread,
Sep 3, 2009, 8:14:34 PM9/3/09
to plone...@lists.sourceforge.net
Markus Raab wrote:
> Martin Aspeli wrote:
>
>>> Why is this page not transformed?
>>> How can I debug which pages are transformed and which not?
>> I suspect plone.postpublicationhook simply doesn't get involved on 404
>> type responses.
>
> So the problem is known?

t'is now. ;)

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

Reply all
Reply to author
Forward
0 new messages