[opencms-dev] Update from OpenCMS 6 to version 7.0.2

nguyen cong quang quang.nguyencong at gmail.com
Wed Dec 12 12:26:46 CET 2007


Hi,
Thanks for your support, i have fix that bug
in /system/modules/com.bp.pensionline.template/elements/sidebar.jsp  replace
  if (pageTitle . equals(title)) {   to  if (pageTitle != null && pageTitle
. equals(title)) {
 it the problem of session, i think the best way is to run only in IE and
for each page we should open a new window (do not use tab)
Regards,


On Dec 12, 2007 4:35 PM, Alessio Zurleni <azurleni at heptra.com> wrote:

>  Nguyen,
>
> what kind of page is index.html (jsp, html) ? Obviously,  a  exception
> occurs involving role violation. Can you give me more details ? (code,
> permissions, etc.)
>
> Regards,
>
> Alessio
>
>
> nguyen cong quang wrote:
>
> Hi Alession,
> Thanks for your reply.But what i mean is that:
> - For example you are the guest, and you just want to *view* the client
> page and do not want to access workplace.By enter just follow:
> http://localhost:8080/opencms7_0_2/opencms/index.html
>
> then it display error in web brownser:
>  A server error occured! Server error 500 Internal Server Error
>
> The server encountered an unexpected condition which prevented it from
> fulfilling the request.
>
> The server cannot complete the request because it encountered an error.
>
> Please try it again in a few minutes, or contact the server administrator.
>
>  and in console of Jboss it displays error as i wrote in previous letter.
> - How can a normal user view the client page???
>
> On Dec 12, 2007 2:46 PM, Alessio Zurleni <azurleni at heptra.com> wrote:
>
> > Nguyen,
> >
> > this is a normal behavior because guests users (and all users who
> > haven't workplace user role) cannot log into opencms workplace. If you log
> > as admin you keep admin session for all instances of browser (especially
> > with firefox). Now the question is, which kind of privileges your page
> > requires, normally this kind of exceptions arise when you try to access the
> > workplace space.
> >
> > Regards,
> >
> > Alessio Zurleni
> >
> > nguyen cong quang wrote:
> >
> >  hi,
> > After updating, i run to the client page as a guest (did not log in as
> > Admin to workplace) it display following error:
> >
> > Caused by: org.opencms.security.CmsRoleViolationException: The user
> > "Guest" does
> >  not have access to the required "Workplace user" role.
> >         at org.opencms.security.CmsRole.createRoleViolationException(
> > CmsRole.jav
> > a:358)
> >         at org.opencms.db.CmsSecurityManager.checkRole (
> > CmsSecurityManager.java:5
> > 29)
> >         at org.opencms.db.CmsSecurityManager.checkRole(
> > CmsSecurityManager.java:5
> > 49)
> >         at org.opencms.security.CmsRoleManager.checkRole(
> > CmsRoleManager.java:98)
> >
> >         at org.opencms.workplace.CmsWorkplace.checkRole(
> > CmsWorkplace.java:1821)
> >         at org.opencms.workplace.CmsWorkplace.initWorkplaceMembers
> > (CmsWorkplace.
> > java:1920)
> >
> > - But if i log in as admin first, and then run the client page
> > seperately (not from the workplace), it display Ok
> > thanks for reading
> >
> > ------------------------------
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please visithttp://lists.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
>
> ------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visithttp://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20071212/04cb75f3/attachment.html>


More information about the opencms-dev mailing list