Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
1.12.0
-
None
Description
Problem
Trying to publish content using the "Content on the fly" module causes an error if no default location is defined.
Problem occurs inside following JS file:
vendor/ezsystems/content-on-the-fly-prototype/bundle/Resources/public/js/views/plugins/cof-selectcontenttypeplugin.js:40
.then(function (result) {
event.target.set('suggestedLocations', result);
})
Steps to reproduce
1. Configure no default location:
parameters: content_on_the_fly.default.content: default: location: []
NOTE: Make sure to clear the cache
2. Open "Content Browse" and switch tab to "Create"
3. Choose a content type
4. Error notify occurs: Cannot read property 'get' of undefined