Actions
Bug #5389
closedURL doesn't update correctly after creating a new host
Description
When creating a new host successfully, foreman redirects to the host show page, however, the url remains /hosts/new.
This seems to break the AJAX which updates the VM info.
Updated by Dominic Cleal over 10 years ago
- Related to Bug #5065: pressing "Cancel Build"/"Build" button returns a 404 if the host has been just renamed. added
Updated by Stephen Benjamin over 10 years ago
I hit this now where the VM power controls aren't loading anymore due to this bug.
Ohad pointed out the relevant Javascript is here:
[22:06] < ohadlevy> Dominic: i dont think its hard to fix, its at https://github.com/theforeman/foreman/blob/develop/app/assets/javascripts/host_edit.js#L86
I poked it with a stick to see if I could get it to something. I'm not sure exactly what I'm doing with jQuery... it seems I need to return response.redirect so the javascript triggers a true redirect instead of loading the content into a div or whatever it's doing there.
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 4
Updated by Dominic Cleal over 10 years ago
- Related to Feature #3592: Lazily load compute resource VM details through AJAX for performance added
Updated by Dominic Cleal over 10 years ago
- Related to Bug #5470: vm power state is not updating after, new host completion. added
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release deleted (
4)
The AJAX part is being addressed via #5470.
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Ready For Testing
- Assignee set to Amos Benari
- Target version set to 1.8.3
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 4
Updated by Dominic Cleal over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
This was merged as 5f58478b95ffd51eb41f53718e09c03a3613c827 with the wrong issue number.
Updated by Dominic Cleal over 10 years ago
- Related to Bug #4310: URL on host edit page after submitting changes added
Actions