AL icon indicating copy to clipboard operation
AL copied to clipboard

Duplicated entries in xlf file

Open makuhn opened this issue 5 years ago • 9 comments

When compiling one of our apps duplicate entries for a translation (trans-unit-id) are created in g.xlf file. In total 4 trans-unit-ids are duplicated.

Screenshots below show these entries: first occurence of the first two entries image

first occurence of second two entries image

duplicate entries (second occurence of entries - same frame color marks corresponding entries from above screenshots): image

It seems that duplication is caused by page customization objects. All controls with duplicated captions were added in page extension as well as used in page customization to move them to another position. image

Issue occured the first time when making some minor changes in the app.

Issue can be reproduced by compiling the app with actual AL extension (Version: 5.0.270354).

NOTE I cannot share the source code via GitHub because it's our IP.

makuhn avatar May 11 '20 13:05 makuhn

Hi @makuhn, thank for reporting the issue. This is a bug, I put corresponding label. It will be fixed in the next releases.

AndreyKorepanov avatar Jun 16 '20 14:06 AndreyKorepanov

ALProject46.zip Project to repro the issue

AndreyKorepanov avatar Jun 16 '20 14:06 AndreyKorepanov

@AndreyKorepanov @JesperSchulz Any news to this issue? It is meanwhile open for more than half a year.

makuhn avatar Dec 17 '20 10:12 makuhn

Looping in @atoader, as this repository is managed by his team.

JesperSchulz avatar Dec 17 '20 19:12 JesperSchulz

The issue is in our backlog, but we have not started working on it. I will post an overview of how we prioritize issues coming in from GitHub over the following weeks to offer more visibility into the process.

atoader avatar Dec 28 '20 14:12 atoader

@atoader Are there any news regarding this issue?

makuhn avatar Aug 31 '21 12:08 makuhn

@atoader any news regarding this issue?

sthiesyaveon avatar Jan 17 '24 08:01 sthiesyaveon

@atoader has left Microsoft years ago, please leave him be ;-) @BazookaMusic can you take over?

NKarolak avatar Jan 17 '24 08:01 NKarolak

There is a repro, marking this for triage.

BazookaMusic avatar Jan 17 '24 17:01 BazookaMusic

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 25.0.18947.0 and VS Code Extension Version 14.0.1001176.

If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo

For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://freddysblog.com/2020/06/25/working-with-artifacts/

EmilDamsbo avatar May 07 '24 15:05 EmilDamsbo