You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (Commented) (JIRA)" <ji...@apache.org> on 2011/10/03 21:10:34 UTC
[jira] [Commented] (OFBIZ-4206) Project Manager throws error if
project user is not assigned to every project
[ https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119510#comment-13119510 ]
Jacques Le Roux commented on OFBIZ-4206:
----------------------------------------
{quote} (Pierre Smits on dev ML)
Hi Mansour,
You are right. The patch indeed does that and returns a blank screen for
users other than with access 'PROJECTMGR_ADMIN. Other users can look at
projects which will show projects the user is a member of.
At the moment I do not have the time to work on a more elaborate solution.
The patch is just a quick fix...
Regards,
Pierre
{quote}
> Project Manager throws error if project user is not assigned to every project
> -----------------------------------------------------------------------------
>
> Key: OFBIZ-4206
> URL: https://issues.apache.org/jira/browse/OFBIZ-4206
> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/projectmgr
> Affects Versions: Release 09.04
> Environment: RHEL 5.5 32 bit JDK
> Reporter: Tolulope Aganga-Williams
> Priority: Minor
> Labels: patch
> Attachments: ofbiz-trunk-projectmgr-commonscreens-20110722.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> The project manager returns an error on the main page unless every user is added to every single project. It should return a list of just the projects the user is assigned to.
> :ERROR MESSAGE:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040 (Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040)
> It defeats the point.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Commented] (OFBIZ-4206) Project Manager throws error if
project user is not assigned to every project
Posted by Pierre Smits <pi...@gmail.com>.
Hi Jacques,
Thank you for putting my comment in the JIRA. My apologies for not thinking
about that. Will try to remember that the next time.
Regards,
Pierre
2011/10/3 Jacques Le Roux (Commented) (JIRA) <ji...@apache.org>
>
> [
> https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119510#comment-13119510]
>
> Jacques Le Roux commented on OFBIZ-4206:
> ----------------------------------------
>
> {quote} (Pierre Smits on dev ML)
> Hi Mansour,
>
> You are right. The patch indeed does that and returns a blank screen for
> users other than with access 'PROJECTMGR_ADMIN. Other users can look at
> projects which will show projects the user is a member of.
>
> At the moment I do not have the time to work on a more elaborate solution.
> The patch is just a quick fix...
>
> Regards,
>
> Pierre
> {quote}
>
> > Project Manager throws error if project user is not assigned to every
> project
> >
> -----------------------------------------------------------------------------
> >
> > Key: OFBIZ-4206
> > URL: https://issues.apache.org/jira/browse/OFBIZ-4206
> > Project: OFBiz
> > Issue Type: Bug
> > Components: specialpurpose/projectmgr
> > Affects Versions: Release 09.04
> > Environment: RHEL 5.5 32 bit JDK
> > Reporter: Tolulope Aganga-Williams
> > Priority: Minor
> > Labels: patch
> > Attachments: ofbiz-trunk-projectmgr-commonscreens-20110722.patch
> >
> > Original Estimate: 24h
> > Remaining Estimate: 24h
> >
> > The project manager returns an error on the main page unless every user
> is added to every single project. It should return a list of just the
> projects the user is assigned to.
> > :ERROR MESSAGE:
> > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> java.lang.IllegalArgumentException: Error running Groovy script at location
> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]:
> org.ofbiz.service.ServiceAuthException: You have no access to the project#:
> 10040 (Error running Groovy script at location
> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]:
> org.ofbiz.service.ServiceAuthException: You have no access to the project#:
> 10040)
> > It defeats the point.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>