-
Notifications
You must be signed in to change notification settings - Fork 410
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
Fix #3712 SLD styles version 1.1.0 are not saved correctly from Style Editor #3718
Fix #3712 SLD styles version 1.1.0 are not saved correctly from Style Editor #3718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- There is an error when try to select css (with no extension present) and then SLD, you are not able to select SLD style anymore.
web/client/epics/styleeditor.js
Outdated
@@ -79,14 +81,14 @@ const getStyleCodeObservable = ({status, styleName, baseUrl}) => | |||
* Observable delete styles. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please clarify that it is a function that returns an observable, and remove Observable
from the function name
web/client/epics/styleeditor.js
Outdated
@@ -79,14 +81,14 @@ const getStyleCodeObservable = ({status, styleName, baseUrl}) => | |||
* Observable delete styles. | |||
* silent to false hide notifications | |||
*/ | |||
const deleteStyleObservable = ({styleName, baseUrl}, silent) => | |||
const deleteStyleObservable = ({styleName, baseUrl, observableResponse, observableReject}, silent) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename observableResponse and observableReject as onSuccess$ and onError$
@allyoucanmap please provide a backport to 2019.01.xx |
…ctly from Style Editor (geosolutions-it#3718) * add control for sld version 1.1.0 and minor update o style editor * updated styles epics * remove comment
Description
This PR introduces following changes to verify version of SLD style is correctly updated in the editing phase.
changes:
ui with editing disabled
Issues
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
What is the current behavior? (You can also link to an open issue here)
#3712
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x", remove the other)
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: