Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Array size limited to 21 #6

Open
imocsari opened this issue Apr 17, 2018 · 3 comments
Open

Array size limited to 21 #6

imocsari opened this issue Apr 17, 2018 · 3 comments

Comments

@imocsari
Copy link

We have an issue, using the plugin, as it has a limit of 21 adding values to the array. Once the limit reached, it does not allow to add more element into the array. Any idea, how can we change the size of the limit in the plugin?

@imocsari imocsari changed the title Array size limit to 21 Array size limited to 21 Apr 17, 2018
@kadosh1000
Copy link
Owner

Is this an issue with the custom fieldtypes module or with a keystone field?

@imocsari
Copy link
Author

It seems to have the issue with the custom fieldtypes. We can add a 21st item fine, this 21st item gets added to the array that all the other items are added to.
However, when we then add a 22nd item, this array for some reason turns into an object.
Because the array is now an object, it is failing validation (as its expecting an array) and it fails before it gets to the point at which the app saves the data.

@imocsari
Copy link
Author

The issue why it didn't save data into the database , because it somehow after 21 added item it changed the data from array to object and the database couldn't validate it. Changing the object back to an array sorted the issue.

@imocsari imocsari reopened this Apr 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants