appsgate2015 / appsgate

Appsgate
0 stars 5 forks source link

Impossible to rename a Plug when he has been assigned a default name #308

Closed jandernascimento closed 9 years ago

jandernascimento commented 9 years ago

Descriptions

When a new plug is paired, he gets the name "Prise pilotable-X" (X | X belonging to integer > 0). Once he gets this name its impossible to rename it.

How to reproduce

Connect a new Plug (leave it turned off) > Go to Devices > (Select your new plug) > (Rename it) > Clean the cache of your browser and reload the page

Actual result

The plug is assigned to the old name ("Prise pilotable-1" in my case)

Expected result

The plug is assigned the new name

Log

15:10:03.753 [pool-7-thread-6] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 15:10:03.775 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - msg --> {"targetType":"1","objectId":"21106637055","method":"getCurrentTimeInMillis","args":[],"TARGET":"EHMI","callId":"systemCurrentTime"} 15:10:03.776 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - notify listeners for new command event 15:10:03.777 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - retrieving command listener for EHMI target. 15:10:03.777 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - Command listener appsgate.lig.ehmi.impl.listeners.EHMICommandListener@1c4baf4 found, invoking onReceivedCommand 15:10:03.778 [WebSocketWorker-133] WARN a.l.c.d.p.t.i.DevicePropertiesTableImpl - There is no grammar associated with the type 21 of device 21106637055 15:10:03.792 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 15:10:03.795 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - Finished invoking listener appsgate.lig.ehmi.impl.listeners.EHMICommandListener@1c4baf4 for command {"TARGET":"EHMI","args":[],"objectId":"21106637055","method":"getCurrentTimeInMillis","callId":"systemCurrentTime","clientId":9222527,"targetType":"1"}. 15:10:03.796 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - msg --> {"targetType":"1","objectId":"21106637055","method":"getTimeFlowRate","args":[],"TARGET":"EHMI","callId":"systemCurrentFlowRate"} 15:10:03.796 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - notify listeners for new command event 15:10:03.797 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - retrieving command listener for EHMI target. 15:10:03.798 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - Command listener appsgate.lig.ehmi.impl.listeners.EHMICommandListener@1c4baf4 found, invoking onReceivedCommand 15:10:03.800 [WebSocketWorker-133] WARN a.l.c.d.p.t.i.DevicePropertiesTableImpl - There is no grammar associated with the type 21 of device 21106637055 15:10:03.813 [pool-7-thread-10] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 15:10:03.815 [WebSocketWorker-133] DEBUG a.l.m.c.communication.WebSockeServer - Finished invoking listener appsgate.lig.ehmi.impl.listeners.EHMICommandListener@1c4baf4 for command {"TARGET":"EHMI","args":[],"objectId":"21106637055","method":"getTimeFlowRate","callId":"systemCurrentFlowRate","clientId":9222527,"targetType":"1"}. 15:10:06.632 [Thread-26194] DEBUG o.o.c.f.d.p.BridgeSearchScheduler - Search finished. New search scheduled to run in 10000 ms. 15:10:10.424 [bridge-search-thread] DEBUG o.o.c.f.d.p.BridgeSearchScheduler - Searching for Hue.. 15:10:15.308 [Cyber.HTTPServer//192.168.1.24:8475] TRACE org.cybergarage.util.Debug - CyberGarage message : httpServThread ... 15:10:15.320 [Cyber.HTTPServer//192.168.1.24:8476] TRACE org.cybergarage.util.Debug - CyberGarage message : accept ... 15:10:16.634 [bridge-search-thread] DEBUG o.o.c.f.d.p.BridgeSearchScheduler - Searching for Hue.. 15:10:17.858 [Thread-26205] DEBUG o.o.c.f.d.p.BridgeSearchScheduler - Search finished. New search scheduled to run in 10000 ms. 15:10:24.510 [Thread-26208] DEBUG o.o.c.f.d.p.BridgeSearchScheduler - Search finished. New search scheduled to run in 10000 ms.

kpetouk commented 9 years ago

I get the feeling it's related to Raspberry performance issues, since I can't reproduce it on my side. Could you please send me the console log of your browser?

kpetouk commented 9 years ago

Impossible à reproduire. A peut-être été corrigé entre temps. A retester à la prochaine release!