[kontact] [Bug 449714] New: Mail doesn't show all trains listed in the application/ld+json embedded in email.

Michael Tsang bugzilla_noreply at kde.org
Sun Feb 6 20:07:50 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=449714

            Bug ID: 449714
           Summary: Mail doesn't show all trains listed in the
                    application/ld+json embedded in email.
           Product: kontact
           Version: 5.18.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: mail
          Assignee: kdepim-bugs at kde.org
          Reporter: miklcct at gmail.com
  Target Milestone: ---

Created attachment 146355
  --> https://bugs.kde.org/attachment.cgi?id=146355&action=edit
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 at 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 at 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 at 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 at 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 at gmail.com","name":"Michael
Tsang"},"url":null}]

And the attachment only shows 3 segments.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list