Then create a form in the only possible locale (EN) and try to copy a form with the backend locale set to "NL"
Possible Solutions
I could possibly create a merge request, but I'm not sure what you guys would prefer. Use the title of a known locale in the event, or just return an empty string if the form is not available in the admin locale.
Actual Behavior
When trying to copy a form for a locale that's only available in the "admin" part, this line throws this error:
Call to a member function getTitle() on null
Expected Behavior
The form should be copied
Steps to Reproduce
Set this in sulu_admin.yaml:
And this in the webspace config:
Then create a form in the only possible locale (EN) and try to copy a form with the backend locale set to "NL"
Possible Solutions
I could possibly create a merge request, but I'm not sure what you guys would prefer. Use the title of a known locale in the event, or just return an empty string if the form is not available in the admin locale.