+1. Patch works and seems quite essential to add.
StefanieV → created an issue.
It's been working for us on a production website for about 2 weeks now, after thorough tests on a development environment.
I'm having the same problem on 2.2.1.
For a workaround: commenting out the code in node_keep_form_node_type_form_builder() temporarily allowed me to create the content type, after which I could go back, select the node keep options for the content type and save them.
Thanks for the patch @kriboogh.
We ran into a different issue with this patch. The url path of the 'add to library' link for each section was always referring to the section with delta 0 (i.e. the first section on the page), which caused this link to always trigger a scroll up to, and save of, this first section instead of the relevant section where the link was clicked. The same behaviour happened for the 'Import from library', where the new section would be added as the first section of the page, regardless of between which sections the link was clicked.
I reworked the patch of #6 for version 1.1.1.
I had the same setup and the same issue with the language prefix being present in the alias when generating aliases for underlying nodes.
This fixed it! Thanks @stefdewa ;)
StefanieV → created an issue.