To regenerate this issue on trunk, here are the steps:
Go to Project --> Projects
Click on New Project
Only enter Project Name and click on save button
Close the current project.
The following error is thrown
Proper fix: issue occurred due to use of inappropriate map. Instead of fetching the value of projectId from parameters, its better to get it from context map as its already set at screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749282 13f79535-47bb-0310-9956-ffa450edef68
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks.
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum.
They were totally similar (just revisions number changed) so here is the whole.
I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...
Note: only menus, screen and forms are changed here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1682118 13f79535-47bb-0310-9956-ffa450edef68
Currently the menu item Tasks (and the subsequent overview) is visibe to all persons having basic access to the application.
However, persons with assigned tasks can view these through the My Tasks options and project managers of assigned projects can view the tasks via the project.
jleroux: this makes sense to me, else what for "My Tasks" would be?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1650967 13f79535-47bb-0310-9956-ffa450edef68
I add a new permission check to the ProjectMenu.xml to check weather the user have PROJECTMGR_ADMIN rights or not. If not he should not be able to create new Projects.
That means that users which are in the security group PROJECTADMIN aren't allowed to create new projects by default. Because they are responsable for there own projects and not for creating new once. Maybe the name of the Permission group is a little bit confusing. The PROJECTADMIN is not the admin from the project module he is more a Project manager (an admin for his own projects).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1087680 13f79535-47bb-0310-9956-ffa450edef68
Assetmaint, Oagis and Projectmgr components
Renamed assetmaint/widget/Menus.xml to assetmaint/widget/AssetmaintMenus.xml
Renamed oagis/widget/Menus.xml to oagis/widget/OagisMenus.xml
Renamed projectmgr/widget/Menus.xml to projectmgr/widget/ProjectMenus.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@829325 13f79535-47bb-0310-9956-ffa450edef68