I'm experiencing errors when I'm attempting to export sections that have only been assigned to a locale that is not the primary locale for the site.
Screenshot of error attached.
The sections in question don't have URLs and the error is being thrown by the line attempting to set the nestedUrlFormat for the section, which appears to always be referencing the primary locale for the site.
Would it make more sense to first check if there is a urlFormat set for the section and automatically set the nestedUrlFormat to null if the section doesn't have URLs?
The Architect 1.5.2, Craft CMS Pro 2.6.2949
I'm experiencing errors when I'm attempting to export sections that have only been assigned to a locale that is not the primary locale for the site.
Screenshot of error attached.
The sections in question don't have URLs and the error is being thrown by the line attempting to set the
nestedUrlFormat
for the section, which appears to always be referencing the primary locale for the site.Would it make more sense to first check if there is a
urlFormat
set for the section and automatically set thenestedUrlFormat
tonull
if the section doesn't have URLs?