bwssytems / domuslink

web-based frontend for Heyu
http://domus.link.co.pt/
1 stars 1 forks source link

webgui renames predefined macro's and create duplicates #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.

predefine x10.sched file with naming like:

# Alex Room

macro Alex_Wall_Lamp_on 0 on alex_transceiver
macro Alex_Wall_Lamp_off 5 off alex_transceiver

2.

restart the heyu via the gui to load the data.
all the data is visible in the gui... correct naming

3.

after adding timers via the gui and selection for this lamp
the naming has been changed ...

original naming is still present plus a new entry is present:
like:

# Alex Room

macro Alex_Wall_Lamp_on 0 on alex_transceiver
macro Alex_Wall_Lamp_off 5 off alex_transceiver

macro alex_walllamp_on 0 on alex_walllamp
macro alex_walllamp_off 0 off alex_walllamp

and one timer entry has been added with the new naming.

What is the expected output? What do you see instead?

the expected output is that excisting names are being used iso new names. or at 
least clean up the file with the names not being used
reloading data will give errors that macro's are not being used.
Maybe problem is limited in the amount of _ in a name label.
(did not check the code sofar for this)

What version of Heyu and domus.Link are you using? On what operating
system?

both latest versions running on linux system with apache.

Please provide any additional information below.

example data above already provided.

Original issue reported on code.google.com by ControlM...@gmail.com on 12 Aug 2011 at 12:34

GoogleCodeExporter commented 9 years ago
Will need to review the saving of names in relation to upper/lowercase word 
comparisons.

Brad

Original comment by bwsamuels@gmail.com on 18 Aug 2011 at 2:28

GoogleCodeExporter commented 9 years ago
Removed the upper casing for display and the strtolower on saving in v2.0.1.

Original comment by bwsamuels@gmail.com on 13 Nov 2011 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by bwsamuels@gmail.com on 13 Nov 2011 at 8:23

GoogleCodeExporter commented 9 years ago

Original comment by bwsamuels@gmail.com on 2 Dec 2011 at 3:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r891.

Original comment by bwsamuels@gmail.com on 4 Dec 2011 at 6:57