Closed ghost91- closed 6 years ago
Sometimes certain departures contain <realtime>1</realtime>, but the rt tag is missing. This makes the app crash.
<realtime>1</realtime>
rt
The app should display the panned departure time, if rt info is missing.
The app crashes.
<dp> <n>Regensburg Universität</n> <realtime>1</realtime> <dt> <da>26.5.2017</da> <t>17:49</t> </dt> <st> <da>20170526</da> <t>1749</t> </st> <m> <n>RVV-Bus-Linie</n> <nu>6</nu> <ty>5</ty> <co>3</co> <des>Wernerwerkstr.</des> <dy>-9999</dy> <dv> <branch>11</branch> <li>006</li> <su>A</su> <pr>6aa</pr> <dct>R</dct> <ne>rvv</ne> <tk>308</tk> <stateless>308</stateless> </dv> </m> <r> <id>4014080</id> <a>0</a> <pl>Bstg. E</pl> </r> <c>12092352.84663,48998735.63537</c> <ns/> <nx/> </dp>
Mentioned in merge request !4
Status changed to closed by commit 7a76d12ec2db4a6ec68dff83a94883287f39f132
Mentioned in commit 7a76d12ec2db4a6ec68dff83a94883287f39f132
Summary
Sometimes certain departures contain
<realtime>1</realtime>
, but thert
tag is missing. This makes the app crash.Description
Expected behaviour
The app should display the panned departure time, if rt info is missing.
Actual behaviour
The app crashes.
Example XML