-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitting multiple parties or locations per xform submission #554
Comments
@wonderchook double checking I understand the requirements: So the user will end up with a single location object, with multiple tenure relationships connecting it to multiple party objects. So the repeat function will be creating a new party object with every repeat. Is this correct?
I'm not clear on why this is a problem. If we're creating a new object every time, would we want to group all of that information together into one repeat? |
I'm not sure exactly that this means either. @dpalomino will have to enlighten us. Your understanding of the repeat of either a location or a party is correct. Picture a person that owns more than one property or a group of people that have rights to one property. |
Hi @linzjax, @wonderchook. Sorry if that was not clear enough, let me explain more in detail (I can update the requirements page later on). I was referring to the fact of having several entities within a begin/end repeat section. Something like this for instance: ''' begin group party_attributes_individual begin group party_attributes_group end repeat The only reason why I was suggesting this is to avoid excessive complexity, but I could be missing something. Maybe @linzjax if we could try to catch up tomorrow in your morning? We can see if makes sense to include this case.... |
…s. (#738) * Questionnaires can include repeats of parties or locations. * refactored model_helper * added unit tests for model_helper
Summary
Currently you can only submit one location and one party per xform submission. Users want to submit multiple parties for a single location, or multiple locations for a single party.
We should find a way to make
repeat
work and create multiple relationships and entities.Links to requirements and functional testing script
Requirements
Acceptance criteria
Task list (including tests)
The text was updated successfully, but these errors were encountered: