[Katello 2.2.2] Web UI gets javascript error that crashes browser when viewing tasks

When I got to the Monitor -> Tasks menu in Katello, it causes the browser
to crash by giving some strange javascript repeating loop.

I am using the latest version of Firefox and I have noticed this issue for
several months now across several versions of Katello.

This happens almost 100% of the time when the tasks page auto-refreshes.

Screenshot attached.

The only solution is to force close the browser.

More information on how I reproduced this.

It is actually not going directly to tasks that seems to cause this. You
have to go to a task that has subtasks.

Complete steps from beginning to end:
1)Create a product
2)setup multiple external repos for that product
3)do a mass sync (I had 4 repos updating in this case) which will cause a
parent task with subtasks to get created.
4)click on the tasks tab for the product.
5)Click the sub-tasks link which will bring you to the subtasks page
(screenshot attached).
6)Wait for the page to reload and watch the errors start.

As you can see in the latest linked example, on the first reload, I get 3
copies of the menu bar, on the subsequent reloads, the entire screen fills
up as linked in the first post.

··· On Tuesday, June 30, 2015 at 11:06:55 AM UTC-7, Nathan Peters wrote: > > When I got to the Monitor -> Tasks menu in Katello, it causes the browser > to crash by giving some strange javascript repeating loop. > > I am using the latest version of Firefox and I have noticed this issue for > several months now across several versions of Katello. > > This happens almost 100% of the time when the tasks page auto-refreshes. > > Screenshot attached. > > The only solution is to force close the browser. >

This sounds like a potential issue in foreman-tasks. I'd file an issue here
Issues - foreman-tasks - Foreman .

Eric

··· On Tue, Jun 30, 2015 at 2:54 PM, Nathan Peters wrote:

More information on how I reproduced this.

It is actually not going directly to tasks that seems to cause this. You
have to go to a task that has subtasks.

Complete steps from beginning to end:
1)Create a product
2)setup multiple external repos for that product
3)do a mass sync (I had 4 repos updating in this case) which will cause a
parent task with subtasks to get created.
4)click on the tasks tab for the product.
5)Click the sub-tasks link which will bring you to the subtasks page
(screenshot attached).
6)Wait for the page to reload and watch the errors start.

As you can see in the latest linked example, on the first reload, I get 3
copies of the menu bar, on the subsequent reloads, the entire screen fills
up as linked in the first post.

On Tuesday, June 30, 2015 at 11:06:55 AM UTC-7, Nathan Peters wrote:

When I got to the Monitor -> Tasks menu in Katello, it causes the browser
to crash by giving some strange javascript repeating loop.

I am using the latest version of Firefox and I have noticed this issue
for several months now across several versions of Katello.

This happens almost 100% of the time when the tasks page auto-refreshes.

Screenshot attached.

The only solution is to force close the browser.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University

http://projects.theforeman.org/issues/11092

Thanks.

··· On Tuesday, July 7, 2015 at 5:26:34 AM UTC-7, Eric Helms wrote: > > This sounds like a potential issue in foreman-tasks. I'd file an issue > here http://projects.theforeman.org/projects/foreman-tasks/issues . > > > Eric > > On Tue, Jun 30, 2015 at 2:54 PM, Nathan Peters > wrote: > >> More information on how I reproduced this. >> >> It is actually not going directly to tasks that seems to cause this. You >> have to go to a task that has subtasks. >> >> Complete steps from beginning to end: >> 1)Create a product >> 2)setup multiple external repos for that product >> 3)do a mass sync (I had 4 repos updating in this case) which will cause a >> parent task with subtasks to get created. >> 4)click on the tasks tab for the product. >> 5)Click the sub-tasks link which will bring you to the subtasks page >> (screenshot attached). >> 6)Wait for the page to reload and watch the errors start. >> >> As you can see in the latest linked example, on the first reload, I get 3 >> copies of the menu bar, on the subsequent reloads, the entire screen fills >> up as linked in the first post. >> >> >> On Tuesday, June 30, 2015 at 11:06:55 AM UTC-7, Nathan Peters wrote: >>> >>> When I got to the Monitor -> Tasks menu in Katello, it causes the >>> browser to crash by giving some strange javascript repeating loop. >>> >>> I am using the latest version of Firefox and I have noticed this issue >>> for several months now across several versions of Katello. >>> >>> This happens almost 100% of the time when the tasks page auto-refreshes. >>> >>> Screenshot attached. >>> >>> The only solution is to force close the browser. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Eric D. Helms > Red Hat Engineering > Ph.D. Student - North Carolina State University >