Forum

Error when copy "Ac...
 
Notifications
Retirer tout

Error when copy "Action" into "Ticket" - customised screen

4 Posts
2 Utilisateurs
0 Reactions
1,315 Vu
(@amaz)
Posts: 36
Trusted Member
Début du sujet
 
[#8265]

Hello,

I have customised the "Ticket" screen, in order to add a "facturation" section. (With customisation plugin)

The field "[colPIgFactYesOrNo]" is a boolean that is by default set at "on". 
No problem with this field that we use on a daily basis.

But when I want to copy an Action into a Ticket, I have the following error :
"Invalid controls.

value of field [colFactYesOrNo]='on' is not a valid numeric"

Do you have any idea of what's wrong and how I could do ?

Thanks in advance for your help,

Best Regards,

Anaïs

 


 
Posté : 13/05/2022 6:12 pm
(@babynus)
Posts: 14952
Membre Admin
 

You should set default value to 1, as boolean possible values are 0 or 1.


 
Posté : 13/05/2022 7:46 pm
(@amaz)
Posts: 36
Trusted Member
Début du sujet
 

But in customisation plug in, I cannot set "1" as default value for a boolean, it does not work and makes an error message ("1" is not valid value for a boolean).
In documentation, I have found that the default value for a boolean is "on" an in fact, it works.

It is just this copy from action to tikcte that produces the bug...


 
Posté : 13/05/2022 7:56 pm
(@babynus)
Posts: 14952
Membre Admin
 

Indeed, there seem to be an issue.
'on' is the correct value to have the interface work, but is not a good value for copy.
We'll bring some fix.


 
Posté : 16/05/2022 12:42 am
Share:
Retour en haut