- Issue created by @Giuseppe87
- Status changed to Needs review
11 months ago 3:35pm 16 February 2024 - Status changed to Needs work
11 months ago 4:03am 29 February 2024 - 🇺🇸United States nicxvan
This makes sense, can you please convert this to an MR instead of a patch? It makes it far easier to contribute and see in context what is changing.
Thank you for the clear report and fix!
- Merge request !12issue #3421967 filter unpublished items on exportFormatter → (Merged) created by Giuseppe87
- Status changed to Needs review
11 months ago 2:25pm 4 March 2024 - 🇺🇸United States nicxvan
Can you confirm you are on version 3.0.0? I am unable to reproduce this issue.
I've attached a screenshot that shows an unpatched 3.0.0 with an unpublished third node reference between two published ones.
It is also reindexing for me, I'm not sure why yours is not. Do you have any other patches.
- Status changed to Postponed: needs info
10 months ago 4:14am 8 March 2024 - 🇮🇹Italy Giuseppe87
I confirm I'm using 3.0.0.
I missed in report the fact that the field must be inside a Paragraph :facepalm
I updated the report with the correct test case.
I confirm that with a structure likenode -> field_entity_reference
the report behavior doesn't happen.
While with the structure
node -> paragraph -> field_entity_reference
the behaviour does happen.
Considering that
EntityReferenceRevisionsExportFormatter
extendsEntityReferenceExportFormatter
just overridingprepareView()
probably the logic of patch previosly provided is as much valid. - Status changed to Needs review
10 months ago 5:46pm 12 March 2024 - Status changed to Fixed
10 months ago 3:14am 13 March 2024 - 🇺🇸United States nicxvan
Thanks for the updated steps, I was able to reproduce it and confirm the patch fixes the issue!
I'll cut a release once a few issues get merged or a bit of time passes, for now it's on the dev branch.
- 96bc4579 committed on 3.0.x
issue #3421967 filter unpublished items on exportFormatter
- 96bc4579 committed on 3.0.x
Automatically closed - issue fixed for 2 weeks with no activity.