Icon fixes
The iconUrl isn't directly set when reading the index but is calculated later on through some SQL query in AppProvider.
So we need to store the icon coming out of the localized block like the rest of the localized graphics fields and change the SQL query to take this into account.
The query constructs the correct icon url for both cases while giving precedence for the new localizedIcon.
So the only thing I'm unsure about is the @jsonignore
annotation on localizedIcon
. It is not directly read from the index, but fields like featureGraqhics
aren't either, yet they don't get the ignored property. But their variable name corresponds to the (nested) json property which we can't do for localizedIcon as icon
is already used.
(on that matter, iconUrl
is never a field in the index, shouldn't that definitely get a @JsonIgnore
?)
@eighthave help!