Issue 33 in grit-i18n: Resource maps silently drop duplicated key field values

Skip to first unread message

Aug 27, 2015, 5:51:00 PM8/27/15
Status: Accepted
Labels: Type-Defect Priority-Medium

New issue 33 by Resource maps silently drop duplicated
key field values

In the _FormatSource function builds a map from either path
or name to resource id. If it encounters duplicate values it silently skips
the duplicates. For name, duplicate values likely represent an error and
should be reported. For path, duplicate values mean we are packing the same
resource more than once (See This is not
necessarily an error but I feel that if we want to explicitly support this
we should include both resource ids in the "map" which would be more of a
multi-map at that point.

You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
Reply all
Reply to author
0 new messages