Skip to content

Conversation

@bwach
Copy link

@bwach bwach commented Oct 29, 2020

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #38861
License MIT
Doc PR -

The issue is that the process of property data extraction fails when we have a situation when a relation has an "indexedBy" property set to a field with a column that isn't the same or doesn't follow the naming strategy, for example:

field: foo
colum: bar_baz

I changed it so first we treat it as a field and then we fall back to treating it as a column name as it is now

@derrabus
Copy link
Member

Can you have look at the fabbot failures, please?

@bwach
Copy link
Author

bwach commented Oct 29, 2020

Can you have look at the fabbot failures, please?

done, thanks for mentioning it

@jderusse jderusse changed the title Ticket 38861 column name not matching field [DoctrineBridge] Fix data extraction in relation using IndexBy and different column name Oct 29, 2020
@jderusse
Copy link
Member

Please have a look to a similar PR #38628

@xabbuh
Copy link
Member

xabbuh commented Nov 9, 2020

@bwach Thank you for your work on this. Can you confirm that #38628 fixes this issue as well?

@nicolas-grekas
Copy link
Member

Test case added to #38628, thanks @bwach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants