[EXCONTRANS-366] Property 'translatedDocument' empty on import action Created: 18/Feb/22  Updated: 04/Oct/22  Resolved: 04/Oct/22

Status: Closed
Project: Content Translation Extended (CTX)
Component/s: Core
Affects Version/s: 3.4.3
Fix Version/s: 3.4.6

Type: Bug Priority: High
Reporter: Florian Kugler Assignee: Teresa Miyar
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 6.2.15


Attachments: PNG File TranslationImport_Debug_1.png     XML File translationQueues.IMPORTED.1645189103860.xml    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Steps to reproduce

Prequisite: A document has completed the translation workflow and it's state is 'TRANSLATED'; Automatic Import is disabled

  1. Within Tasks App enter 'review' for a translated batch and open Comparison  
  2. Check that column 'Translated Value' has content
  3. Click 'Import' Action that triggers the ImportTranslationCommand

Expected results

The 'Translated Value' content gets imported into target node

Actual results

The target node is not altered since translated content is not imported. 
On entering debug mode within 'ImportTranslationCommand.java#doImport' 'translatedDoc' has value #document: null (as seen in screenshot) and therefore nothing gets imported and no Error is thrown. 

The node still moves to IMPORTED.

Workaround

unknown

Development notes

The translated node from translationQueue with valid content will be attached as XML for comparison / replication / testing purposes.



 Comments   
Comment by Jörg Wirsig [ 03/Mar/22 ]

Hi tmiyar,

could you provide some information about the timing when the fix will be available?

Comment by Teresa Miyar [ 03/Mar/22 ]

Hi,

Problem is our test environment is not available at the moment, we are waiting for translations.com to come back to us, as soon as we have a test environment available we will be able to fix the problem asap.

Comment by Jörg Wirsig [ 09/Mar/22 ]

Hi tmiyar,

i recieved the information from translations.com that they send you the requested details. Hope you have everything you need. If not let me know, i can try to speed up. 

Comment by Teresa Miyar [ 09/Mar/22 ]

Hi,

Yes, we got the information yesterday. Thank you for following up. 

In the attached document we can see the source and translated documents there, so it seems the problem is finding the node to import the data to (debug mode always shows document[null] since it does not know how do display it) is it possible you are using some external module like livecopy? Maybe a call would help us speed up the process, is that possible for you? if yes, what time will suit you best?

Comment by Jörg Wirsig [ 09/Mar/22 ]

Hi tmiyar,

we are using something similiar to livecopy, a mechanism called MasterContent where as an editor you can reference other components to use there content as default in dialog and frontend view (short summary). 

But it looks like the content submitted by my colleague is a MasterContent which should conatain all its content  itself. 

You can also contact me via email using joerg.wirsig@raysono.com and we can set up a phone call that way if required. 

Best regards. 

Comment by Teresa Miyar [ 09/Mar/22 ]

Hi,

Will follow up on email.

Comment by Teresa Miyar [ 09/Jun/22 ]

Hi,

We did not get any further information about this, is it still a problem?

Regards,

Teresa

Comment by Teresa Miyar [ 04/Oct/22 ]

Closing as it has been inactive for some time, feel free to reopen is the issue persists.

Generated at Mon Feb 12 00:30:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.