Bug #26806
closedAuto-reloading task status not working properly
Added by Marcel Kühlhorn over 5 years ago. Updated over 5 years ago.
Description
When viewing the status of a running task with auto-reloading on the content of the page will jump to the right on the first reload and the status will never reload again unless the page is refreshed
Steps to reproduce:
1. start any task
2. go to Monitor -> Tasks
3. Klick on the running task
4. If disabled, enable auto-reloading
5. Wait for the status to reload
Files
Updated by Ondrej Vesely over 5 years ago
Hello
I have the same issue in Foreman 1.21.3
Updated by Adam Ruzicka over 5 years ago
Are there any errors in the browser console?
Updated by Marcel Kühlhorn over 5 years ago
Adam Ruzicka wrote:
Are there any errors in the browser console?
jquery.js:9064 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.js:9064
ajax @ jquery.js:8656
m._evalUrl @ jquery.js:8819
ke @ jquery.js:5288
replaceWith @ jquery.js:5534
success @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:100
l @ jquery.js:3187
fireWith @ jquery.js:3317
j @ jquery.js:8757
(anonymous) @ jquery.js:9123
load (async)
send @ jquery.js:9142
ajax @ jquery.js:8656
reload @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:95
setTimeout (async)
start @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:114
(anonymous) @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:172
(anonymous) @ application-1a0cbb115eb11e6b4835d94525d9fb9b6c39ee9f50112a41f122fc2eeca4d6a2.js:1
dispatch @ jquery.js:4737
b.handle @ jquery.js:4549
trigger @ jquery.js:7807
(anonymous) @ jquery.js:7875
each @ jquery.js:365
each @ jquery.js:137
trigger @ jquery.js:7874
onLoad @ application-1a0cbb115eb11e6b4835d94525d9fb9b6c39ee9f50112a41f122fc2eeca4d6a2.js:1
l @ jquery.js:3187
fireWith @ jquery.js:3317
ready @ jquery.js:3536
L @ jquery.js:3552
VM142:1 Uncaught Error: only one instance of babel-polyfill is allowed
at Object.eval (eval at globalEval (jquery.js:343), <anonymous>:1:147611)
at Object.node_modules/babel-polyfill/lib/index.js (eval at globalEval (jquery.js:343), <anonymous>:1:148145)
at a (eval at globalEval (jquery.js:343), <anonymous>:1:411)
at Object.4 (eval at globalEval (jquery.js:343), <anonymous>:1:2931)
at a (eval at globalEval (jquery.js:343), <anonymous>:1:411)
at eval (eval at globalEval (jquery.js:343), <anonymous>:1:2830)
at eval (eval at globalEval (jquery.js:343), <anonymous>:1:2839)
at eval (<anonymous>)
at Function.globalEval (jquery.js:343)
at text script (jquery.js:9208)
(anonymous) @ VM142:1
node_modules/babel-polyfill/lib/index.js @ VM142:1
a @ VM142:1
4 @ VM142:1
a @ VM142:1
(anonymous) @ VM142:1
(anonymous) @ VM142:1
globalEval @ jquery.js:343
text script @ jquery.js:9208
(anonymous) @ jquery.js:8243
j @ jquery.js:8707
(anonymous) @ jquery.js:9123
send @ jquery.js:9175
ajax @ jquery.js:8656
m._evalUrl @ jquery.js:8819
ke @ jquery.js:5288
replaceWith @ jquery.js:5534
success @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:100
l @ jquery.js:3187
fireWith @ jquery.js:3317
j @ jquery.js:8757
(anonymous) @ jquery.js:9123
load (async)
send @ jquery.js:9142
ajax @ jquery.js:8656
m._evalUrl @ jquery.js:8819
ke @ jquery.js:5288
replaceWith @ jquery.js:5534
success @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:100
l @ jquery.js:3187
fireWith @ jquery.js:3317
j @ jquery.js:8757
(anonymous) @ jquery.js:9123
load (async)
send @ jquery.js:9142
ajax @ jquery.js:8656
reload @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:95
setTimeout (async)
start @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:114
(anonymous) @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:172
(anonymous) @ application-1a0cbb115eb11e6b4835d94525d9fb9b6c39ee9f50112a41f122fc2eeca4d6a2.js:1
dispatch @ jquery.js:4737
b.handle @ jquery.js:4549
trigger @ jquery.js:7807
(anonymous) @ jquery.js:7875
each @ jquery.js:365
each @ jquery.js:137
trigger @ jquery.js:7874
onLoad @ application-1a0cbb115eb11e6b4835d94525d9fb9b6c39ee9f50112a41f122fc2eeca4d6a2.js:1
l @ jquery.js:3187
fireWith @ jquery.js:3317
ready @ jquery.js:3536
L @ jquery.js:3552
VM143:1 Uncaught TypeError: Cannot set property Jed of #<Window> which has only a getter
at Object.eval (eval at globalEval (jquery.js:343), <anonymous>:1:46618)
at Object../webpack/assets/javascripts/react_app/common/I18n.js (eval at globalEval (jquery.js:343), <anonymous>:1:46752)
at a (eval at globalEval (jquery.js:343), <anonymous>:1:411)
at Object../webpack/assets/javascripts/foreman_tools.js (eval at globalEval (jquery.js:343), <anonymous>:1:36664)
at a (eval at globalEval (jquery.js:343), <anonymous>:1:411)
at Object../webpack/assets/javascripts/foreman_compute_resource.js (eval at globalEval (jquery.js:343), <anonymous>:1:15815)
at a (eval at globalEval (jquery.js:343), <anonymous>:1:411)
at Object../webpack/assets/javascripts/bundle.js (eval at globalEval (jquery.js:343), <anonymous>:1:312)
at a (eval at globalEval (jquery.js:343), <anonymous>:1:411)
at window.webpackJsonp (eval at globalEval (jquery.js:343), <anonymous>:1:284)
(anonymous) @ VM143:1
./webpack/assets/javascripts/react_app/common/I18n.js @ VM143:1
a @ VM142:1
./webpack/assets/javascripts/foreman_tools.js @ VM143:1
a @ VM142:1
./webpack/assets/javascripts/foreman_compute_resource.js @ VM143:1
a @ VM142:1
./webpack/assets/javascripts/bundle.js @ VM143:1
a @ VM142:1
window.webpackJsonp @ VM142:1
(anonymous) @ VM143:1
globalEval @ jquery.js:343
text script @ jquery.js:9208
(anonymous) @ jquery.js:8243
j @ jquery.js:8707
(anonymous) @ jquery.js:9123
send @ jquery.js:9175
ajax @ jquery.js:8656
m._evalUrl @ jquery.js:8819
ke @ jquery.js:5288
replaceWith @ jquery.js:5534
success @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:100
l @ jquery.js:3187
fireWith @ jquery.js:3317
j @ jquery.js:8757
(anonymous) @ jquery.js:9123
load (async)
send @ jquery.js:9142
ajax @ jquery.js:8656
m._evalUrl @ jquery.js:8819
ke @ jquery.js:5288
replaceWith @ jquery.js:5534
success @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:100
l @ jquery.js:3187
fireWith @ jquery.js:3317
j @ jquery.js:8757
(anonymous) @ jquery.js:9123
load (async)
send @ jquery.js:9142
ajax @ jquery.js:8656
reload @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:95
setTimeout (async)
start @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:114
(anonymous) @ a3ba6690-72da-4c0f-a150-77b3e084a5b4:172
(anonymous) @ application-1a0cbb115eb11e6b4835d94525d9fb9b6c39ee9f50112a41f122fc2eeca4d6a2.js:1
dispatch @ jquery.js:4737
b.handle @ jquery.js:4549
trigger @ jquery.js:7807
(anonymous) @ jquery.js:7875
each @ jquery.js:365
each @ jquery.js:137
trigger @ jquery.js:7874
onLoad @ application-1a0cbb115eb11e6b4835d94525d9fb9b6c39ee9f50112a41f122fc2eeca4d6a2.js:1
l @ jquery.js:3187
fireWith @ jquery.js:3317
ready @ jquery.js:3536
L @ jquery.js:3552
Updated by Adam Ruzicka over 5 years ago
Looks a lot like https://projects.theforeman.org/issues/25444
Updated by Marcel Kühlhorn over 5 years ago
Thanks, the patch there indeed fixes it
Updated by Adam Ruzicka over 5 years ago
- Is duplicate of Bug #25444: "Maximum call stack size exceeded" error when opening running task in web UI added
Updated by Adam Ruzicka over 5 years ago
- Status changed from New to Duplicate
I'm going to close this as a duplicate. Feel free to reopen it if needed.