Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating room id creates a new room #1601

Closed
adobloug opened this issue Oct 25, 2017 · 1 comment
Closed

Updating room id creates a new room #1601

adobloug opened this issue Oct 25, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@adobloug
Copy link

Updating the roomid in the seed database creates a new room instead of renaming it.

Manually updating the database room table also updates the netbox table which is the way we think renaming a room should work.

@jmbredal jmbredal added the bug label Nov 8, 2017
@jmbredal jmbredal self-assigned this Nov 8, 2017
@jmbredal jmbredal added this to the 4.7.3 milestone Nov 8, 2017
@lunkwill42
Copy link
Member

@adobloug Updating room id's isn't really supported, since the ID's are primary keys in the database (which causes us various issues with referential integrity).

Therefore, the workaround for this is to create a new room, then use the bulk moving functionality of SeedDB's IP Device interface to move all applicable netboxes to a new room (The Move selected button).

Our fix for this immediate issue is to disable editing of room id's for existing rooms. There is however #1377, which, when fixed, would make what you're asking for possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants