FirstPublishLocationId on ContentVersion changed upon insert of second version via API
Last updated 2021-10-12 ·Reference W-7516636 ·Reported By 2 users
The FirstPublishLocationId on the first version of a ContentVersion record is changed if another ContentVersion record is inserted with a different OwnerId than the first version via API or Apex.
1. Insert a ContentVersion record and associate it to a record by setting the FirstPublishLocationId.
2. Insert another version of the ContentVersion record, using ContentDocumentId, and set a different OwnerId than the first version.
Result: The FirstPublishLocationId on the first ContentVersion record is changed.
None at this time, but when inserting subsequent versions, the ContentModifiedById can be used indicate the user that inserted the ContentVersion record.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.