Closed cwerstuik closed 4 months ago
This should be solved in 0.7.1. Can you try deleting your browser cache?
I've tried deleting the cache in all the ways that usually work and it's still coming up with this error. I even just tried to completely delete and redownload tables and still has the error
OK actually we missed a backport. https://github.com/nextcloud/tables/pull/1041 will fix it.
Should be fixed now? @cwerstuik
Sorry, I've been on the road, and won't be able to try out the fix until Friday
Today's 0.7.2 release ships the fix.
Steps to reproduce
Expected behavior
Application is created without errors
Actual behavior
Page goes blank and a couple errors appear saying, "Could not create new table" and "Could not insert application. Unknown error."
Everything works fine when a app icon is manually selected. This is a quick copy/paste from my browser console:
It's sending
{"name":"test","iconName":{},"description":"test","nodes":[{"id":9,"type":0,"permissions":7}]}
And receiving
Internal Server Error\nOCA\\Tables\\Controller\\ContextController::create(): Argument #2 ($iconName) must be of type string, array given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 232 in file '/var/www/html/custom_apps/tables/lib/Controller/ContextController.php' line 100
And here is the log file error:
Tables app version
0.7.1
Browser
Firefox
Client operating system
Linux
Operating system
Linux
Web server
Apache
PHP engine version
PHP 8.2
Database
MySQL
Additional info
No response