cap-js / change-tracking

CDS plugin providing out-of-the box support for automatic capturing, storing, and viewing of the change records of modeled entities.
https://cap.cloud.sap/docs
Apache License 2.0
22 stars 8 forks source link

Changes are not displayed in the table when you have multiple key fields in the Entity #115

Open deepakm3 opened 2 months ago

deepakm3 commented 2 months ago

The change tracking is not working when we have multiple key fields for an entity, Is this a limitation ?

Example below works, The changes are updated and displayed in the object page

entity Books { key ID : Integer; title : String; stock : Integer; }

Whereas when you have multiple key field the The changes are not displayed in the object page

entity Books { key ID : Integer; key title : String; stock : Integer; }

nkaputnik commented 2 months ago

Yes, this is a known limitation as of now, but we are working on fixing this in the next release.

Best, Nick

deepakm3 commented 2 months ago

Hi @nkaputnik Could you please let me know the planned release date for the fix? Thanks, Deepak

nkaputnik commented 2 months ago

Unfortunately, no. This is an open-source project, which is maintained by us in our spare time, so we do not plan any releases, we do them, when we have enough spare time and enough changes to warrant one...

This feature is change is rather complex in nature and requires extensive testing.

Best, Nick

sammok83 commented 1 month ago

@nkaputnik I echo @deepakm3 . Would also need this.

nkaputnik commented 1 month ago

There is an open PR aiming to solve this: #117 Plan is to finalise and test this in November, since the contributor is off work for this whole month.