Skip to content

fix(strapi): dedupe CodeMirror packages to prevent JSON field crash - #27007

Closed
AdityaOP007 wants to merge 11 commits into
strapi:developfrom
AdityaOP007:fix/27003-codemirror-json-field-crash
Closed

AdityaOP007 wants to merge 11 commits into
strapi:developfrom
AdityaOP007:fix/27003-codemirror-json-field-crash

Conversation

@AdityaOP007

@AdityaOP007 AdityaOP007 commented Jul 13, 2026 •

Copy link
Copy Markdown

fix(strapi): dedupe CodeMirror packages in admin bundler to fix JSON field crash

Summary

This PR fixes the JSON field editor crash reported in #27003.

After a fresh installation, opening any entry containing a JSON field could throw the following runtime error:

Unrecognized extension value in extension set ([object Object]).
This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.

The issue is caused by multiple runtime instances of CodeMirror packages being created during the admin bundling process. While the package manager installs only a single version of @codemirror/state, Vite can still produce multiple module instances during dependency optimization, causing CodeMirror's internal instanceof checks to fail.

This PR applies the same singleton resolution strategy already used for React and @strapi/design-system to the CodeMirror packages used by the JSON editor.

What changed

  • Added a shared codemirror-packages.ts helper containing the list of CodeMirror packages that should resolve as singletons.

  • Updated the admin Vite configuration to:

    • dedupe CodeMirror packages
    • alias them to a single physical installation
    • include them in optimizeDeps so they are pre-bundled into a single optimized graph
  • Added the same aliases to the webpack configuration for compatibility with the legacy bundler.

  • Added unit tests covering the new helper utilities.

The following packages are now resolved as singletons:

  • @codemirror/state
  • @codemirror/view
  • @codemirror/language
  • @codemirror/lang-json
  • @codemirror/commands
  • @codemirror/lint
  • @uiw/react-codemirror

Why this approach?

The JSON editor inside @strapi/design-system relies on CodeMirror 6. Since CodeMirror packages are externalized during the design-system build, Vite may optimize them into separate dependency graphs.

When extensions are created from one runtime instance of @codemirror/state and validated against another, CodeMirror rejects them because the instanceof checks no longer match.

By forcing all CodeMirror imports to resolve to a single runtime instance, the editor receives compatible extension objects and the JSON field loads correctly without requiring users to pin dependency versions or add manual Vite configuration.

How to test

  1. Clean the project.
rm -rf node_modules package-lock.json .cache build
npm install
npm run build
npm run develop
  1. Log in to the Strapi Admin.

  2. Open Content Manager.

  3. Open or create an entry containing a JSON field.

  4. Verify that:

    • the JSON editor loads successfully
    • no CodeMirror errors appear in the browser console
    • editing and saving the JSON field works normally

Regression checks

  • Admin production build succeeds.
  • Development mode and hot reload continue to work.
  • Content-type Builder JSON inputs still function correctly.
  • Plugin admin pages using the design system load without errors.
  • Existing Rich Text editor functionality remains unaffected.

Test results

Unit tests

PASS packages/core/strapi/src/node/core/__tests__/codemirror-packages.test.ts

✓ lists the required CodeMirror packages
✓ builds aliases for resolvable packages

Test Suites: 1 passed
Tests: 2 passed

Package resolution

Resolvable packages:
- @codemirror/state
- @codemirror/view
- @codemirror/language
- @codemirror/lang-json
- @codemirror/commands
- @codemirror/lint
- @uiw/react-codemirror

Aliases generated successfully for all packages.

Build output

NX Successfully ran target build for project @strapi/strapi and its dependent tasks.

Admin build

✓ Building build context
✓ Building admin panel
Build completed successfully.

Runtime verification

✓ Fresh npm install completed successfully.
✓ Admin started without errors.
✓ JSON field opened successfully.
✓ JSON editor rendered correctly.
✓ No "Unrecognized extension value in extension set" error in the browser console.
✓ JSON edits saved and persisted after page refresh.

Related


Fixes CPR-452

@dosubot dosubot Bot added pr: fix This PR is fixing a bug source: core:strapi Source is core/strapi package labels Jul 13, 2026
@github-actions github-actions Bot added the community Changes and fixes created by community members label Jul 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been added to our community triage board as CPR-452.

@innerdvations innerdvations added this to the 5.50.2 milestone Jul 13, 2026
@innerdvations

Copy link
Copy Markdown
Contributor

Thanks! We've already merged fixes for the issue (fixed in design-system, and bumped in the current develop branch of strapi/strapi), but this looks like a good addition on its own.

@AdityaOP007

Copy link
Copy Markdown
Author

Thanks! We've already merged fixes for the issue (fixed in design-system, and bumped in the current develop branch of strapi/strapi), but this looks like a good addition on its own.

Thanks for reviewing this PR ,So this would be able to merge or require some new changes

@innerdvations

Copy link
Copy Markdown
Contributor

Looks good to me as a defense-in-depth improvement (even with the design-system fix already merged/bumped on develop) — keeping CodeMirror packages deduped at the Strapi bundler layer should help avoid multi-instance issues via plugin chunks/hoisting.

One small request before merge: could you please double-check yarn lint on the branch? The most likely lint/TS issue in this diff would be an unused import around getCodemirrorAliases / getResolvableCodemirrorPackages in packages/core/strapi/src/node/vite/config.ts if either one ends up not being referenced.

Quick fix if that’s the case: remove the unused import, or wire it into resolve.alias / optimizeDeps.include.

Also FYI: the Vercel check is failing due to authorization requirements, not because of the code changes.

AI-assisted comment.

@AdityaOP007

Copy link
Copy Markdown
Author

Looks good to me as a defense-in-depth improvement (even with the design-system fix already merged/bumped on develop) — keeping CodeMirror packages deduped at the Strapi bundler layer should help avoid multi-instance issues via plugin chunks/hoisting.

One small request before merge: could you please double-check yarn lint on the branch? The most likely lint/TS issue in this diff would be an unused import around getCodemirrorAliases / getResolvableCodemirrorPackages in packages/core/strapi/src/node/vite/config.ts if either one ends up not being referenced.

Quick fix if that’s the case: remove the unused import, or wire it into resolve.alias / optimizeDeps.include.

Also FYI: the Vercel check is failing due to authorization requirements, not because of the code changes.

AI-assisted comment.

Sure will do

@AdityaOP007

Copy link
Copy Markdown
Author

Looks good to me as a defense-in-depth improvement (even with the design-system fix already merged/bumped on develop) — keeping CodeMirror packages deduped at the Strapi bundler layer should help avoid multi-instance issues via plugin chunks/hoisting.

One small request before merge: could you please double-check yarn lint on the branch? The most likely lint/TS issue in this diff would be an unused import around getCodemirrorAliases / getResolvableCodemirrorPackages in packages/core/strapi/src/node/vite/config.ts if either one ends up not being referenced.

Quick fix if that’s the case: remove the unused import, or wire it into resolve.alias / optimizeDeps.include.

Also FYI: the Vercel check is failing due to authorization requirements, not because of the code changes.

AI-assisted comment.

Thanks for the review!

I double-checked the branch and found that the getCodemirrorAliases / getResolvableCodemirrorPackages wiring had been dropped during the merge with the latest develop refactor. I've restored both so they're now actively used in the Vite config, and there are no unused imports anymore.

I also ran the requested checks:

  • yarn workspace @strapi/strapi lint ✅
  • yarn workspace @strapi/strapi test:ts ✅

Both pass successfully. The only remaining failing check is the Vercel authorization one, which is unrelated to this change.

Thanks again for the careful review!

@GrayYoung

Copy link
Copy Markdown

Hi guys, can you release a version with the fix as soon as possible? I need the feature urgently.

@AdityaOP007

Copy link
Copy Markdown
Author

Hi guys, can you release a version with the fix as soon as possible? I need the feature urgently.

The fix is ready from my side and the review feedback has been addressed. The release schedule is up to the maintainers, but hopefully it can be included in the next release.

@innerdvations

Copy link
Copy Markdown
Contributor

Yes, the fix will go out in the next release. In the meantime, you should be able to use the workaround in #26951

@innerdvations innerdvations added publish-experimental Trigger the Experimental publish on npm (publish-prerelease.yml) and removed publish-experimental Trigger the Experimental publish on npm (publish-prerelease.yml) labels Jul 14, 2026
…ests

Derive resolvable CodeMirror packages from admin-closure aliases so
optimizeDeps and dedupe stay consistent under pnpm. Pin discovered
singletons against optimizeDeps auto-exclude and add vite wiring tests.
@coderabbitai

coderabbitai Bot commented Jul 14, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: ccdd1a16-6b73-4b3d-aa1f-dc2d32c25ccb

📥 Commits

Reviewing files that changed from the base of the PR and between 01af7c6 and 7ff4650.

📒 Files selected for processing (7)
  • packages/core/strapi/src/node/core/__tests__/admin-vite-optimize-exclude.test.ts
  • packages/core/strapi/src/node/core/__tests__/codemirror-packages.test.ts
  • packages/core/strapi/src/node/core/admin-vite-optimize-exclude.ts
  • packages/core/strapi/src/node/core/codemirror-packages.ts
  • packages/core/strapi/src/node/vite/config.ts
  • packages/core/strapi/src/node/vite/resolve-development-config.test.ts
  • packages/core/strapi/src/node/webpack/config.ts

Walkthrough

Changes

CodeMirror singleton integration

Layer / File(s) Summary
CodeMirror resolution helpers and coverage
packages/core/strapi/src/node/core/codemirror-packages.ts, packages/core/strapi/src/node/core/__tests__/codemirror-packages.test.ts
Defines CodeMirror singleton packages, resolves aliases, derives resolvable packages, and tests standard and fallback resolution.
Bundler alias and dedupe wiring
packages/core/strapi/src/node/vite/config.ts, packages/core/strapi/src/node/vite/resolve-development-config.test.ts, packages/core/strapi/src/node/webpack/config.ts
Adds resolvable CodeMirror packages to Vite inclusion and deduplication, merges aliases into Vite and webpack, and validates the configuration.
Optimize dependency exclusion handling
packages/core/strapi/src/node/core/admin-vite-optimize-exclude.ts, packages/core/strapi/src/node/core/__tests__/admin-vite-optimize-exclude.test.ts
Treats resolvable CodeMirror packages as pinned singletons and tests that they are not excluded from optimization.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Suggested reviewers: innerdvations

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: deduping CodeMirror packages to fix the JSON field crash.
Description check ✅ Passed The description matches the changeset and explains the CodeMirror bundling fix and related tests.
Linked Issues check ✅ Passed The PR addresses #27003 by preventing multiple CodeMirror instances through aliasing, dedupe, and optimizeDeps wiring.
Out of Scope Changes check ✅ Passed The changes stay focused on CodeMirror singleton resolution, Vite/Webpack config, and supporting tests.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AdityaOP007

Copy link
Copy Markdown
Author

Yes, the fix will go out in the next release. In the meantime, you should be able to use the workaround in #26951

Hi! Thanks for taking the time to review this.

I've addressed the feedback and rerun the requested checks (lint and the TypeScript checks), and everything is passing now. From your perspective, does this PR look ready to be merged, or is there anything else you'd like me to update before it can be merged?

Align monorepo installs with design-system 2.2.3 pins (6.7.1 / 6.43.0)
so admin Vite aliases resolve the same copies as JSONInput at dev time.
@innerdvations

Copy link
Copy Markdown
Contributor

I've addressed the feedback and rerun the requested checks (lint and the TypeScript checks), and everything is passing now. From your perspective, does this PR look ready to be merged, or is there anything else you'd like me to update before it can be merged?

I'm reviewing it again now, I've pushed some changes and additional tests. Since the core fix has already been merged, I think we may release without this particular PR so that we have more time to review and make sure it won't cause any additional problems, but we will most likely merge this in the coming days as an added layer of defense against regressions on this issue.

@innerdvations innerdvations modified the milestones: 5.50.2, 5.50.3 Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Size Change: -110 kB (-3.26%)

Total Size: 3.26 MB

📦 View Changed
Filename Size Change
examples/getstarted/build/CreatePage-*********** 2 kB +6 B (+0.3%)
examples/getstarted/build/CreateView-*********** 302 B +5 B (+1.68%)
examples/getstarted/build/da.json-*********** 125 B -3.47 kB (-96.53%) 🏆
examples/getstarted/build/de.json-*********** 2.91 kB -13.1 kB (-81.75%) 🏆
examples/getstarted/build/EditPage-*********** 4.74 kB +2.8 kB (+144.23%) 🆘
examples/getstarted/build/en.json-*********** 5.41 kB -1.05 kB (-16.25%) 👏
examples/getstarted/build/es.json-*********** 150 B -4.85 kB (-97%) 🏆
examples/getstarted/build/fr.json-*********** 1.32 kB -11.4 kB (-89.64%) 🏆
examples/getstarted/build/hooks-*********** 92 B +10 B (+12.2%) ⚠️
examples/getstarted/build/id.json-*********** 1.39 kB -3.12 kB (-69.15%) 🏆
examples/getstarted/build/Layout-*********** 2.19 kB +1.34 kB (+157.16%) 🆘
examples/getstarted/build/ListPage-*********** 1.92 kB -1.53 kB (-44.31%) 🎉
examples/getstarted/build/ms.json-*********** 3.93 kB +2.75 kB (+232.51%) 🆘
examples/getstarted/build/pt.json-*********** 1.51 kB -2.65 kB (-63.64%) 🏆
examples/getstarted/build/strapi-*********** 1.78 MB -57.2 kB (-3.11%)
examples/getstarted/build/sv.json-*********** 3.69 kB -6.69 kB (-64.42%) 🏆
examples/getstarted/build/Table-*********** 1.44 kB -5 B (-0.35%)
examples/getstarted/build/th.json-*********** 3.28 kB -2.88 kB (-46.76%) 🎉
examples/getstarted/build/useLicenseLimitNotification-*********** 705 B -5 B (-0.7%)
examples/getstarted/build/Widgets-*********** 2.55 kB +730 B (+40.09%) 🚨
examples/getstarted/build/zh-Hans.json-*********** 12.1 kB -3.35 kB (-21.67%) 🎉
examples/getstarted/build/zh.json-*********** 4.69 kB -6.1 kB (-56.54%) 🏆
ℹ️ View Unchanged
Filename Size Change
examples/getstarted/build/_baseEach-*********** 221 B +1 B (+0.45%)
examples/getstarted/build/_baseMap-*********** 191 B +1 B (+0.53%)
examples/getstarted/build/AdminSeatInfo-*********** 845 B -1 B (-0.12%)
examples/getstarted/build/AIUsage-*********** 702 B -2 B (-0.28%)
examples/getstarted/build/apiTokens-*********** 619 B -1 B (-0.16%)
examples/getstarted/build/App-*********** 22.8 kB 0 B
examples/getstarted/build/ApplicationInfoPage-*********** 4.31 kB -2 B (-0.05%)
examples/getstarted/build/ar.json-*********** 15.6 kB 0 B
examples/getstarted/build/AuthenticatedLayout-*********** 57.9 kB +4 B (+0.01%)
examples/getstarted/build/AuthResponse-*********** 418 B 0 B
examples/getstarted/build/ca.json-*********** 9.44 kB 0 B
examples/getstarted/build/CardDragPreview-*********** 587 B 0 B
examples/getstarted/build/ColorPickerInput-*********** 4.25 kB 0 B
examples/getstarted/build/ComponentConfigurationPage-*********** 1.61 kB +4 B (+0.25%)
examples/getstarted/build/ConfigureTheView-*********** 1.54 kB +1 B (+0.06%)
examples/getstarted/build/constants-*********** 716 B 0 B
examples/getstarted/build/core.esm-*********** 14.5 kB -1 B (-0.01%)
examples/getstarted/build/CreateActionEE-*********** 514 B 0 B
examples/getstarted/build/cs-*********** 76 B 0 B
examples/getstarted/build/cs.json-*********** 16.7 kB 0 B
examples/getstarted/build/dummy-preview-*********** 3.32 kB -1 B (-0.03%)
examples/getstarted/build/EditConfigurationPage-*********** 1.09 kB +4 B (+0.37%)
examples/getstarted/build/EditView-*********** 2.01 kB +3 B (+0.15%)
examples/getstarted/build/EditViewPage-*********** 4.8 kB +2 B (+0.04%)
examples/getstarted/build/en-*********** 74 B 0 B
examples/getstarted/build/en-GB-*********** 15.1 kB 0 B
examples/getstarted/build/es-*********** 74 B 0 B
examples/getstarted/build/eu.json-*********** 10.4 kB 0 B
examples/getstarted/build/EventsTable-*********** 392 B +4 B (+1.03%)
examples/getstarted/build/fi.json-*********** 15.3 kB 0 B
examples/getstarted/build/FieldTypeIcon-*********** 461 B -2 B (-0.43%)
examples/getstarted/build/Form-*********** 5.48 kB +1 B (+0.02%)
examples/getstarted/build/FormApiTokenContainer-*********** 1.04 kB +1 B (+0.1%)
examples/getstarted/build/getActionTypesDefaultMessages-*********** 498 B -1 B (-0.2%)
examples/getstarted/build/getTrad-*********** 382 B -1 B (-0.26%)
examples/getstarted/build/groupBy-*********** 372 B +1 B (+0.27%)
examples/getstarted/build/gu.json-*********** 9.06 kB 0 B
examples/getstarted/build/he.json-*********** 6.11 kB 0 B
examples/getstarted/build/hi.json-*********** 11.1 kB 0 B
examples/getstarted/build/History-*********** 6.95 kB +1 B (+0.01%)
examples/getstarted/build/HomePage-*********** 247 kB -2 B (0%)
examples/getstarted/build/hu.json-*********** 11.2 kB 0 B
examples/getstarted/build/id-*********** 7.64 kB +1 B (+0.01%)
examples/getstarted/build/index-*********** 215 kB -3 B (0%)
examples/getstarted/build/index.html 594 B +1 B (+0.17%)
examples/getstarted/build/InstalledPlugins-*********** 777 B 0 B
examples/getstarted/build/isNil-*********** 121 B 0 B
examples/getstarted/build/it.json-*********** 15.4 kB 0 B
examples/getstarted/build/ja.json-*********** 17.2 kB 0 B
examples/getstarted/build/ko.json-*********** 17.1 kB 0 B
examples/getstarted/build/layout-*********** 3.5 kB 0 B
examples/getstarted/build/LazyOutlet-*********** 308 B 0 B
examples/getstarted/build/ListConfigurationPage-*********** 4.39 kB +3 B (+0.07%)
examples/getstarted/build/ListView-*********** 6.84 kB -2 B (-0.03%)
examples/getstarted/build/ListViewPage-*********** 7.61 kB +3 B (+0.04%)
examples/getstarted/build/Login-*********** 464 B 0 B
examples/getstarted/build/MagicLinkEE-*********** 386 B -3 B (-0.77%)
examples/getstarted/build/ml.json-*********** 11.3 kB 0 B
examples/getstarted/build/ModalForm-*********** 243 B 0 B
examples/getstarted/build/nl.json-*********** 16.1 kB 0 B
examples/getstarted/build/no.json-*********** 5.47 kB 0 B
examples/getstarted/build/NoContentTypePage-*********** 454 B -1 B (-0.22%)
examples/getstarted/build/NoPermissionsPage-*********** 232 B -1 B (-0.43%)
examples/getstarted/build/Permissions-*********** 11.7 kB 0 B
examples/getstarted/build/pl.json-*********** 16.4 kB 0 B
examples/getstarted/build/PrivateRoute-*********** 249 B -2 B (-0.8%)
examples/getstarted/build/ProfilePage-*********** 2.48 kB -1 B (-0.04%)
examples/getstarted/build/pt-BR.json-*********** 10.5 kB 0 B
examples/getstarted/build/purchase-review-workflows-*********** 66.3 kB -1 B (0%)
examples/getstarted/build/PurchaseAuditLogs-*********** 70.5 kB -1 B (0%)
examples/getstarted/build/PurchaseContentHistory-*********** 80.9 kB -1 B (0%)
examples/getstarted/build/PurchaseContentReleases-*********** 55.9 kB -1 B (0%)
examples/getstarted/build/PurchaseSingleSignOn-*********** 25 kB 0 B
examples/getstarted/build/RelativeTime-*********** 407 B -1 B (-0.25%)
examples/getstarted/build/ReleasesPage-*********** 4.09 kB 0 B
examples/getstarted/build/ReleasesSettingsPage-*********** 1.52 kB -1 B (-0.07%)
examples/getstarted/build/router-*********** 392 B +2 B (+0.51%)
examples/getstarted/build/ru-*********** 91 B 0 B
examples/getstarted/build/ru.json-*********** 17.2 kB 0 B
examples/getstarted/build/sa.json-*********** 11.2 kB 0 B
examples/getstarted/build/schemas-*********** 3.14 kB 0 B
examples/getstarted/build/SearchInput-*********** 647 B -1 B (-0.15%)
examples/getstarted/build/selectors-*********** 111 B 0 B
examples/getstarted/build/SelectRoles-*********** 1.03 kB -3 B (-0.29%)
examples/getstarted/build/SessionsPage-*********** 1.48 kB 0 B
examples/getstarted/build/Settings-*********** 3.66 kB 0 B
examples/getstarted/build/SettingsPage-*********** 3.81 kB 0 B
examples/getstarted/build/SingleSignOnPage-*********** 1.81 kB 0 B
examples/getstarted/build/sk-*********** 76 B 0 B
examples/getstarted/build/sk.json-*********** 16.9 kB 0 B
examples/getstarted/build/sortable.esm-*********** 2.86 kB 0 B
examples/getstarted/build/sortBy-*********** 695 B 0 B
examples/getstarted/build/SSOProviders-*********** 756 B -1 B (-0.13%)
examples/getstarted/build/strapi-************ 844 B 0 B
examples/getstarted/build/tail-*********** 242 B -1 B (-0.41%)
examples/getstarted/build/TokenBox-*********** 122 kB +1 B (0%)
examples/getstarted/build/tr-*********** 83 B 0 B
examples/getstarted/build/tr.json-*********** 13.7 kB 0 B
examples/getstarted/build/transferTokens-*********** 504 B -1 B (-0.2%)
examples/getstarted/build/uk-*********** 91 B 0 B
examples/getstarted/build/uk.json-*********** 15.5 kB 0 B
examples/getstarted/build/useAdminRoles-*********** 244 B -1 B (-0.41%)
examples/getstarted/build/UseCasePage-*********** 1.39 kB +2 B (+0.14%)
examples/getstarted/build/useDragLayer-*********** 181 B 0 B
examples/getstarted/build/users-*********** 352 B 0 B
examples/getstarted/build/useWebhooks-*********** 645 B -1 B (-0.15%)
examples/getstarted/build/validation-*********** 533 B -1 B (-0.19%)
examples/getstarted/build/vi.json-*********** 13.7 kB 0 B
examples/getstarted/build/WidgetHelpers-*********** 463 B +1 B (+0.22%)
examples/getstarted/build/widgetVisibility-*********** 260 B -1 B (-0.38%)

compressed-size-action

@AdityaOP007

Copy link
Copy Markdown
Author

I've addressed the feedback and rerun the requested checks (lint and the TypeScript checks), and everything is passing now. From your perspective, does this PR look ready to be merged, or is there anything else you'd like me to update before it can be merged?

I'm reviewing it again now, I've pushed some changes and additional tests. Since the core fix has already been merged, I think we may release without this particular PR so that we have more time to review and make sure it won't cause any additional problems, but we will most likely merge this in the coming days as an added layer of defense against regressions on this issue.

Thanks for the update and for taking another look!

That makes sense. I completely understand wanting to be extra cautious since the core fix is already in place. I'm happy to wait while you finish the review, and if you spot anything that should be adjusted or improved, just let me know—I'd be happy to make the changes.

Thanks again for the detailed review!

@norld

norld commented Jul 14, 2026

Copy link
Copy Markdown

got same issue lol

@AdityaOP007

Copy link
Copy Markdown
Author

I've addressed the feedback and rerun the requested checks (lint and the TypeScript checks), and everything is passing now. From your perspective, does this PR look ready to be merged, or is there anything else you'd like me to update before it can be merged?

I'm reviewing it again now, I've pushed some changes and additional tests. Since the core fix has already been merged, I think we may release without this particular PR so that we have more time to review and make sure it won't cause any additional problems, but we will most likely merge this in the coming days as an added layer of defense against regressions on this issue.

Hi @innerdvations, hope you're doing well!

Just checking in on this PR. I know you mentioned it would likely be merged after some additional review since the core fix had already landed.

I've kept the branch up to date with the latest develop changes, and I'm happy to make any further adjustments if needed. If everything looks good from your side, I'd really appreciate it if you could review it once more and let me know if it's ready to be merged.

Thanks again for all the time you've put into reviewing this and for the helpful feedback!

@innerdvations

Copy link
Copy Markdown
Contributor

@jhoward1994 Has a PR handling some similar things, I'm going to pass this one off to him to make the final decision

@AdityaOP007

Copy link
Copy Markdown
Author

@jhoward1994 Has a PR handling some similar things, I'm going to pass this one off to him to make the final decision

Thanks for the update, I really appreciate it!

Sounds good. I'll leave it in @jhoward1994's hands for the final review. If there's anything you'd like me to change or clarify during the review, I'm happy to make the updates.

Thanks again for taking the time to review this PR!

@jhoward1994

Copy link
Copy Markdown
Contributor

Thanks for this! I'm going to close it as we've merged #27064

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Changes and fixes created by community members pr: fix This PR is fixing a bug source: core:strapi Source is core/strapi package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin panel broken by CodeMirror release.

5 participants