Forums / Install & configuration / eZP 4.2 : functioning of /content/browse, /content/copy, /content/pdf

eZP 4.2 : functioning of /content/browse, /content/copy, /content/pdf

Author Message

Pascal France

Saturday 10 April 2010 12:56:01 pm

Hi,

I have some difficulties to understand how these rules work :

Rules[]
Rules[]=access;disable
Rules[]=module;content/copy
Rules[]=module;content/browse
Rules[]=module;content/pdf

I expected that the usage of copy, browe and copy be prohibited.

In fact, I get these behaviors:

http://mysite.fr/content/copy => Erreur / kernel (3)

http://mysite.fr/content/pdf => the navigator asks me if I want to download or open the pdf file.

http://mysite.fr/content/browse => I get this error message (idem with eZP 4.3.0 - Kernel error 22 with eZP 3.10):

Fatal error: Call to a member function attribute() on a non-object in /home/solexine/public_html/kernel/content/browse.php on line 220
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

Personally, it seems to me that I should obtain 3 times the error kerl 3. No?

Thinks for your light,

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Nicolas Pastorino

Monday 12 April 2010 2:24:32 am

Hi Pascal,

this inconsistency is strange indeed. Is there any possibly conflicting rule, like 'PolicyOmitList' ?

Let us know,
Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Pascal France

Wednesday 14 April 2010 1:49:37 pm

Hi Nicolas ;-)

Well. I don't understand these behaviors. Especially the error returned by content/browse.
I did tests with a from scratch 4.3.0 and I get same results.

Maybe I misunderstand these rules.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Nicolas Pastorino

Friday 16 April 2010 1:04:29 am

I agree with you here.
If i were you, i would report this as a bug/enhancement request here : http://issues.ez.no/ezpublish

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye