Bug #3089
closedUpdating settings causes settings page to load again within the page
Description
Since #2969, updating a setting via the UI causes the request to be redirected back to the index on success and the settings page gets loaded within the settings page again, causing a huge mess in the UI.
Looks like this happens because process_response in application_controller had its JSON handling removed, and this is one instance where we legitimately perform model updates using JSON. Previously, it would just render the object.
Updated by Dominic Cleal almost 11 years ago
- Related to Feature #2969: remove all legacy api code in UI controllers added
Updated by Dominic Cleal almost 11 years ago
- Has duplicate Bug #3100: Saving sso_signo in Settings/Auth returns whole foreman page instead of json partial added
Updated by Joseph Magen almost 11 years ago
- Status changed from New to Assigned
- Assignee set to Joseph Magen
Updated by Joseph Magen almost 11 years ago
Updated by Joseph Magen almost 11 years ago
- Status changed from Assigned to Ready For Testing
Updated by Dominic Cleal almost 11 years ago
- Priority changed from High to Immediate
@Lukas Zapletal, I'd recommend leaving the old "invalid" string in app/models/setting.rb in place when cherry picking so we don't add new strings into a stable branch. Or perhaps better is change it to "is invalid %s" (no ":") so it matches one of our existing strings.
Updated by Joseph Magen almost 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 76fec0747a538c639b9484c8e4c3d01916b891a0.
Updated by Lukas Zapletal almost 11 years ago
- Related to Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final added
Updated by Lukas Zapletal almost 11 years ago
- Related to deleted (Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final)