We need to think about whether it should be possible to receive (and exchange?) notifications about unpublished records.
In theory it should be possible.
The current record lookup looks up both published records as well as drafts:
|
record = current_rdm_records_service.record_cls.pid.resolve(record_id, registered_only=False) |
The current search index dumper does not act on drafts:
https://github.com/CottageLabs/invenio-rdm-records/blob/50df489f2013ff45448d1a244a854e50bab8a88f/invenio_rdm_records/records/dumpers/endorsements.py#L34
We need to think about whether it should be possible to receive (and exchange?) notifications about unpublished records.
In theory it should be possible.
The current record lookup looks up both published records as well as drafts:
invenio-notify/invenio_notify/tasks.py
Line 148 in 236f6c4
The current search index dumper does not act on drafts:
https://github.com/CottageLabs/invenio-rdm-records/blob/50df489f2013ff45448d1a244a854e50bab8a88f/invenio_rdm_records/records/dumpers/endorsements.py#L34