hektiker1983 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Color picker opened by direct link doesn't work #361

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce:
1. Setup openhab as described here: http://code.google.com/p/openhab/wiki/Setup

2. Start openhab: sudo ./start_debug.sh

3. Open web interface:
http://localhost:8080/openhab.app?sitemap=demo

4. Go to "Widget overview" -> "RGB Light"

5. Select some color and verify in openhab log that item receives update:
RGBLight received command 30.9375,75.29411764705883,100

7. Now your browser has opened page with this link:
http://localhost:8080/openhab.app?sitemap=demo#_Colorpicker
Don't close browser!

6. Shutdown openhab (press ctrl+C)

7. Start openhab again: sudo ./start_debug.sh

8. Go to browser page 
http://localhost:8080/openhab.app?sitemap=demo#_Colorpicker and press F5.

9. Try to select some color.

Result:
Color item doesn't receive update and this message appears in openhab log:
22:21:00.083 WARN  o.o.u.w.i.servlet.CmdServlet[:120] - Received command 
'131.82481751824815,53.72549019607843,100' for item 'undefined', but the item 
does not exist in the registry

Expected result:
It completely unclear for user why color selection doesn't work. 

To fix this problem user should open web interface root page and then open 
colorpicker again. After that color selection works fine. Actually it is common 
situation when user leaves some link opened. And it is not so convenient to 
remember open root page before changing something.

I use:
ubuntu 13.04
openhab 1.2.0

Original issue reported on code.google.com by igor.zel...@gmail.com on 29 Jun 2013 at 7:32

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 30 Jun 2013 at 7:22

GoogleCodeExporter commented 8 years ago
Migrated to https://bugs.eclipse.org/bugs/show_bug.cgi?id=423518

Original comment by kai.openhab on 7 Dec 2013 at 10:26