openhab-webui icon indicating copy to clipboard operation
openhab-webui copied to clipboard

Adding and removing mapping in GUI sitemaps leaves an error in sitemap validator

Open Boby71 opened this issue 4 years ago • 1 comments

Minor OH3 bug: When I add mappings here in a sitemap... image and remove them again, the sitemap still contains a term "mapping=[]", which results in a error message of the sitemap validator: image The sitemap itself works flawlessly though.

Suggested solution: The validator should accept "mapping=[]" as valid term.

Boby71 avatar Dec 27 '20 15:12 Boby71

If the validator fails, that means that this is not compliant with the sitemap syntax and should not be produced by the sitemap builder. There is risk that with an empty map few old UIs are not working as you would expect.

lolodomo avatar Jan 02 '21 13:01 lolodomo

Mappings in the UI sitemap validator have been implemented. So this issue is fixed.

mherwege avatar Dec 11 '22 16:12 mherwege

Mappings in the UI sitemap validator have been implemented. So this issue is fixed.

Ok

lolodomo avatar Jul 17 '23 18:07 lolodomo