Finding a deleted reference in a theme
-
- Advanced Member
- Posts: 206
- Joined: Tue Oct 07, 2003 10:01 am
- Location: Columbus, OH
- Contact:
Finding a deleted reference in a theme
I am trying to export a theme and the export fails because it thinks it has a deleted reference. I have taken the file into an external editor and looked for all instances of D_ID and made sure they all point to the same device ID is there another ID I need to check on the xml file?
-
- HouseBot Special Member
- Posts: 409
- Joined: Tue Jul 13, 2004 9:13 am
- Location: Tigard, OR
-
- Advanced Member
- Posts: 206
- Joined: Tue Oct 07, 2003 10:01 am
- Location: Columbus, OH
- Contact:
I found the problem -- it is a little HB quirk. If you have device properties that are referenced in a panel enter or exit list and then delete the device, you cannot do an export even if you re-create the device unless the device ends up with the same object ID. You cannot see the property changes on the enter and exit properties because since HouseBot can no longer find the device ID it errors out and therefore they are not available to change-- watch for the message in the message line on the bottom of the screen. When you try and do an export you get a Reference to Deleted device error. The only way to fix this is to load up the theme XML in an editor and look for D_ID that are different from the one for the current valid device and replace them manually.