Filtering on created_by field does not work with CDM model

Hi,

We’re facing a bug in Cosmo Q2B system that filtering on created_by field does not work on CDM models (in RPC requests or UAA rules)
Already asked TPS and they confirmed it happens in their side as well
Could you have a look and discuss together this issue ?

Hi again, could someone have a look this issue ?

Hello @chien-calm-dune,

I checked the DS 36.3.10, the latest version of release 2023.06.
There’s a code snippet in #CddDirtyDocumentsConsumer that looks like the following.

private void createAndUpdateCdd(CddSkeleton cddForUpdate) {
...
			DataServicesDocument document = DataServicesDocument.builder()
				...
				.createdBy("system")
				.modifiedAt(now)
				.modifiedBy("system")
				...
	}

I think the issue occurred as a result of this.
The logic is improved in 2024.06, but please help to create a ticket if you need this for 2023.06 :smiley:

Thank you

Hi @loi-risen-dale , i created A12-16684

Hi @chien-calm-dune ,

There has been a bug on DS side where CDD metadata replaces root document metadata as described in the snipped above.

The fix is planned to be released in 2023.06-ext11.