Skip to content

Conversation

@jorrit
Copy link
Contributor

@jorrit jorrit commented Jul 23, 2025

What does it do?

My PR #291 causes a bug when updating / bulk generating documents that have no locale.

Why is it needed?

When updating a documents alias without a locale, a -0 is always appended.

How to test it?

Create a content type without internationalization and create a document with that type. Then update it.

@changeset-bot
Copy link

changeset-bot bot commented Jul 23, 2025

🦋 Changeset detected

Latest commit: 6f1ca00

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
strapi-plugin-webtools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.48%. Comparing base (6843cd7) to head (6f1ca00).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
- Coverage   40.87%   40.48%   -0.40%     
==========================================
  Files           2        2              
  Lines         614      615       +1     
  Branches      146      149       +3     
==========================================
- Hits          251      249       -2     
- Misses        290      295       +5     
+ Partials       73       71       -2     
Flag Coverage Δ
unit 40.48% <ø> (-0.40%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jorrit
Copy link
Contributor Author

jorrit commented Jul 23, 2025

I've added some more commits for small fixes and to get the playground working on Windows.

@jorrit jorrit changed the title fix: alias gets -0 suffix when updating non-i18n document Fixes for installations/content types without i18n Jul 23, 2025
jorrit added 4 commits July 23, 2025 16:23
Yalc uses the `LOCALAPPDATA` environment variable to determine where to put local packages.
Without this change, turbo does not propagate `LOCALAPPDATA` to the `build` commands in packages. The packages get published to ``%HOME%\.yalc` instead of `%LOCALAPPDATA%\Yalc`. This means that `playground:publish` will not find them in `%LOCALAPPDATA%\Yalc`.
@jorrit jorrit force-pushed the fixnoni18nupdate branch from f3fab57 to 6f1ca00 Compare July 23, 2025 14:23
Copy link
Member

@boazpoolman boazpoolman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and approved!

@boazpoolman boazpoolman merged commit e3612a1 into pluginpal:master Jul 26, 2025
7 of 8 checks passed
@pluginpal-bot pluginpal-bot mentioned this pull request Jul 26, 2025
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