-
Notifications
You must be signed in to change notification settings - Fork 24
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
Can't erase table #1188
Comments
@barbayellow could you provide the complete log line please? There should be a stack trace. |
Here is the full output:
|
@barbayellow thank you for reporting =) Quick fix in #1196 |
Hi thx for the fix. I applied it manually (wget the modified files directly on github + change owner and rights afterwards on our nextcloud instance). Unfortunately, I still have the same error :
Hope it helps. |
@barbayellow May I ask how you replaced the files? Also, would you be comfortable running a database query? |
@blizzz I could run a database query, just had this problem happen to me, some users are now unable to load tables and im unable to delete these affected tables |
Here's the error log when trying to access:
|
Sure, I pulled the modified files directly from github using wget and copied it in their destination directory. I then gave the ownership back to www-data, gave the according rights, delete the previous files and renamed the newly downloaded files with the original names.
No pb to run a database query. We don't have any sensitive data (yet) in the tables application.
|
@PlaryWasTaken Could you run @barbayellow and could you run If there is stuff in the result you do not want public it is totally fine to obfuscate it. Just keep the data types in place, please :) |
I couldnt let the company just stop, so i ended up deleting the offending view directly in the database, although i have the result of the query |
id | columns | sort | filter Heres the result with all the views included and some of the columns removed (But id and filter are still there) |
@PlaryWasTaken the issue is the empty column in the filter of id 4. This should definitely be fixed with #1196 however. |
|
Okay, please try this:
|
Steps to reproduce
OCA\Tables\Db\Row2Mapper::getFilterExpression(): Argument #2 ($column) must be of type OCA\Tables\Db\Column, null given
Expected behavior
The table should be erased and new tables should be able to be created
Actual behavior
When trying to erase a table using using occ:tables:erase tableid, I get stuck with an error :
OCA\Tables\Db\Row2Mapper::getFilterExpression(): Argument #2 ($column) must be of type OCA\Tables\Db\Column, null given
Tables app version
0.7.4
Browser
Firefox 127.0.2
Client operating system
Linux Elementary OS
Operating system
Ubuntu 20.04.6 LTS
Web server
Apache
PHP engine version
PHP 8.1
Database
MySQL
Additional info
No response
The text was updated successfully, but these errors were encountered: