#15449 closed defect (fixed)
JOSM version checker is broken
Reported by: | Don-vip | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.10 |
Component: | Core | Version: | |
Keywords: | regression | Cc: | stoecker |
Description
Changes in r12918 makes JOSM request /tested
instead of /wiki/TestedVersion?format=txt
The result of the new URL is:
<html>12921 </html>
The code does not expect to receive HTML contents and fails with NumberFormatException: Unable to detect current tested version of JOSM
as seen in several recent bug reports.
Attachments (0)
Change History (6)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Probably due to WikiReader. I searched a simple HTTP-Get class instead, but did not find one. Do you know a better method to get this single short URL?
comment:4 by , 7 years ago
Can someone else fix this? I don't have much time for this ATM and another untested change is probably not the best...
Why is the result surrounded by html? The website delivers
and not more. This is plain text.