Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamicFieldDB: Changing the value triggers warnings #1661

Closed
reneeb opened this issue Mar 11, 2022 · 1 comment
Closed

DynamicFieldDB: Changing the value triggers warnings #1661

reneeb opened this issue Mar 11, 2022 · 1 comment

Comments

@reneeb
Copy link
Contributor

reneeb commented Mar 11, 2022

If you define a dynamic field of type database and that field stores string values in the otobo database, changing the value for the dynamic field triggers warnings like:

Argument "root@localhost" isn't numeric in sort at /opt/otobo/bin/psgi-bin/../../Kernel/System/DynamicField/Driver/BaseDatabase.pm line 71.

The data are handled as numerics in the ValueIsDifferent method of Kernel::System::DynamicField::Driver::BaseDatabase

@reneeb reneeb self-assigned this Mar 11, 2022
reneeb added a commit to reneeb/otobo that referenced this issue Mar 11, 2022
…ield can store string values

and that would trigger a warning like 'Argument 'root@localhost' isn't numeric in sort at /opt/otobo/bin/psgi-bin/../../Kernel/System/DynamicField/Driver/BaseDatabase.pm line 71.'
@reneeb reneeb removed their assignment Mar 11, 2022
@reneeb
Copy link
Contributor Author

reneeb commented Mar 11, 2022

A sample dynamic field:

image

Use that field in AgentTicketFreeText. Assign a value and then change the value...

svenoe pushed a commit that referenced this issue Mar 11, 2022
…store string values (#1662)

and that would trigger a warning like 'Argument 'root@localhost' isn't numeric in sort at /opt/otobo/bin/psgi-bin/../../Kernel/System/DynamicField/Driver/BaseDatabase.pm line 71.'
@svenoe svenoe closed this as completed Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants