Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

[OGUI-1782] Bug in safari: error using filter property by an iterator#3095

Merged
graduta merged 2 commits intodevAliceO2Group/WebUi:devfrom
bug/QCG/OGUI-1782/safari-error-layouts-viewAliceO2Group/WebUi:bug/QCG/OGUI-1782/safari-error-layouts-viewCopy head branch name to clipboard
Oct 3, 2025
Merged

[OGUI-1782] Bug in safari: error using filter property by an iterator#3095
graduta merged 2 commits intodevAliceO2Group/WebUi:devfrom
bug/QCG/OGUI-1782/safari-error-layouts-viewAliceO2Group/WebUi:bug/QCG/OGUI-1782/safari-error-layouts-viewCopy head branch name to clipboard

Conversation

@mariscalromeroalejandro
Copy link
Contributor

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

This PR addresses a Safari-specific bug that prevented users from accessing the Layout View page. The issue was caused by calling .filter() directly on an iterator returned by Map.values().

While browsers like Firefox and Chrome allow this usage, Safari follows the JavaScript specification more strictly and throws an error. Solution: We now convert the iterator into an array before applying .filter() to ensure consistent behavior across all browsers.

@graduta graduta added release and removed breaking javascript Pull requests that update javascript code labels Oct 3, 2025
@graduta graduta merged commit e2a6e0f into dev Oct 3, 2025
4 of 5 checks passed
@graduta graduta deleted the bug/QCG/OGUI-1782/safari-error-layouts-view branch October 3, 2025 09:03
Deaponn pushed a commit that referenced this pull request Oct 6, 2025
…#3095)

* bugfix: convert iterator into an array to be supported by safari
* Bump QCG from 3.15.1 to 3.15.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.