Couldn’t save single entry due to validation errors on the slug and/or URI
Open
@andris-sevcenko is already working on this.
Since Apr 17, 2019.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
Error while project sync
Exception: Couldn’t save single entry due to validation errors on the slug and/or URI (/usr/share/nginx/vendor/craftcms/cms/src/services/Sections.php:1590)
uriFormat: __home__ is failing for single entry while project sync
Steps to reproduce
- Create a single section in craft cms 3 and leave the URI blank which creates a single entry in project.yaml with
uriFormat: __home__ - Now apply the above changes on your another craft cms instance(staging, dev etc..) via
craft project-config/sync
Additional info
- Craft version: 3.1.22
- PHP version: 7.3.3
- Database driver & version: MySQL 5.6.0
- Plugins & versions:
"vlucas/phpdotenv": "^2.4.0"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.