Skip to content

Fix admin UI crashes - #5195

Merged
myovchev merged 1 commit into
mainfrom
pro-8751-fix
Dec 4, 2025
Merged

myovchev merged 1 commit into
mainfrom
pro-8751-fix

Conversation

@myovchev

@myovchev myovchev commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

Summary

Fixes unhandled errors in some cases, that lead to blank editor modals.
Points to possible edge cases.

Note: this is a quick fix of a bigger problem. This should be converted to more defensive code with less state changes and try/catch error handling. Another side effect that needs testing is modals reporting change when there is no change in the state (needs confirmation).

The regression origin: #5176

What are the specific steps to test this change?

No unhandled errors.

What kind of change does this PR introduce?

(Check at least one)

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Build-related changes
  • Other

Make sure the PR fulfills these requirements:

  • It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
  • The changelog is updated
  • Related documentation has been updated
  • Related tests have been updated

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

@linear

linear Bot commented Dec 4, 2025

Copy link
Copy Markdown

@myovchev
myovchev requested a review from ETLaurent December 4, 2025 11:57
@myovchev
myovchev merged commit d32601d into main Dec 4, 2025
12 checks passed
@myovchev
myovchev deleted the pro-8751-fix branch December 4, 2025 12:03
haroun added a commit that referenced this pull request Dec 10, 2025
* main: (26 commits)
  more (#5207)
  adds permission.isAdmin (#5192)
  Skip string choices, disallow type change (#5203)
  Fix stylelint dependency conflict (#5199)
  oops old version number in main (#5201)
  just merging back the changelog (#5198)
  PRO-8758: soft-redirect and url encoding  (#5191)
  Fix admin UI crashes (#5195)
  PRO-8756: monorepo workflows (#5179)
  PRO-8768: relative paths for the good operating systems (#5194)
  bump express-cache-on-demand to 1.0.4 (#5190)
  the video is no longer available, use apostrophecms channel video wit… (#5183)
  add changelog for pro-8751 (#5187)
  pro 8751 schema update (#5176)
  Pro 8761 i18n static tests (#5185)
  Pro 8756 monorepo switch (#5177)
  release 4.24.0 (#5173)
  PRO-8743: windows fix 2b: back off on the file:/// URLs for vite (#5169)
  add batch failure notifications (#5157)
  PRO-8735 PR take 2 (#5168)
  ...
haroun added a commit that referenced this pull request Dec 10, 2025
* main: (26 commits)
  more (#5207)
  adds permission.isAdmin (#5192)
  Skip string choices, disallow type change (#5203)
  Fix stylelint dependency conflict (#5199)
  oops old version number in main (#5201)
  just merging back the changelog (#5198)
  PRO-8758: soft-redirect and url encoding  (#5191)
  Fix admin UI crashes (#5195)
  PRO-8756: monorepo workflows (#5179)
  PRO-8768: relative paths for the good operating systems (#5194)
  bump express-cache-on-demand to 1.0.4 (#5190)
  the video is no longer available, use apostrophecms channel video wit… (#5183)
  add changelog for pro-8751 (#5187)
  pro 8751 schema update (#5176)
  Pro 8761 i18n static tests (#5185)
  Pro 8756 monorepo switch (#5177)
  release 4.24.0 (#5173)
  PRO-8743: windows fix 2b: back off on the file:/// URLs for vite (#5169)
  add batch failure notifications (#5157)
  PRO-8735 PR take 2 (#5168)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants