Hi,
Just purchased subscription to Coronium and loving it. Just hit a brick wall though with a bug.
When I try and update a user’s Extra data, it gives me this error:
Data too long for column ‘extra’ at row 1
I also had this issue when I tried signing up a user with more extra items (currently have 13 extra user items).
Code is standard:
local function onUserUpdate( evt )
if evt.error then
print(evt.error)
else
print(evt.result.user_id)
end
end
print( event.params.userId)
core.users.update({
user_id = event.params.userId,
update = {
extra = {
longitude = -234324324,
lattitude = 34324234,
}
}
}, onUserUpdate)
Any idea what is going on?
Thanks!
Hi,
It appears I need to increase the field size in the database for extras (and make a few adjustments). Will push out an update today most likely.
Thanks for reporting.
-dev
Hi,
This issue should be resolved with the 2.3.1 update/release.
https://forums.coronalabs.com/topic/71527-coronium-core-version-231/
-dev
Thanks alot! Do I need to do an update or is it automatically updated?
Hi,
You’ll need to update, but it is a fairly painless process. Just be sure to follow the notes.
https://develephant.github.io/coronium-core-docs/server/updates/#230-to-232
-dev
Hi,
It appears I need to increase the field size in the database for extras (and make a few adjustments). Will push out an update today most likely.
Thanks for reporting.
-dev
Hi,
This issue should be resolved with the 2.3.1 update/release.
https://forums.coronalabs.com/topic/71527-coronium-core-version-231/
-dev
Thanks alot! Do I need to do an update or is it automatically updated?
Hi,
You’ll need to update, but it is a fairly painless process. Just be sure to follow the notes.
https://develephant.github.io/coronium-core-docs/server/updates/#230-to-232
-dev