tronghuyict56 / openhab

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

Invalid character in images filenames #471

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.add an icon to an item which contains a dash in its filename
2.
3.

What is the expected output? What do you see instead?
Expected output should be the correct icon. Incase of the clock iconfiles 
(clock.png & clock-on.png) only clock.png is shown and output is missing.

What version of the product are you using? On what operating system?
1.3.1

Please provide any additional information below.
Also designer is complaining:

Multiple markers at this line
- mismatched input '-' expecting '>'
- mismatched input '=' expecting RULE_ID
- mismatched input '>' expecting RULE_ID

Renaming the files in openhab/webapps/images/ so they contain underscores 
instead of dashes is a workaround until the next release.

Cheers,

Dennis

Original issue reported on code.google.com by dlind...@gmail.com on 22 Sep 2013 at 8:51

GoogleCodeExporter commented 9 years ago
The dash is used as delimiter, this allows to show different icons for 
different states (switch on or off, contact open or closed and so on)

Original comment by udo1t...@gmail.com on 23 Sep 2013 at 4:13

GoogleCodeExporter commented 9 years ago
That I didn't know.
I was triggered by the message of designer which got me thinking.
Sorry for any inconvenience, I'll close this issue.

Cheers,

Dennis

Original comment by dlind...@gmail.com on 23 Sep 2013 at 4:20

GoogleCodeExporter commented 9 years ago
It seems I can't close it. Please close this issue as it's as designed.

Cheers,

Dennis

Original comment by dlind...@gmail.com on 23 Sep 2013 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 24 Sep 2013 at 3:33