fixes #2500
fixed parent publishing
fixed tests
fixes some 500 if there is no title
Merge pull request #2530 from digi604/fix-2388

fixes some 500 if there is no title
Merge pull request #2529 from digi604/publish_position

publish order stays correct