Hi,
I have 3 drop-down dynamic field that has a default value.
It save the default value in the Database when the field is not being changed
But sometimes the default value not appears in the DB, and is not saving nothing for that dynamic field ID in the table: otrs.dynamic_field_value
I don't know why, any idea what could be happening?
Thanks!
Data is not being saved on otrs.dynamic_field_value table
Moderator: crythias
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Data is not being saved on otrs.dynamic_field_value table
You wrote "sometimes". Can you find something that those tickets have in common? How do you save the default value?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny advanced
- Posts: 105
- Joined: 24 Feb 2017, 16:45
- Znuny Version: 5.0.16.01
- Real Name: Cristina Corrales
- Company: -
Re: Data is not being saved on otrs.dynamic_field_value table
I have 3 dynamic fields, those 3 have a default value.
If I closed a ticket without complete de dynamic field it supposed to save the default value. But is not doing that.
I said sometimes because I closed 2 tickets and I can see the first ticket data in the table otrs.dynamic_field_value table but not for the other ticket.
If I closed a ticket without complete de dynamic field it supposed to save the default value. But is not doing that.
I said sometimes because I closed 2 tickets and I can see the first ticket data in the table otrs.dynamic_field_value table but not for the other ticket.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Data is not being saved on otrs.dynamic_field_value table
The "default value" you define in the dynamic field is just the default value for the frontend. That doesn't mean the dynamic field is filled by default. You would need an event module that sets the values on TicketCreate event.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de