Bug 474197

Summary: Unable to Import Regional Train Tickets in France via QR Code and SNCF Online Tickets into KDE Itinerary
Product: [Applications] KDE Itinerary Reporter: reportthebug <chris.seiferth>
Component: generalAssignee: Volker Krause <vkrause>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Android 7.x   
Latest Commit: Version Fixed/Implemented In: 23.08.2
Sentry Crash Report:

Description reportthebug 2023-09-05 21:34:21 UTC
The KDE integration with regional train ticketing in France is not allowing users to import their SNCF online tickets or regional train tickets via QR code into the KDE itinerary.

Steps to Reproduce:

1. Purchase a regional train ticket in France with SNCF.
2. Attempt to import the ticket into the KDE itinerary.
3. Observe that the ticket is not imported successfully (all SNCF Online Tickets are effected, using the QR code only regional train tickets are effected).

Expected Behavior:

The regional train tickets in France, both SNCF online tickets and those via QR code, should be importable into the KDE itinerary for seamless travel organization.



KDE Itinerary version: 23.11.70
Comment 1 Volker Krause 2023-09-06 16:04:16 UTC
Which region did you try? I know at least Normandie doesn't work as it's using a QR code format we cannot decode yet and for which we have no documentation.
Comment 2 reportthebug 2023-09-06 17:00:17 UTC
(In reply to Volker Krause from comment #1)
> Which region did you try? I know at least Normandie doesn't work as it's
> using a QR code format we cannot decode yet and for which we have no
> documentation.

it's the Alsace (and Vosges) region
Comment 3 Volker Krause 2023-09-08 13:42:09 UTC
(In reply to reportthebug from comment #2)
> it's the Alsace (and Vosges) region

Ok, that's a region we currently have no samples for at all. The best I can offer you is sending me the affected ticket documents (email: vkrause@kde.org) to see if we can add support for those.
Comment 4 Volker Krause 2023-09-11 15:50:04 UTC
Git commit ebdd1750d069220cdef3e09eba48be260c1606d5 by Volker Krause.
Committed on 11/09/2023 at 17:49.
Pushed by vkrause into branch 'release/23.08'.

Also allow direct extraction from SNCF Secutix barcodes

M  +12   -7    src/lib/scripts/sncf.js
M  +12   -0    src/lib/scripts/sncf.json

https://invent.kde.org/pim/kitinerary/-/commit/ebdd1750d069220cdef3e09eba48be260c1606d5
Comment 5 Volker Krause 2023-09-12 16:26:50 UTC
Git commit 3dd8d2174e22aa6ae12459b146dabd96b79a4415 by Volker Krause.
Committed on 12/09/2023 at 18:26.
Pushed by vkrause into branch 'release/23.08'.

Fix online import of unidirectional SNCF bookings
FIXED-IN: 23.08.2

M  +4    -1    src/lib/scripts/sncf-online-ticket.js

https://invent.kde.org/pim/kitinerary/-/commit/3dd8d2174e22aa6ae12459b146dabd96b79a4415