Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on the pipeline name freezes the page (on Firefox 112) #998

Closed
silverhook opened this issue Nov 3, 2023 · 7 comments
Closed

Clicking on the pipeline name freezes the page (on Firefox 112) #998

silverhook opened this issue Nov 3, 2023 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@silverhook
Copy link

Describe the bug

Lately, whenever I click on a pipeline name in a project, the page freezes and I cannot do anything – mouse cursor does not change on links, scrolling does not work, … – until I reload the page.

System configuration

staging instance, v32.7.0-27-g69bc11130

To Reproduce
Steps to reproduce the behavior:

  1. Open a scan
  2. Click on any of the pipline names
  3. Try do anything
  4. See error

This happens to me on Firefox 112. It worked fine before and it still works in Chromium.

Expected behavior
It should not freeze, but open the dialog.

@silverhook silverhook added the bug Something isn't working label Nov 3, 2023
@AyanSinhaMahapatra
Copy link
Contributor

@silverhook this is the same as #959 btw

@silverhook
Copy link
Author

Still happens on Firefox 119.0.1 with ScanCode.io v32.7.0-37-gf4fbf03e2

But I can narrow it down now to (seemingly) just the deploy_to_develop pipeline.

If I click on scan_codebase_packages or populate_purldb, it works as expected.

@AyanSinhaMahapatra
Copy link
Contributor

@silverhook can you try copying and pasting the url (without the credentials in them) and see if this still happens? This seemed to fix it for me.

@silverhook
Copy link
Author

@AyanSinhaMahapatra , sorry for the late reply.

Which URL should I be copying and pasting? On mouse-over on the pipeline name, I do not get a URL at all.

@AyanSinhaMahapatra
Copy link
Contributor

@silverhook no worries, I mean here the URL from the browser search bar/url for SCIO (if you access an SCIO instance with the credentials in the URL, the credentials are not shown after you sign in, but they are present somehow. If you copy paste, you're deliberately removing this. )
This url will be something like: https://.scancode.io/project// in contrast to an URL with credentials, which would look like: https://:@.scancode.io/project//

@silverhook
Copy link
Author

This worked. Odd.

tdruez added a commit that referenced this issue Jan 12, 2024
tdruez added a commit that referenced this issue Jan 16, 2024
tdruez added a commit that referenced this issue Jan 16, 2024
* Fix the pipeline details fetch for URLs with credentials #998

Signed-off-by: tdruez <[email protected]>

* Remove the console.log debug statement #998

Signed-off-by: tdruez <[email protected]>

---------

Signed-off-by: tdruez <[email protected]>
@tdruez
Copy link
Contributor

tdruez commented Jan 16, 2024

@silverhook Thanks for reporting this one.
The fix is included in the latest ScanCode.io release v33.0.0

@tdruez tdruez closed this as completed Jan 16, 2024
@tdruez tdruez added this to the v33.0.0 milestone Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants