[jira] [Closed] (OFBIZ-4206) Project Manager throws error if project user is not assigned to every project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-4206) Project Manager throws error if project user is not assigned to every project

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4206.
----------------------------------
       Resolution: Fixed
         Assignee: Jacques Le Roux
    Fix Version/s: Upcoming Branch
                   12.04.06
                   14.12.01

Fixed in
trunk r1714415  
R14.12 r1714416
R12.04 r1714417

I added the CommonAsk label to help lambda users better understand the situation (by asking :p)

> 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, Release Branch 12.04, Trunk
>         Environment: RHEL 5.5 32 bit JDK
>            Reporter: Tolulope Aganga-Williams
>            Assignee: Jacques Le Roux
>            Priority: Minor
>              Labels: patch
>             Fix For: 14.12.01, 12.04.06, Upcoming Branch
>
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)