[MAGNOLIA-5891] Reduce amount of duplicate i18n keys warnings in the log Created: 18/Aug/14 Updated: 22/Sep/14 Resolved: 17/Sep/14 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | i18n |
| Affects Version/s: | 5.2.7, 5.3.2 |
| Fix Version/s: | 5.3.4 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Christoph Meier |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | support | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| 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 |
|
There are a lot (hundreds) of duplicate key warnings being thrown at startup. There also seems to be a big difference between the number of warnings thrown by the bundle vs a webapp built using the maven archetype. Specifically, the issue is much more widespread when using the a webapp built using maven archetype. We should probably double check that we are checking for duplicates correctly. If so, then we have a lot of duplicate keys that need to fixed in many modules. I would assume that we need to open tickets for each module suffering the issue. |
| Comments |
| Comment by Christoph Meier [ 21/Aug/14 ] |
|
Probably this one is related to http://jira.magnolia-cms.com/browse/MGNLCTS-62 (but, to be honest, i'm not 100% sure; so, remove the link if it's not true). However, it looks like there are definitely duplicate keys; it is just possible that they are logged "too often" (in some cases). |
| Comment by Christoph Meier [ 12/Sep/14 ] |
|
The above comment seems to be wrong. Ticket is not related to I also cannot confirm that custom bundles (created with maven archetype) have more of these "Found duplicate key"-log-entries (Fdk-l-e).
(To see all numbers, check evernote-sheet) Some more numbers (for CE; the numbers in EE are a little bit higher)
=> Actually, the only important thing to mention here: The huge amount of log files only appear when starting the bundle from the IDE. <= |
| Comment by Christoph Meier [ 15/Sep/14 ] |
|
Commit is on branch |
| Comment by Christoph Meier [ 15/Sep/14 ] |
|
I've changed log pattern. |
| Comment by Christopher Zimmermann [ 17/Sep/14 ] |
|
| Comment by Christoph Meier [ 17/Sep/14 ] |
|
Fixed / changed according to review comments. (See https://git.magnolia-cms.com/gitweb/?p=magnolia_main.git;a=commit;h=f411f66ef9f0408bcd724ad2e5178b8693f3046c) |