Forum

[9.1.5] Custom Fiel...
 
Notifications
Retirer tout

[9.1.5] Custom Field error with custom screen plugin V5.3

3 Posts
2 Utilisateurs
0 Reactions
1,398 Vu
Fanch
(@fsouliers)
Posts: 86
Estimable Member
Début du sujet
 
[#7575]

On a Employment Contract, I add a field cjm (Coût Journalier Moyen) as a decimal 6,2
The modification is accepted.
The table view disappears and I cannot change anything any longer.

In model/custom/EmployeeContract.php, the line 64 seems wrong (double ’,’) : "startDate"=>"required",,"cjm"=>""

 


 
Posté : 07/06/2021 5:52 pm
Fanch
(@fsouliers)
Posts: 86
Estimable Member
Début du sujet
 

I confirm that after deleting the second coma, everything backs to normal.


 
Posté : 08/06/2021 10:24 am
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

This is an issue due to incorrect $_fieldsAttributes definition, ending with unexprected comma (,)
We try and fix this and avoid this extra comma, but some may still exists.

NB : next version os screen customization plugin will automatically fix the isse.


 
Posté : 12/06/2021 7:54 pm
Share:
Retour en haut