Merged from geoportal service 1.0.9
This commit is contained in:
commit
466a3b5809
|
@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||
|
||||
## [v1.0.9] 2021-09-20
|
||||
- Fixes [#23381](https://support.d4science.org/issues/23381)
|
||||
- Fixes [#23485](https://support.d4science.org/issues/23485)
|
||||
|
||||
|
||||
|
||||
## [v1.0.8] 2021-09-20
|
||||
|
|
|
@ -203,8 +203,16 @@ public class ConcessioniMongoManager extends MongoManager{
|
|||
}
|
||||
|
||||
public Concessione publish(String id) throws IOException{
|
||||
|
||||
Concessione toReturn=asConcessione(getDocById(asId(id)));
|
||||
|
||||
// unpublish if published
|
||||
|
||||
toReturn=onUpdate(toReturn);
|
||||
// try unpublish
|
||||
toReturn = unpublish(toReturn);
|
||||
|
||||
|
||||
toReturn.validate();
|
||||
|
||||
// MATERIALIZE LAYERS
|
||||
|
|
Loading…
Reference in New Issue