nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
143 stars 24 forks source link

Can not Create Applications ("Could not insert application") #1007

Closed xbluemonkx closed 5 months ago

xbluemonkx commented 5 months ago

Steps to reproduce

  1. create a table
  2. create a application, select the table from 1. and clik on "create application"

Expected behavior

Application should be created.

Actual behavior

two error messages. grafik

Tables app version

0.7

Browser

Firefox

Client operating system

Windows 11

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

Nextcloud 29.0

enjeck commented 5 months ago

@xbluemonkx Can you please share the system and/or browser log that accompanies this error?

tbousiou commented 5 months ago

I can confirm this error too. The error log from Nextcloud is

Exception: OCA\Tables\Controller\ContextController::create(): Argument #2 ($iconName) must be of type string, array given, called in /var/www/nextcloud.digigov.grnet.gr/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 230 in file '/var/www/nextcloud.digigov.grnet.gr/nextcloud/apps/tables/lib/Controller/ContextController.php' line 97

As the error indicates, there is a problem with the app icon. So when I don't select an app icon and keep the default the error happens, but when I explicitly select an icon there is no error and the application is created successfully.

xbluemonkx commented 5 months ago

I can confirm, that is works when i manually change the app icon before clicking the create button.

enjeck commented 5 months ago

This was fixed yesterday here: https://github.com/nextcloud/tables/pull/1001 . Would be included in the next release. Thanks for reporting!