Project

General

Profile

Actions

Bug #26806

closed

Auto-reloading task status not working properly

Added by Marcel Kühlhorn almost 5 years ago. Updated almost 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Foreman plugin
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:

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

autoreload.gif View autoreload.gif 684 KB Marcel Kühlhorn, 05/16/2019 12:57 PM

Related issues 1 (0 open1 closed)

Is duplicate of foreman-tasks - Bug #25444: "Maximum call stack size exceeded" error when opening running task in web UI ClosedIvan NecasActions
Actions #1

Updated by Ondrej Vesely almost 5 years ago

Hello

I have the same issue in Foreman 1.21.3

Actions #2

Updated by Adam Ruzicka almost 5 years ago

Are there any errors in the browser console?

Actions #3

Updated by Marcel Kühlhorn almost 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
Actions #5

Updated by Marcel Kühlhorn almost 5 years ago

Thanks, the patch there indeed fixes it

Actions #6

Updated by Adam Ruzicka almost 5 years ago

  • Is duplicate of Bug #25444: "Maximum call stack size exceeded" error when opening running task in web UI added
Actions #7

Updated by Adam Ruzicka almost 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.

Actions

Also available in: Atom PDF