You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to save a Guest Entry to a Section with the propagation method set to "Save entries to other sites in the same site group" and where one of the sites in that group is set to disabled. The CMS tries to generate a URI by resolving the "Entry URI Format" and the site. Which throws an exception because the site cannot be found in the db as it is disabled.
If we remove the "Entry URI Format" for the disabled site there is no exception.
Steps to reproduce
Create 2 or more sites in the same site group
1.1 Disable one of the sites
Create a Section with an Entry Type
2.1. Set the Section Propagation Method to "Save entries to other sites in the same site group"
2.2. Ensure all sites have an Entry URI Format
Enable the section in the Guest Entries Plugin settings
Setup a front-end for to create a Guest Entry
Submit the form
An error should appear
Additional info
Craft version: 4.5.3
PHP version: 8.1.23
Database driver & version: MySQL 8.0.27
Plugins & versions: craftcms/guest-entries:3.0.1
The text was updated successfully, but these errors were encountered:
Description
When we try to save a Guest Entry to a Section with the propagation method set to "Save entries to other sites in the same site group" and where one of the sites in that group is set to disabled. The CMS tries to generate a URI by resolving the "Entry URI Format" and the site. Which throws an exception because the site cannot be found in the db as it is disabled.
If we remove the "Entry URI Format" for the disabled site there is no exception.
Steps to reproduce
1.1 Disable one of the sites
2.1. Set the Section Propagation Method to "Save entries to other sites in the same site group"
2.2. Ensure all sites have an Entry URI Format
Additional info
The text was updated successfully, but these errors were encountered: