LinuxMCE Forums
June 19, 2013, 09:04:39 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Device Template Self-Destruction on Ruby Code Edit  (Read 769 times)
alx9r
Guru
****
Posts: 187


View Profile
« on: April 11, 2009, 12:38:50 am »

When editing ruby codes for RS232 device templates from the admin page, I have found that some commands result in the entire list of ruby codes being wiped out from the template.  Has anyone else seen this?

Which exact clicks do you perform to make changes to your ruby rectangles?

Here is what I am doing:
1. Admin Page => Advanced =>Configuration=>Device Templates
2. Select Device Template 71 (Denon AVC-A1SRA (RS232)).
3. Click 'Pick Device Template'.  'Edit Device template #71' window opens.
4. 'Edit Device template #71' window, click 'Edit Audio/Video Properties'.  'Edit IR Codes' window opens.
5. I am trying to edit ruby box #165 DVD in the inputs section.  There seems to be three possibilities to change the contents of that ruby box:
    a) click 'New Code'. This opens the 'Learn Code' window.  Fill in the new code in the rectangle and click 'Add Code'.
  OR
    b) click 'Delete Code'.  (Maybe I could just delete this one code it and re-create it.)
  OR
    c) change the code in the ruby rectangle in this window and click 'Update' at the bottom of the page.

All three options in step 5 result in the same thing: An 'Edit IR Codes' with no ruby rectangles at all except for #165 that I'm editing.  I have had similar experiences with other templates although I always eventually found a way to edit the ruby rectangle without template destruction.  For this one, I am stumped.

I have attached screenshots before and after destruction.

Thanks for your help,

Alex
Logged

hari
Administrator
LinuxMCE God
*****
Posts: 2414



View Profile WWW
« Reply #1 on: April 11, 2009, 10:09:34 am »

I've seen the exact same with the Marantz SR template (that is the reason why it stayed unfixed for such long time)

was that 0710 or 0810?

br, Hari
Logged

rock your home - http://www.agocontrol.com home automation
alx9r
Guru
****
Posts: 187


View Profile
« Reply #2 on: April 11, 2009, 03:24:54 pm »

I've seen the exact same with the Marantz SR template (that is the reason why it stayed unfixed for such long time)
Thanks for confirming, hari.  It seems the stakes are pretty high attempting any changes to an elaborate template.

Quote
was that 0710 or 0810?
0710RC2 both the AMD64 and i386 versions do this. 

Alex
Logged

bulek
Administrator
wants to work for LinuxMCE
*****
Posts: 868

Living with LMCE


View Profile
« Reply #3 on: April 11, 2009, 07:33:52 pm »

Hi,

haven't noticed this, but obviously my weird way of editing Ruby codes saved me this problem. I always do Copy on code, then paste it to external text editor and then copy/paste back when it's ready. Then I just update everything...

HTH,

regards,

Bulek.
Logged

Thanks in advance,

regards,

Bulek.
jondecker76
Alumni
wants to work for LinuxMCE
*
Posts: 763


View Profile
« Reply #4 on: April 12, 2009, 10:45:06 am »

This is a known issue and is being worked on. It only happens while editing existing device templates. (If you start your own device, you can work on it with no problems, it only happens to device templates that already exist in sqlCVS). I should be getting around to fixing this in the next couple of weeks
Logged
alx9r
Guru
****
Posts: 187


View Profile
« Reply #5 on: April 12, 2009, 02:34:12 pm »

This is a known issue and is being worked on...I should be getting around to fixing this in the next couple of weeks

Great!  Thanks jondecker!

Quote
It only happens while editing existing device templates. (If you start your own device, you can work on it with no problems, it only happens to device templates that already exist in sqlCVS).
Thanks for confirming this.  That's what I am seeing.

Alex
Logged

hari
Administrator
LinuxMCE God
*****
Posts: 2414



View Profile WWW
« Reply #6 on: April 12, 2009, 05:22:16 pm »

hmm, maybe it tries to fetch latest (empty) "shared IR codes"?

br, Hari
Logged

rock your home - http://www.agocontrol.com home automation
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!