NEWUNIT in part name field in Database view.

Discussion in 'C-Bus Toolkit and C-Gate Software' started by Charlie Crackle, Jan 6, 2005.

  1. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    I can not work out what is causing this....

    Load the database and there are a number of units showing NEWUNIT. I know these are wrong double click and the Part name is correct. I thaught it was just NEWUNIT. but what I am finding is that there are a number that show old labels I had one called BATH and changed to BATHHI quit and reload and the the partnumber shows BATH. double clik on it and it shows BATH1

    I find this wierd as why would you be saving the old partnames ?? I can not work out where it is reading them from. I checked the XML file and the old name is stored here (ie BATH) Also the other name BATHHI is stored here too !! (see below)

    Why are you storing the UnitType Twice ?? why does it not update both locations ??

    The network view is fine..

    Charles
     
    Charlie Crackle, Jan 6, 2005
    #1
  2. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    Sorry about reposting the same thing 5 times. The XML example was being eaten buy the Forum software..

    Attached is the example as an image.

    Trying to work out how to delete the other posts
     

    Attached Files:

    Charlie Crackle, Jan 6, 2005
    #2
  3. Charlie Crackle

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia

    Hi Charles,

    Thanks for the detailed post.

    The "PP" parameters are ones that end up in the unit. The first UnitName is a reference to a database parameter only.. There's possible future scenarios that might see these being different, but it would appear you've uncovered an anomaly in the way they operate at the moment.. will research it a bit and get back to you.
     
    Duncan, Jan 6, 2005
    #3
  4. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    Hi Charlie,

    You could edit the XML file with Notepad etc.. but better to wait till the software gets updated, a mis-edit could leave you high and dry..

    Defect # 4167.
     
    Last edited by a moderator: Jan 10, 2005
    Charlie Crackle, Jan 10, 2005
    #4
  5. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    Duncan,

    Are you impersonating me !! or a bug in the forum software !!

    I also found the problem happens whe you scan a virgin network with tool kit and copy all devices to database. The PP name gets updated but the Unitname xmlns = "NEW UNIT".

    Charles,
     
    Charlie Crackle, Jan 17, 2005
    #5
  6. Charlie Crackle

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    That is bizarre.. looks like a VBulletin bug!


    Thanks, we're on top of this now..
     
    Duncan, Jan 17, 2005
    #6
  7. Charlie Crackle

    Ross

    Joined:
    Aug 3, 2004
    Messages:
    174
    Likes Received:
    0
    install 3.05 ;)
    admincp/import&maintenance/repair&optimize tables

    Should do the trick.
    cheers
     
    Ross, Jan 17, 2005
    #7
  8. Charlie Crackle

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia

    Despite it saying 3.0.4 at the bottom, the necessary critical patch files from 3.0.5 are installed.. will give the repair and optimise a shot :)
     
    Duncan, Jan 17, 2005
    #8
  9. Charlie Crackle

    Ross

    Joined:
    Aug 3, 2004
    Messages:
    174
    Likes Received:
    0
    Heheh,
    lol, good to see you are on the job Duncan. You might want to do a backup of the database and then close the forum to general public access while you optimize. Some erroneous errors to database structures similar the one presenting have been known to appear if you don't close the db, or so I've heard. ;)
    cheers
     
    Ross, Jan 17, 2005
    #9
  10. Charlie Crackle

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia

    Thanks Ross.. already ran the optimise without closing down access (whoops :) ).. Didnt fix the problem though.. will go hunting thru the tables at some point and see what went wrong.
     
    Duncan, Jan 17, 2005
    #10
  11. Charlie Crackle

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    Newunit

    Newunit.
    I have found that when i have added some new unit to a project that in toolkit (1.1.4) they show as "newunit" but as soon as you click the partname field they changed to the correct name. If I then save to database and restart toolkit they come back as newunit again.

    dave
     
    Dave Byron, Jan 23, 2005
    #11
  12. Charlie Crackle

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Hi Dave,

    This has been resolved for the next release.
     
    Duncan, Jan 23, 2005
    #12
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.