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
Cannot remove all recommended themes using django admin #6810
Comments
@ioanarusiczki It's just if you remove all of them, right? Removing one or more but leaving at least one works correctly? |
@eviljeff Sorry for the late answer, I've been away. I checked this again with FF68 (win10) and I could reproduce it on dev : adding and removing works but when all themes are removed and django shows no content in this collection the frontend will continue to display the following 3 themes: 504236 Underwater Dolphins If I leave one the frontend will display 4 themes (what's left in django plus those 3 themes). But I could not reproduce it on AMO stage. If I remove all themes the frontend shows it correctly. |
if the themes are still showing as recommended in the frontend (and they are in the api response too), but aren't in the featured themes collection, then it's possible (probable, imo) they've been directly added as a recommendable add-ons and then approved - i.e. the have DiscoveryItem entries that have been marked as |
@eviljeff I managed to delete successfully 498533 Flag of Colombia. It was added like you said, in the Discovery items entries (like the other two mentioned above). In it's place I added with the theme collection 497656 Colombia. But when I tried to do the same thing for the other two themes - delete them from the Discovery items and add them back using the collection, it did not work anymore. https://addons-dev.allizom.org/api/v4/addons/search/?recommended=true&type=statictheme Yet, the badge is no longer there on the detail page. Also when I checked the detail API for these two themes, I see https://addons-dev.allizom.org/api/v4/addons/addon/504236 |
This issue has been automatically marked as stale because it has not had recent activity. If you think this bug should stay open, please comment on the issue with further details. Thank you for your contributions. |
Followup for #6312
STR:
Expected result:
Recommended themes
shelf is no longer available on the hompeage.Actual result:
Shelf is displayed with 3 themes and See more recommended themes can be accessed
https://addons-dev.allizom.org/en-US/firefox/search/?recommended=true&sort=random&type=statictheme
Notes:
Reproducible on dev with FF68(Win10).
This is the frontend
The collection is empty in admin
The text was updated successfully, but these errors were encountered: