-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove legacy handling for 'fixing' line_item.entity_id
I tried to see what was happening with the test in #18113 and spotted that it wasn't using Order.api so the line items were likely wrong. However, once I set it up to use the Order api I found the code we added back in 2018 to attempt to cope with other code setting entity_id incorrectly was actually itself setting entity_id incorrectly. The issue happens when there are 2 Memberships linked to one contribution & the removed code 'decides' one is wrong and alters it. #11816 This line of code throws a deprecation notice - which has not been reported / apparently seen in the last couple of years so I'm assuming it's not actually doing any good and without removing it this test actually fails
- Loading branch information
1 parent
e1c19ea
commit c9cf3eb
Showing
3 changed files
with
102 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters