Skip to content
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

Problem setting Thumbnails, Map Details and Favourites in DEV #4716

Closed
1 task done
tdipisa opened this issue Jan 14, 2020 · 3 comments
Closed
1 task done

Problem setting Thumbnails, Map Details and Favourites in DEV #4716

tdipisa opened this issue Jan 14, 2020 · 3 comments

Comments

@tdipisa
Copy link
Member

tdipisa commented Jan 14, 2020

Description

In DEV is no longer possible to create Thumbnails, Map Details and put resources in Favourites

How to reproduce

Simply try to create them as reported in User Guide

Expected Result
Thumbnails, Map Details and Featured functionalities are workingas expected (see User Guide links)

Current Result
A request to the MapStore backend:

https://dev.mapstore2.geo-solutions.it/mapstore/rest/geostore/resources/resource/17049/attributes/

fails with the following HTTP error:

405 Method Not Allowed

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Related to #4687

@offtherailz
Copy link
Member

offtherailz commented Jan 14, 2020

This is due to missing method, required and missing
minimal version form master is GeoStore 1.5(-SNAPSHOT)
We need changes from this PR #4665
that has been reverted.

Now the scripts has been added, so we could re-do the PR

@tdipisa
Copy link
Member Author

tdipisa commented Jan 15, 2020

@offtherailz
Even updating the GeoStore version to 1.5-SNAPSHOT, problems still occur setting thumbnails and details, Favourites does not seems to have problems.

As soon as you set a thumbnail or details, they are created and available in the UI but if you refresh the UI they are no longer available and the following request fails in DevTool:

Thumbnail

Request URL: https://dev.mapstore2.geo-solutions.it/mapstore/rest%2Fgeostore%2Fdata%2F18075%2Fraw%3Fdecode%3Ddatauri
Request Method: GET
Status Code: 404 Not Found
Remote Address: 164.132.80.72:443

Details

Request URL: https://dev.mapstore2.geo-solutions.it/mapstore/rest/geostore/data/null
Request Method: GET
Status Code: 404 Not Found
Remote Address: 164.132.80.72:443

@tdipisa tdipisa self-assigned this Jan 15, 2020
offtherailz added a commit to offtherailz/MapStore2 that referenced this issue Jan 15, 2020
@tdipisa tdipisa removed their assignment Jan 16, 2020
@ElenaGallo ElenaGallo self-assigned this Jan 17, 2020
@tdipisa tdipisa added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Jan 22, 2020
@tdipisa tdipisa reopened this Jan 22, 2020
@offtherailz
Copy link
Member

offtherailz commented Jan 30, 2020

A backport should not be needed because the API change for GeoStore is only on master.

If you find some issues on release similar to this, are probably related to other problems.

@tdipisa tdipisa modified the milestones: 2020.01.01, 2020.02.00 Feb 7, 2020
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Feb 7, 2020
@tdipisa tdipisa closed this as completed Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants