I've created a new project. After saving I try to add some ressources in allocation but when I add a ressource, there is no profil defined for this ressource (whereas correctly defined in ressource screen). As profil is mandatory I can not allocate any ressource. is there some rights to give to my profile (ProfileProjectEngineer)?
seems OK with admin rights
Try and clean browser cache.
hello Babynus,
Browser cache was already cleaned, I make it again but still issue to set profil ?
Can you check for error in log file or in browser console ?
Issues logged in browser console are not linked to what you get.
I'm almost sure it is a cache problem.
Can you try to clear the browser cache throught the browser parameter feature, to be sure.
Could you also try with another browser ?
At last, please try on Demo to check if it is linked to your browser.
Hi Babynus,
I clear the cache on chrome, and make a try on IE but still the problem on both. I also make a try on DEMO on Chrome and can assign ressource with profil.
Please post projeqtor log file
Yes, it helps a lot.
Your issue is due to the profile you created : you created it without a sort order value.
And this case is not taken into account.
So define an order for all your profiles will fix the issue.
We'll have a fix to avoid this issue.
Fix is to replace line 143 in /tool/jsonList.php from
$lstPrf=$prf->getSqlElementsFromCriteria(null,false,"idle=0 and sortOrder>=".$prf->sortOrder,"sortOrder asc");
to
$lstPrf=$prf->getSqlElementsFromCriteria(null,false,"idle=0 and sortOrder>=".(($prf->sortOrder)?$prf->sortOrder:'0'),"sortOrder asc");
Hi Babynus,
Admin made the changes, and now profile is correctly set but I have a notification message "invalid control / you don't have the rights to create this element" after validation of ressource allocation. No error in logs
There should be another issue on controls, also using sortOrder on profile.
I'll have a look.
But to be sure to avoid issues, define sort order on profiles (it will become mandatory on next version).
Sort order is now defined for my profile and I have the correct rights to make expected changes.
Thx Babynus
