Skip to content
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

Unable to create new entries when using CP in `fr` or `fr-CA` locale #4894

Closed
martinleveille opened this issue Sep 6, 2019 · 8 comments

Comments

@martinleveille
Copy link

commented Sep 6, 2019

Description

We're unable to create new entries when using the CP in fr or fr-CA locale.

This issue only target channel and structures sections that have entry URI enabled.

There is no issue in 3.2.10.

Steps to reproduce

  1. Do a fresh Craft 3.3.1 install.
  2. Log in and change your user language to the "français" or "français (Canada)" locales.
  3. Create a new channel section that use entry URI.
  4. Create a new entry in that channel and save it.
  5. The screen just reload and the entry is not saved.

Additional info

  • Craft version: Solo and Pro 3.3.1
  • PHP version: 7.2.21
  • Database driver & version: MySQL 5.7.27
  • Plugins & versions: No plugins
@PopaWeb

This comment has been minimized.

Copy link

commented Sep 6, 2019

Same thing here!

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

I’m not able to reproduce this. Can you please send a database backup and your composer.json and composer.lock files over to support@craftcms.com?

@martinleveille

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

Sent the files to the support email. I've made a 2 minutes video that reproduce this issue.

https://www.youtube.com/watch?v=nd-IyE5EnDY

@angrybrad

This comment has been minimized.

Copy link
Member

commented Sep 11, 2019

Thanks for the video, Martin... unfortunately I'm not able to reproduce this on a fresh install of the latest Craft following the exact steps in the video, so we must be missing something. Are you getting any JS errors on your browser's console towards the end when the entry doesn't save?

@martinleveille

This comment has been minimized.

Copy link
Author

commented Sep 11, 2019

That's really a weird one. No javascript errors, no missing files in the network tab. Same issue in Firefox, Chrome and Edge.

I've try different scenarios and the issue only happen in my local env using Laravel Valet. So I've updated my PHP to the latest brew version 7.2.22 and also update the Valet composer package to 2.4.2, but that do not resolve.

The weird part is that Craft 3.2.10 do not have this issue. When I update Craft to 3.3.0, the issue appear ...

I suspect something with Valet or with the PHP locales. Maybe you have some clues about the changes between 3.2.10 and 3.3.0 that can be related to locales.

@martinleveille

This comment has been minimized.

Copy link
Author

commented Sep 12, 2019

I've updated my local env to PHP 7.3.9 and the issue is now resolved on 3.3.2. I will not seek more to solve this problem.

Thank you @brandonkelly and @angrybrad for your time, it's very much appreciated.

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Sep 12, 2019

Good to hear! So it was likely a PHP bug. Do you remember what version of PHP you were running before updating to 7.3.9?

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Sep 12, 2019

Good news – someone else reported the same issue today, and they were able to track down the culprit and help us fix it (#4930). So Craft 3.3.3 is out now with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.