You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Error] You've included an alias {...} but it does not match the alias defined in your association #9079
Let's say I enter the wrong alias on a findAll query, I get this error
"user is associated to comment using an alias. You've included an alias (author), but it does not match the alias defined in your association."
This message could be a lot more helpful if it mentioned the actual alias given in the association
What would be better?
"user is associated to comment using an alias. You've included an alias (author), but it does not match the alias defined in your association (superCoolAuthor)."
Is this possible? It's kind of nitpicky but also equally annoying to need to dig back into the models to see what the actual alias is.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
Activity
stale commentedon May 21, 2018
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
sushantdhiman commentedon May 24, 2018
There can be multiple aliases between participating models, so it would be a long list
superCoolAuthor, superCoolAuthor2, superCoolAuthor3, ....Not sure we want to put full list here
stale commentedon Aug 22, 2018
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
jaronwright commentedon Oct 1, 2018
We are experiencing the same issue has anyone found a solution/can we make this un-stale?
sushantdhiman commentedon Oct 18, 2018
Moved to #10040
sushantdhiman commentedon Oct 18, 2018
Fixed by #10041