>
>> In my opinion the old behavior makes sense, if I get an event from the
>> catalog saying that a style was updated I would say it makes sense to
>> assume that the associated resource was also updated.
>>
>> Just as a note, if you are using the REST api to modify styles, this
assumption is not valid. Instead, the resource is modified entirely
independently from the catalog object, and does not trigger modification
events:
https://github.com/geoserver/geoserver/blob/master/src/restconfig/src/main/java/org/geoserver/catalog/rest/StyleResource.java#L334
Strictly speaking, catalog events should not be relied upon to deal with
resource changes; I believe we already have a ResourceListener for that
sort of thing. That being said, I can see how this use case makes sense.
Not sure if it should be considered a regression or not.
Torben
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel