Forum

[SOLVED] [5.5.3] on...
 
Notifications
Retirer tout

[SOLVED] [5.5.3] on a new project, there is no profil defined for ressource's allocation, no allocation possi

14 Posts
2 Utilisateurs
0 Reactions
12.8 {numéro}K Vu
(@mvern)
Posts: 32
Active Member
Début du sujet
 
[#3749]

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


 
Posté : 12 Oct AM 11:1010
(@babynus)
Posts: 14952
Membre Admin
 

Try and clean browser cache.


 
Posté : 12 Oct PM 17:1010
(@mvern)
Posts: 32
Active Member
Début du sujet
 

hello Babynus,

Browser cache was already cleaned, I make it again but still issue to set profil ?


 
Posté : 12 Oct PM 17:1010
(@babynus)
Posts: 14952
Membre Admin
 

Can you check for error in log file or in browser console ?


 
Posté : 12 Oct PM 18:1010
(@mvern)
Posts: 32
Active Member
Début du sujet
 

see in attachement, first I add ressource but as no profil set I try to fill it manually


 
Posté : 12 Oct PM 18:1010
(@babynus)
Posts: 14952
Membre Admin
 

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.


 
Posté : 12 Oct PM 19:1010
(@mvern)
Posts: 32
Active Member
Début du sujet
 

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.


 
Posté : 13 Oct AM 11:1010
(@babynus)
Posts: 14952
Membre Admin
 

Please post projeqtor log file


 
Posté : 13 Oct AM 11:1010
(@mvern)
Posts: 32
Active Member
Début du sujet
 

hope it helps


 
Posté : 13 Oct AM 11:1010
(@babynus)
Posts: 14952
Membre Admin
 

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.


 
Posté : 13 Oct PM 12:1010
(@babynus)
Posts: 14952
Membre Admin
 

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");

 
Posté : 13 Oct PM 12:1010
(@mvern)
Posts: 32
Active Member
Début du sujet
 

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


 
Posté : 14 Oct PM 16:1010
(@babynus)
Posts: 14952
Membre Admin
 

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).


 
Posté : 14 Oct PM 19:1010
(@mvern)
Posts: 32
Active Member
Début du sujet
 

Sort order is now defined for my profile and I have the correct rights to make expected changes.
Thx Babynus


 
Posté : 18 Oct PM 13:1010
Share:
Retour en haut