Forum

Unable to check the...
 
Notifications
Retirer tout

Unable to check the box "Is a ressource" and "is a user"

12 Posts
2 Utilisateurs
0 Reactions
6,522 Vu
Damien
(@dnaton)
Posts: 248
Active Member
Début du sujet
 
[#5292]

Hello,

I wanted to create today a new contact, who need to be a ressource too. Normally, ther is no problem with this action.

Buttoday, I don't know why, I can't no more check the box "is a ressource" and also the other box "is a user", and the field "Profil" 🙁

Theses fields / box are grey

I've already created many contacts, users, ressources withour any problem.

I tested with a user already created :it's the same : the fields box decribed before are grey too 🙁

I'm connected as admin, have full right.

What is wrong with what I do ? 🙁

Thanks for your help


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 19 Juil PM 19:077
(@babynus)
Posts: 14952
Membre Admin
 

I thing you just removed your right to create resource and users.
check rights.


 
Posté : 19 Juil PM 19:077
Damien
(@dnaton)
Posts: 248
Active Member
Début du sujet
 

Hi Babynus,

I checked my rights (I'm admin) but nothing seems to be false (in my point of view)

Is there another rights I need to check ? If yes, where are they ?

Thx


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 19 Juil PM 20:077
(@babynus)
Posts: 14952
Membre Admin
 

Access rights seem coorct.

Do you have screen custromization plugin ?
It is the only way I can see to set fileds as readonly.
Check customization for resource screen.


 
Posté : 19 Juil PM 20:077
Damien
(@dnaton)
Posts: 248
Active Member
Début du sujet
 

Yes, I have this plugin.

Int the screen "Contact", field is a user and is ressource are readonly, but not in the screen "Ressources".

And one ather thing : in a previous backup (2 days ago), I've exaxtly the same, but it works correctly :blink: : I dont't understand anymore...

I need to uncheck the readonly en the screen contact to have theses fields in read/write ?


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 19 Juil PM 20:077
Damien
(@dnaton)
Posts: 248
Active Member
Début du sujet
 

I tried to modify the fields in the screen "Contact" withe phe plugin but it's not authorized : I can't uncheck the "Readonly" of the tree fields (Profil, is a ressource and is a user).


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 19 Juil PM 20:077
(@babynus)
Posts: 14952
Membre Admin
 

I confirm, it is side effect of screen customization.
When you customize "contact" sceen, it locks "isResource" and "isUser" for everyone.
We'll fix the issue. (Ticekt #3503)


 
Posté : 20 Juil AM 11:077
Damien
(@dnaton)
Posts: 248
Active Member
Début du sujet
 

Thanks for your help.

in the meantime, is there a way around the problem ?


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 20 Juil PM 15:077
(@babynus)
Posts: 14952
Membre Admin
 

Not really.
The solution would be to reset your customization, but you would loose data in new fields.


 
Posté : 20 Juil PM 22:077
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

To fix issue, you'll have to manually update file /model/custom/contact.php
to change lines 84 to 86 from

    "idProfile"=>"readonly",
    "isUser"=>"readonly",
    "isResource"=>"readonly",

to

    "idProfile"=>"",
    "isUser"=>"",
    "isResource"=>"",

We've added fix in V7.1.4 so than this issue does not occur again.


 
Posté : 23 Juil PM 18:077
Damien
(@dnaton)
Posts: 248
Active Member
Début du sujet
 

Hello Babynus,

The problem appear again with news version of ProjeQtor and the las version of the plugin ScreenCustomization 🙁

I applied the same solution you describe above and it corrects the problem 🙂

It looks like the correction you have implemented in the plugin doesn't follow the version upgrade of ProjeQtor (or new version of plugin) 🙁


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 29 Jan PM 18:011
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

The fix was lost.
It's been re-applied on V7.4.0 (coming soon).
It consists in same replacement on model/ContactMain.php as on /model/custom/Contact.php

Thanks for pointing out the regression.


 
Posté : 31 Jan AM 11:011
Share:
Retour en haut