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

Closes #16786: Clone device location from rack #17508

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Commits on Sep 16, 2024

  1. Clone device site and location from rack

    When a device is assigned to a rack, its site and location are cloned
    from the rack regardless of user input. This also allows some
    consistency checks to be removed, as inconsistent data would still be
    overwritten with valid values when saving the Device object.
    alehaa committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    fd309a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5e8e53 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Revert "Clone device site and location from rack"

    This reverts commit fd309a0.
    alehaa committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    98ca4b2 View commit details
    Browse the repository at this point in the history
  2. Fix device location check

    Instead of an exact match between device and rack location, it is now
    sufficient if the device location or one of its children contains the
    selected rack.
    alehaa committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    add8640 View commit details
    Browse the repository at this point in the history