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

Issue with number fields #161

Open
devgiu opened this issue Dec 30, 2020 · 1 comment
Open

Issue with number fields #161

devgiu opened this issue Dec 30, 2020 · 1 comment

Comments

@devgiu
Copy link

devgiu commented Dec 30, 2020

Hi,

I'm creating import configurations, for files with this kind of structure.
'282','187887','Elite','2013','1463946785','0','1'

String fields works when I create a custom atribute and use return rawValue.replace("'","") to save the string correctly. But doesn't matters what I do or try, numbers are not saved into database.

¿Some idea?

@mariodavid
Copy link
Owner

Hi,

I'm not sure what in particular does not work in your case. Perhaps you can create a small demo project with the import configuration (exported from the entity inspector) as well as the file to import. Usually, this is needed in order to help in a particular configuration scenario.

Generally speaking: importing numbers is no problem and works just fine.

Here is a sample app that shows various examples (including integers): https://github.com/mariodavid/cuba-example-using-data-import

Bye
Mario

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