View Issue Details

IDProjectCategoryView StatusLast Update
599RackTablesdefaultpublic2012-09-10 00:19
ReporterTraXter Assigned Toadoom42  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntu OS VersionLTS 12.04
Product Version0.20.0 
Target Version0.20.0Fixed in Version0.20.0 
Summary599: 0.20.0 Change of Rack Location results in Error "Missing Record"
DescriptionAdding a rack with name "Rack 1" and location "-None-" can be added. Afterwards, the location cannot be changed and results in Blank Page with Error "Missing Record Object #XX".

Adding the rack "Rack 1" and setting location directly to the correct one works without problem. Just changing is not working!

Steps To ReproduceAdd a rack and do not set a location. Once added, try to change the location. You will see something like:

Missing record

Object 'object'#'16' does not exist
Additional InformationClickpath: Rackspace => Manage Rows

The problem seems to be occuring since change of unique object patch some days ago.
TagsNo tags attached.

Activities

adoom42

adoom42

2012-09-08 19:56

administrator   ~0000776

TraXter, I assume you are referring to Rows and not Racks, as Racks don't have a Location field.

I wasn't able to reproduce the error. Steps taken:

- Navigate to the Rackspace -> Manage rows page.
- Add a Row named 'fakeRow' with Location set to --NONE--. It added successfully.
- Change the Location of 'fakeRow' to 'London'. It worked.
- Change the Location of 'fakeRow' to --NONE--. It worked.

It would be helpful to see your data set. If you can reproduce the issue on a set of fake data, please attach the mysqldump to this issue. Otherwise, consider sending your real data set to devteam@racktables.org.
TraXter

TraXter

2012-09-08 20:24

reporter   ~0000777

Hi Aaron,

infact, I meant rows not racks - sorry for that confusion, but same happens to racks also!

I have this bugs with two instances, fresh git checkout each. I would be able to give you access to my test racktables and sql database. Configuring an account for you there and will mail the details to devteam@racktables.org

Cheers
Thomas
adoom42

adoom42

2012-09-08 22:22

administrator   ~0000778

Ok, I reproduced the error and committed a fix.

https://github.com/RackTables/racktables/commit/bddabf9060466dc547c4f7edc5b8953ad9b9a0a0
TraXter

TraXter

2012-09-08 22:36

reporter   ~0000779

Last edited: 2012-09-08 22:36

Awesome job!

Did a git pull and adding and editing rows works. I'm sorry to say that now another problem occurs: adding new racks through Objects => Add More => Same type, same tags Section does not work any more (object type rack). Result is the same error message. However, other objects can be added right fine.

Cheers
Thomas

adoom42

adoom42

2012-09-08 22:52

administrator   ~0000780

Racks, Rows and Locations are special and should be added using the Rackspace -> Manage... forms instead of the Objects -> Add More form. This has been tightened down in the latest commit.

https://github.com/RackTables/racktables/commit/0000f03a37e37d52388aee960966f34fcd0c172e

Issue History

Date Modified Username Field Change
2012-09-07 15:16 TraXter New Issue
2012-09-07 18:01 adoom42 Assigned To => adoom42
2012-09-07 18:01 adoom42 Status new => assigned
2012-09-08 19:56 adoom42 Note Added: 0000776
2012-09-08 19:56 adoom42 Status assigned => feedback
2012-09-08 19:56 adoom42 Product Version => development repository checkout
2012-09-08 19:56 adoom42 Target Version => 0.20.0
2012-09-08 20:24 TraXter Note Added: 0000777
2012-09-08 20:24 TraXter Status feedback => assigned
2012-09-08 22:22 adoom42 Note Added: 0000778
2012-09-08 22:22 adoom42 Status assigned => closed
2012-09-08 22:22 adoom42 Resolution open => fixed
2012-09-08 22:22 adoom42 Fixed in Version => development repository checkout
2012-09-08 22:36 TraXter Note Added: 0000779
2012-09-08 22:36 TraXter Status closed => feedback
2012-09-08 22:36 TraXter Resolution fixed => reopened
2012-09-08 22:36 TraXter Note Edited: 0000779
2012-09-08 22:52 adoom42 Note Added: 0000780
2012-09-08 22:52 adoom42 Status feedback => closed
2012-09-08 22:52 adoom42 Resolution reopened => fixed
2012-09-10 00:19 adoom42 Product Version development repository checkout => 0.20.0
2012-09-10 00:19 adoom42 Fixed in Version development repository checkout => 0.20.0