-
Notifications
You must be signed in to change notification settings - Fork 416
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
Ability to save resource with thumbnail not allowed #4758
Comments
An updated status for this issue is described below. DescriptionIf you save a map changing a thumbnail with a size over than the max allowed one (500kb) the map is saved anyway with a wrong thumbnail state. How to reproduce
Expected Result The same behavior of changing the thumbnail in home page should be respected: the map is saved but the thumbnail is empty and looks like the following: Current Result The thumbnail is in a wrong state, look at the animated gif. After saving the map the first time and reopening the map properties, the thumbnail is not changed in the UI. But, If I refresh the map and then I reopen the map properties the thumbnail is in a wrong state (it looks gray). If now I go back in the home page and I search for the map the thumbnail is in the same wrong state. |
… NODATA (geosolutions-it#5760) (cherry picked from commit f1b1326)
Now after a thumbnail of wrong size (over the 500 kb) is edded there are two different behaviors:
@tdipisa which of the two is the one to keep? |
@ElenaGallo in my opinion it should be the second one. @offtherailz what do you think? |
Description
When the thumbnail with size (over 500Kb) or extensions (.gif) not allowed is added on save window, the warning message is displayed but the resource is saved anyway.

How to reproduce
Expected Result
The map cannot be saved if the thumbnail is not supported and the relative warning message appears
Current Result
The map is saved anyway and it is present on the homepage without any thumbnail
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
The text was updated successfully, but these errors were encountered: