A user is able to add a background image to a category and also change it. However, on the next update, the background image is deleted automatically.
Steps to reproduce in Console:
Create a category
Add a background picture
Save changes
Change the description, name, page or hidden enabled
Save changes
The background picture is no longer shown
Affects all versions: 4.0.x → Master
The technical problem: The object UpdateCategory has a background, but not a background_url. So when the user updates a Category that already has a background_url and the background image has not been changed, background is null and no attribute for the background url exists. The background image is then set as null in the DB.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
A user is able to add a background image to a category and also change it. However, on the next update, the background image is deleted automatically.
Steps to reproduce in Console:
Affects all versions: 4.0.x → Master
The technical problem: The object UpdateCategory has a
background
, but not abackground_url
. So when the user updates a Category that already has abackground_url
and the background image has not been changed,background
is null and no attribute for the background url exists. The background image is then set as null in the DB.