AW: [opencms-dev] (6b3) Confusing exception description

Kai Schliemann k.schliemann at comundus.com
Fri May 13 18:16:57 CEST 2005


Hi Bernd, hi list,

you can configure the context menu for each resource type in the file
"webapps/webappname/web-inf/config/opencms-workplace.xml"

Regards

Kai Schliemann
IT-Consultant

Besuchen Sie uns auf dem LinuxTag.
22. - 25. Juni 2005, Messe Karlsruhe, Stand C105.

_______________________________________________________

comundus IT-Beratung GmbH
Schüttelgrabenring 3, 71332 Waiblingen

Tel:  +49 (0) 71 51-5 00 28-0   Fax: -99

www.comundus.com    www.comundus-e-quality.com
_______________________________________________________




-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Bernd Wolfsegger
Gesendet: Freitag, 13. Mai 2005 17:26
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] (6b3) Confusing exception description


Yeah, or to disable the edit entry at all, because it is not possible to
edit
something with that permissions set.

On Friday 13 May 2005 17:05, Jorge Gonzalez wrote:
> Hi list:
>
> Scenario: User clicks on "edit" xmlcontent
>
> The exception:
>
> ----
> java.lang.NullPointerException
> 	at
>
org.opencms.workplace.editors.CmsXmlContentEditor.initElementLanguage(CmsXm
>l ContentEditor.java:802)
> 	at
>
org.opencms.workplace.editors.CmsXmlContentEditor.initWorkplaceRequestValue
>s (CmsXmlContentEditor.java:937)
> 	at
>
org.opencms.workplace.CmsWorkplace.initWorkplaceMembers(CmsWorkplace.java:1
>6 55)
> 	at org.opencms.workplace.CmsWorkplace.<init>(CmsWorkplace.java:165)
> 	at
org.opencms.workplace.tools.CmsToolDialog.<init>(CmsToolDialog.java:73)
> 	at org.opencms.workplace.CmsDialog.<init>(CmsDialog.java:176)
> 	at org.opencms.workplace.editors.CmsEditor.<init>(CmsEditor.java:175)
> 	at
>
org.opencms.workplace.editors.CmsXmlContentEditor.<init>(CmsXmlContentEdito
>r .java:150)
> ----
>
> Is thrown when the user has read and view permission BUT doesn't have
write
> one.
> Looking into opencms.log
>
> ...required permissions are +w [Code 303 - N...
>
> It would be nice to let the user view the content editor in "READ ONLY"
> mode, or raise an exception, but more accurate.
>
> Thanks.
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list