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

[BUG]Update data with a failed result on used an uuid #135

Closed
godcong opened this issue Jan 7, 2020 · 1 comment
Closed

[BUG]Update data with a failed result on used an uuid #135

godcong opened this issue Jan 7, 2020 · 1 comment
Assignees
Labels
🐛bug Something isn't working

Comments

@godcong
Copy link

godcong commented Jan 7, 2020

bug 描述 [详细地描述 bug,让大家都能理解]

when i update a value, the page result an update error to me.

错误!
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'descbe16502-be00-4f9c-aa93-b25e0291d826 LIMIT ? OFFSET ?' at line 1

i see the edit page's previous key the sort type displayed with a wrong value:

<input type="hidden" name="_previous_" value="/admin/info/globals?__page=1&amp;__pageSize=10&amp;__sort=id&amp;__sort_type=descbe16502-be00-4f9c-aa93-b25e0291d826">

the data uuid is : 1be16502-be00-4f9c-aa93-b25e0291d826
it looks splited the uuid and insert it into the previous
finally the value was updated successed.

  • GoAdmin 版本: [e.g. 1.0.0]
    1.1.6
@godcong godcong added the 🐛bug Something isn't working label Jan 7, 2020
@godcong godcong changed the title [BUG]Update failed on used an uuid [BUG]Update data with a failed result on used an uuid Jan 7, 2020
@chenhg5 chenhg5 self-assigned this Jan 7, 2020
@chenhg5
Copy link
Collaborator

chenhg5 commented Jan 7, 2020

Fixed. #92bd01 & #096287

@chenhg5 chenhg5 closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants