Bug 40167

Summary: dh-umc-module-build created invalid .po files with duplicate entries
Product: UCS Reporter: Philipp Hahn <hahn>
Component: UMC (Generic)Assignee: UMC maintainers <umc-maintainers>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: best
Version: UCS 4.1   
Target Milestone: UCS 4.1-x   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 40164, 40165    
Bug Blocks:    
Attachments: Don't create duplicate entries

Description Philipp Hahn univentionstaff 2015-12-03 14:58:11 CET
Created attachment 7343 [details]
Don't create duplicate entries

uvmmd provided two umc/*.xml files with the same texts, which are added two times to the temporary messages.po files; `msgmerge` then fails:

*** MODULE={'Icons': 'umc/icons', 'Definition': 'umc/uvmm.xml', 'package': 'univention-management-console-module-uvmm', 'Python': 'umc/python', 'Javascript': 'umc/js', 'Module': 'uvmm'} XML
        msgmerge --update --sort-output umc/de.po umc/messages.po
umc/messages.po:21: duplicate message definition...
umc/messages.po:16: ...this is the location of the first definition
umc/messages.po:24: duplicate message definition...
umc/messages.po:19: ...this is the location of the first definition
msgmerge: found 2 fatal errors

+++ This bug was initially created as a clone of Bug #40165 +++
+++ This bug was initially created as a clone of Bug #40164 +++
Comment 1 Florian Best univentionstaff 2016-01-14 11:16:31 CET
This has been fixed at Bug #40341.

*** This bug has been marked as a duplicate of bug 40341 ***