Strange error about an association from an entitiy which does not result in a single object

0
Hi. I'm a beginner at mendix and I'm following the learning path for the intermediate certification. I got to the part called Create an App with Advanced Page Building and now mendix is giving me an error which I don't know how to fix. This is the learning path I'm talking about, https://academy.mendix.com/link/paths/56/Create-an-App-with-Advanced-Page-Building specifically this part  https://academy.mendix.com/link/modules/184/lectures/1442/4.4.1-Complete-the-First-Page-of-the-Wizard   This is the error I'm getting: 14 CE1365 Following association 'Request_Project' from entity 'Expenses.Request' does not result in a single object. Attribute (path) of text template parameter {1} of input reference set selector 'referenceSetSelector1'Page 'Request_Wizard_Step1'Expenses   And here is a screenshot in case it helps:    Thanks in advance for any help.
asked
3 answers
0

Hi david,

Can you show your domain model?

answered
0

Hi, yes, here it is:

image.png

answered
0

I think you need indeed change your association from *-* to Many Requests associated to 1 Project. By doing that, you would also need to change the widget on the page from an input reference set selector (can hold multiple objects) to a reference selector (can hold one object).

 

There is an error in this Learning Path, though.. 4.2 line 6 says "Add a - association to the Project entity, where the Request has ownership of the association."

I think it needs to say "Add a *-1 association...' You can push the feedback button on the page to ask the Academy team to update the page

image.png

answered