Bug 494617 - Imported RENFE regional ticket is not imported correctly
Summary: Imported RENFE regional ticket is not imported correctly
Status: RESOLVED FIXED
Alias: None
Product: KDE Itinerary
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-12 20:24 UTC by cquike
Modified: 2024-10-14 20:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cquike 2024-10-12 20:24:08 UTC
SUMMARY

I have a RENFE regional ticket that when imported it does not show anything useful. Only the date is correct, but no time, station or train name are properly imported. Station have just a number and train is shown as null0.
The strange thing is that a similar tickets are imported more or less fine (although with small issues as shown in  https://bugs.kde.org/show_bug.cgi?id=494608 and https://bugs.kde.org/show_bug.cgi?id=494613). 

STEPS TO REPRODUCE
1. Import ticket pdf

SOFTWARE/OS VERSIONS
KDE Itinerary 24.11.70 from F-Droid using the nightly KDE F-Droid repository
Comment 1 Volker Krause 2024-10-13 10:56:43 UTC
Git commit 70c0d462246c134e271070b9ce489a091cf7d468 by Volker Krause.
Committed on 13/10/2024 at 10:56.
Pushed by vkrause into branch 'master'.

Make Renfe extractor script more robust

Failed on certain long train names before, and missed to extract the ticket
number or PNR correctly.
Fixed-in: 24.08.3

M  +9    -5    src/lib/scripts/renfe.js

https://invent.kde.org/pim/kitinerary/-/commit/70c0d462246c134e271070b9ce489a091cf7d468
Comment 2 Volker Krause 2024-10-13 11:04:38 UTC
Git commit bd5e22bee797b2102841e17939d78f951eb0dd63 by Volker Krause.
Committed on 13/10/2024 at 11:04.
Pushed by vkrause into branch 'release/24.08'.

Make Renfe extractor script more robust

Failed on certain long train names before, and missed to extract the ticket
number or PNR correctly.
Fixed-in: 24.08.3
(cherry picked from commit 70c0d462246c134e271070b9ce489a091cf7d468)

M  +9    -5    src/lib/scripts/renfe.js

https://invent.kde.org/pim/kitinerary/-/commit/bd5e22bee797b2102841e17939d78f951eb0dd63
Comment 3 cquike 2024-10-14 20:04:40 UTC
I have installed the nightly build from KDE F-Droid repo and this is now working properly.
Thank you!