Comments (2)
Hi colleagues,
I executed some tests and checked created entities. Could you please confirm that an "update" modification creates a change log only if "modifiedAt" or "modifiedBy" has changed after this update?
I suppose that it is so because there is:
// Since req.diff() will record the managed data, change history will filter those logs only be changed managed data
const managedAttrs = ["modifiedAt", "modifiedBy"]
if (curChange.modification === "update") {
const rowOldAttrs = Object.keys(childNodeChange._old)
const diffAttrs = rowOldAttrs.filter((attr) => managedAttrs.indexOf(attr) === -1)
if (!diffAttrs.length) {
return
}
}
If I am right then you can close this issue because I found out that neither modifiedAt nor modifiedBy was changed for the entities for which update change log is missing.
Kind regards,
Elena
from change-tracking.
Hi colleagues,
I enforced modifiedAt to be changed at updating. However I still do not see any changelogs.
Is it necessary to change also modifiedBy?
Or am I wrong when I suppose that "modified" fields can affect creating changelogs?
Kind regards,
Elena
from change-tracking.
Related Issues (20)
- Change tracking will capture the wrong objectID in some special cases.
- @cap-js/change-tracking: change logs are not captured HOT 2
- How to handle the visibility of Change History Section? HOT 2
- Change logs not captured on composition level HOT 5
- A field of type "Date" cannot be used for change tracking HOT 5
- Questions about Object ID definition HOT 10
- CDS Compilation fails on mbt build when change-tracking is included HOT 4
- Changing history view for two apps HOT 2
- Is it possible to change formatting of the changed fields? HOT 3
- Issue with numeric key format HOT 1
- How to hide change history? HOT 1
- Error Message with CDS 7 / lean_draft:false and change-tracking Plugin HOT 3
- How to disable Change History for some UI service annotation HOT 2
- In the unmanaged case, unmanipulated data also generates a changelog.
- Change history/tracking does not work on multiple records HOT 1
- Change tracking not showing HOT 7
- Change tracking not working in Multi-tenant CAP Nodejs Project HOT 5
- Changelogs erased for deleted entities HOT 6
- ChangeLog.ID shown in Filter and Sort of View Settings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from change-tracking.