mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-08 09:27:57 -04:00
Ignore cards without card ID in Fidme import
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- Add Monochrome icon for Android 13
|
||||
- Improve first launch screen
|
||||
- Move archive info from overflow menu to bottom of card list
|
||||
- Fidme import fixes
|
||||
|
||||
## v2.19.0 - 113
|
||||
|
||||
|
||||
@@ -110,7 +110,10 @@ public class FidmeImporter implements Importer {
|
||||
// The ID is called reference
|
||||
String cardId = CSVHelpers.extractString("Reference", record, "");
|
||||
if (cardId.isEmpty()) {
|
||||
throw new FormatException("No card ID listed, but is required");
|
||||
// Fidme deletes the card id if a card is expired
|
||||
// Because Catima considers the card id a required field, we ignore these expired cards
|
||||
// https://github.com/CatimaLoyalty/Android/issues/1005
|
||||
return;
|
||||
}
|
||||
|
||||
// Sadly, Fidme exports don't contain the card type
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user