Closed GoogleCodeExporter closed 9 years ago
since the pageId have to be a number (at least the ItemUIRegistryImpl Z.399
expects so) we should change the validation regexp for pageId to be more
restrictive.
we should use {pageid: [0-9]*} instead of {pageid: [a-zA-Z_0-9]*}
Original comment by teichsta
on 13 Dec 2011 at 3:49
Original comment by kai.openhab
on 14 Dec 2011 at 12:41
Fixed in commit
http://code.google.com/p/openhab/source/detail?r=d5f3ed3e76730be49f5d023d23af968
8f451a034
Note: Page IDs can be names as well, the problem here was that the name simply
did not exist and thus it was tried to parse it as an integer, which is the
second option. Not it will correctly return a "not found" instead.
Original comment by kai.openhab
on 14 Dec 2011 at 8:03
Original issue reported on code.google.com by
mishoboss
on 12 Dec 2011 at 5:26