-
Notifications
You must be signed in to change notification settings - Fork 93
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
Number of categories differs between the GUI and the API #2222
Comments
OK, this sounds strange lik the DB had some broken entries. I have multiple ideas how to proceed here:
|
This evening I can zip the directory reciepe and send it to you (but it is 160 Mb befor zip) |
Hello |
I tried downloading the zip file but it seems broken... I have a MD5 of |
Sorry the file was indeed broken (it had only 50Mb and not the 160,5Mb) |
Hmm, with the latest NC 31 (dev) version and the master branch, I cannot reproduce the problem. I put all 164 recipes (thanks for sharing 😉) into the instance and it detected all. The categories are assigned correctly. I am still thinking on what the problem might be. I am considering some weird effect that the import just got broken in some way and the updating algorithm is written such that existing recipes are not readded once in the database cache. There are ways to solve this but I want to avoid big changed that are to be thrown away soon... |
NC30 is already available (for stable branch)? Did not sdee it... I was wondering if this behaviour is not because I use a "non standard way" to clone some reciepe... In any case this behaviour is not a problem for me :-) |
Description
The total count of categories presented in the GUI significantly varies when compared to what is available through the API.
Reproduction
Steps to reproduce the behavior:
Expected behavior
The numbers should be the same.
Actual behavior
The numbers are different. The numbers shown in the GUI are correct. The API numbers are wrong.
Screenshots
API
GUI
Browser
Chrome 123.0
Versions
Nextcloud server version: 28.0.3
Cookbook version: 0.11.0
Database system: MariaDB
The text was updated successfully, but these errors were encountered: