-
Notifications
You must be signed in to change notification settings - Fork 6
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
appending a non-existent locale to standard wrapper does not load #341
Comments
Thanks @arouinfar. At first I thought this was #334, but that was about non-existent locales in studio. This is a different problem for the standard wrapper. |
https://github.com/phetsims/phet-io-wrappers/commit/84da4632b21a7163b3e7922604d2ced29b5d4133 is the only commit referenced in https://github.com/phetsims/phet-io/issues/1901, @samreid is that all we need? Then Ill also do https://github.com/phetsims/phet-io-sim-specific/commit/b3b518e231cfa737aa5e51b6533647c2f3f7ca11. |
I think that phetsims/ph-scale#274 lists what needs to be cherry-picked for this. |
phetsims/ph-scale#274 (comment) and the following comments confirm that those two commits are all that are needed. |
I had a merge conflict with https://github.com/phetsims/phet-io-sim-specific/commit/b3b518e231cfa737aa5e51b6533647c2f3f7ca11. I met with @arouinfar and she helped me resolve conflicts the best way for friction-1.6. @arouinfar said to test passing ?locale=xy with and without |
While testing locally I kept hitting an assertion running studio from compiled index about the namespace. @samreid identified that I needed phetsims/phet-core@ee0545a, Ill cherry-pick that into friction-1.6 SHAs as well. |
OK, I verified in 1.6 SHAs that ?locale=xy in the standard wrapper does not cause any error or assertion. That is true even when running with Ready to verify. @arouinfar if you wouldn't mind verifying this one in rc.3, that would probably be best. |
@jessegreenberg looks good in rc.3, but I'll leave it for QA to close during testing. |
Then I'll changed the label to fixed-awaiting-deploy. |
This is fixed in rc.3. When adding a nonexistent locale, such as xy, to the standard wrapper's url, it is ignored and the sim opens in English. With ?phetioDebug=true, there is no assertion error and the sim opens in English.
Closing. |
Related to phetsims/qa#899
The problem described in https://github.com/phetsims/phet-io/issues/1901 exists in the latest Friction RC.
This has already been corrected in master, but it's not obvious to me which commits need cherry-picking, so I recommend that @jessegreenberg consult with @samreid.
Additionally, I made a related change to phet-io-guide.md that will also need to be cherry-picked.
https://github.com/phetsims/phet-io-sim-specific/commit/b3b518e231cfa737aa5e51b6533647c2f3f7ca11
The text was updated successfully, but these errors were encountered: