[Human Readable Change History] [DiffEntityData2Text] Translation_BuildChangedString_Record issue

[Human Readable Change History] [DiffEntityData2Text] Translation_BuildChangedString_Record issue

  
Forge Component
(19)
Published on 23 May by Sofia Pinho
19 votes
Published on 23 May by Sofia Pinho

Hello,

I think i found a issue on the action Translation_BuildChangedString_Record

On the query "GetEntityAttributes", if there is a entity with the same Name and Attribute on the environment (even on deleted eSpaces) he doesn't know the correct attribute reference, and so the reference translation gets wrong.

The same should be checked on GetEntity. he should check for a valid entity (entity + eSpace + espace is active) .


I recommend to pass the eSpaceId into the RecordDifferences, Translation_BuildChangedString and 

Translation_BuildChangedString_Record, so he clearly knows that entiy+field (that changed) is the one related with the correct eSpace.


It can be possible to have the same entity name + attribute name (reference) in several espaces.