Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

File a new bug button issues #349

Open
jamesjer opened this issue Feb 18, 2018 · 11 comments
Open

File a new bug button issues #349

jamesjer opened this issue Feb 18, 2018 · 11 comments

Comments

@jamesjer
Copy link

Visit a URL such as https://bugz.fedoraproject.org/gcc/. After the bugs load, click on the "Overview" tab. Now click on the "Bugs" tab. At this point, the "File a new bug" button no longer works, and I have been unable to figure out any way of making it work again short of closing the browser tab and starting over.

@tyll
Copy link

tyll commented Mar 14, 2018

same bug here

@rugk
Copy link

rugk commented May 19, 2018

same, any news here??

@lentzi90
Copy link

I'll see what I can do tomorrow :)
What I have found so far is that the cause is missing javascript. See the images below.

workingWorking, notice the script tags.
brokenBroken, missing script tags.

@dreua
Copy link

dreua commented Jun 19, 2018

Workaround: Ctrl + F5 (Reload with invalidated cache on most Browsers)
But still this must be fixed of course.

@abitrolly
Copy link
Contributor

Just faced with the same problem here.

Going https://apps.fedoraproject.org/packages/vagrant/overview/ and clicking Bugs - button does not work.

Going to https://apps.fedoraproject.org/packages/vagrant/bugs/ URL directly from address bar - button works giving two choices.

image

@abitrolly
Copy link
Contributor

When Moksha dynamically reloads tabs, it forgets about JS. When page is loaded directly on the tab, the JS is fetched correctly. Must be a problem in Moksha JS loader.

Quite interesting that right now there is the Shadow DOM that is a direct solution for the problem of isolated widgets. Moksha was really ahead of time.

https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM

@abitrolly
Copy link
Contributor

Found the source https://github.com/fedora-infra/fedora-packages/blob/b2a27ee/fedoracommunity/widgets/package/templates/bugs_stats_widget.mak

Now need to understand where JS is supposed to be added here.

@sergiomb2
Copy link

#425

@abitrolly
Copy link
Contributor

@jeremycline and @ralphbean are the only people left in @mokshaproject to push this from the stall.

@rugk
Copy link

rugk commented Jun 7, 2020

Thanks to the fact that this now shows 404 errors when you try to access the page directly (see #447), the workaround – typing /bugsinto the adress bar to e.g. go here – does not work anymore.

Edit: And accessing the tab itself, also does not work – yet again…

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants