Bug 449714 - Mail doesn't show all trains listed in the application/ld+json embedded in email.
Summary: Mail doesn't show all trains listed in the application/ld+json embedded in em...
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 5.18.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-06 20:07 UTC by Michael Tsang
Modified: 2022-02-26 22:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing only 3 segments (121.60 KB, image/png)
2022-02-06 20:07 UTC, Michael Tsang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tsang 2022-02-06 20:07:50 UTC
Created attachment 146355 [details]
Screenshot showing only 3 segments

SUMMARY
KMail doesn't all trains listed in the application/ld+json embedded in the HTML of a train booking confirmation email, if there are multiple bookings on the same train.

STEPS TO REPRODUCE
1. Go to GWR website and book two journeys on the same train, covering different sections the train travels (known as "split ticketing"), for example, Bournemouth - Basingstoke then Basingstoke to London Waterloo.
2. Open the confirmation email in KMail

OBSERVED RESULT
It only shows one of the journey booked.

EXPECTED RESULT
It shows both journeys booked on the same train.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 21.04
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Here is the application/ld+json embedded, which contains 5 segments:

[{"@context":"http:\/\/schema.org","@type":"TrainReservation","bookingAgent":null,"bookingTime":"2022-02-06T19:55:47+00:00","cancelReservationUrl":null,"checkinUrl":null,"confirmReservationUrl":null,"modifiedTime":null,"modifyReservationUrl":"https:\/\/tickets.gwr.com\/gw\/en\/account\/OrderHistory","programMembership":null,"reservationFor":{"@type":"TrainTrip","arrivalPlatform":null,"arrivalStation":{"@type":"TrainStation","name":"Southampton Central"},"arrivalTime":"2022-02-13T08:24:00+00:00","departurePlatform":null,"departureStation":{"@type":"TrainStation","name":"Bournemouth"},"departureTime":"2022-02-13T07:36:00+00:00","trainCode":"L52019","trainCompany":{"@type":"Organization"},"trainName":"South Western Railway","trainNumber":"SW922600"},"reservationNumber":"C3TB9BLH","reservationStatus":"http:\/\/schema.org\/ReservationConfirmed","reservedTicket":{"@type":"Ticket","additionalTicketText":null,"downloadUrl":null,"price":null,"priceCurrency":null,"printUrl":null,"ticketNumber":null,"ticketToken":"","ticketedSeat":{"@type":"Seat","seatNumber":"***","seatRow":null,"seatSection":"*","seatingType":"Standard Class"},"underName":null},"underName":{"@type":"Person","email":"miklcct@gmail.com","name":"Michael Tsang"},"url":null},{"@context":"http:\/\/schema.org","@type":"TrainReservation","bookingAgent":null,"bookingTime":"2022-02-06T19:55:47+00:00","cancelReservationUrl":null,"checkinUrl":null,"confirmReservationUrl":null,"modifiedTime":null,"modifyReservationUrl":"https:\/\/tickets.gwr.com\/gw\/en\/account\/OrderHistory","programMembership":null,"reservationFor":{"@type":"TrainTrip","arrivalPlatform":null,"arrivalStation":{"@type":"TrainStation","name":"Woking"},"arrivalTime":"2022-02-13T09:28:00+00:00","departurePlatform":null,"departureStation":{"@type":"TrainStation","name":"Southampton Central"},"departureTime":"2022-02-13T08:26:00+00:00","trainCode":"L52019","trainCompany":{"@type":"Organization"},"trainName":"South Western Railway","trainNumber":"SW922600"},"reservationNumber":"C3TB9BLH","reservationStatus":"http:\/\/schema.org\/ReservationConfirmed","reservedTicket":{"@type":"Ticket","additionalTicketText":null,"downloadUrl":null,"price":null,"priceCurrency":null,"printUrl":null,"ticketNumber":null,"ticketToken":"","ticketedSeat":{"@type":"Seat","seatNumber":"***","seatRow":null,"seatSection":"*","seatingType":"Standard Class"},"underName":null},"underName":{"@type":"Person","email":"miklcct@gmail.com","name":"Michael Tsang"},"url":null},{"@context":"http:\/\/schema.org","@type":"TrainReservation","bookingAgent":null,"bookingTime":"2022-02-06T19:55:47+00:00","cancelReservationUrl":null,"checkinUrl":null,"confirmReservationUrl":null,"modifiedTime":null,"modifyReservationUrl":"https:\/\/tickets.gwr.com\/gw\/en\/account\/OrderHistory","programMembership":null,"reservationFor":{"@type":"TrainTrip","arrivalPlatform":null,"arrivalStation":{"@type":"TrainStation","name":"Guildford"},"arrivalTime":"2022-02-13T09:43:00+00:00","departurePlatform":null,"departureStation":{"@type":"TrainStation","name":"Woking"},"departureTime":"2022-02-13T09:35:00+00:00","trainCode":"L56347","trainCompany":{"@type":"Organization"},"trainName":"South Western Railway","trainNumber":"SW832100"},"reservationNumber":"C3TB9BLH","reservationStatus":"http:\/\/schema.org\/ReservationConfirmed","reservedTicket":null,"underName":{"@type":"Person","email":"miklcct@gmail.com","name":"Michael Tsang"},"url":null},{"@context":"http:\/\/schema.org","@type":"TrainReservation","bookingAgent":null,"bookingTime":"2022-02-06T19:55:47+00:00","cancelReservationUrl":null,"checkinUrl":null,"confirmReservationUrl":null,"modifiedTime":null,"modifyReservationUrl":"https:\/\/tickets.gwr.com\/gw\/en\/account\/OrderHistory","programMembership":null,"reservationFor":{"@type":"TrainTrip","arrivalPlatform":null,"arrivalStation":{"@type":"TrainStation","name":"Woking"},"arrivalTime":"2022-02-13T11:42:00+00:00","departurePlatform":null,"departureStation":{"@type":"TrainStation","name":"Guildford"},"departureTime":"2022-02-13T11:35:00+00:00","trainCode":"L52812","trainCompany":{"@type":"Organization"},"trainName":"South Western Railway","trainNumber":"SW813400"},"reservationNumber":"C3TB9BLH","reservationStatus":"http:\/\/schema.org\/ReservationConfirmed","reservedTicket":null,"underName":{"@type":"Person","email":"miklcct@gmail.com","name":"Michael Tsang"},"url":null},{"@context":"http:\/\/schema.org","@type":"TrainReservation","bookingAgent":null,"bookingTime":"2022-02-06T19:55:47+00:00","cancelReservationUrl":null,"checkinUrl":null,"confirmReservationUrl":null,"modifiedTime":null,"modifyReservationUrl":"https:\/\/tickets.gwr.com\/gw\/en\/account\/OrderHistory","programMembership":null,"reservationFor":{"@type":"TrainTrip","arrivalPlatform":null,"arrivalStation":{"@type":"TrainStation","name":"Clapham Junction"},"arrivalTime":"2022-02-13T12:04:00+00:00","departurePlatform":null,"departureStation":{"@type":"TrainStation","name":"Woking"},"departureTime":"2022-02-13T11:45:00+00:00","trainCode":"L52812","trainCompany":{"@type":"Organization"},"trainName":"South Western Railway","trainNumber":"SW813400"},"reservationNumber":"C3TB9BLH","reservationStatus":"http:\/\/schema.org\/ReservationConfirmed","reservedTicket":null,"underName":{"@type":"Person","email":"miklcct@gmail.com","name":"Michael Tsang"},"url":null}]

And the attachment only shows 3 segments.
Comment 1 Michael Tsang 2022-02-26 22:39:43 UTC
Seems fixed in 5.19.2