DeuxHuitHuit / entry_relationship_field

A new way to create master-details pattern with Symphony's sections
http://symphonyextensions.com/extensions/entry_relationship_field/
Other
11 stars 12 forks source link

Can't create new content with a required entry relationship #49

Closed cbwl closed 9 years ago

cbwl commented 9 years ago

If I have an Entry Relationship Field which is required on my section, I can't create new content in that section:

This is on Symphony 2.6.2. Any thoughts?

henrysingleton commented 9 years ago

I believe this is because of the issue where you can't assign child content to a parent that does not yet exist, as it attempts to save the child relationship immediately.

nitriques commented 9 years ago

Yes can you try the latest dev branch please ? Since the field tries to save itself via ajax, there's an error when the entry does not yet exists...

cbwl commented 9 years ago

Yeah latest dev seems to work well, thanks!

nitriques commented 9 years ago

Great. Thanks.

henrysingleton commented 9 years ago

I still get this issue even with the dev branch. I'm going to do more testing over the weekend but saving a child when a parent is unsaved still seems unreliable for me.

nitriques commented 9 years ago

Hum what Symphony version ?

henrysingleton commented 9 years ago

2.6.2

nitriques commented 9 years ago

Hum... Could you check if the ajax request returns an error ?

henrysingleton commented 9 years ago

My apologies, I wasn't at the head of the dev branch. I have updated now and things seem fine now. Ill do some more testing. If I run into anything I'll create a new issue. Thanks!

nitriques commented 9 years ago

Great! Thanks!