Ticket #23642: 23642.patch

File 23642.patch, 825 bytes (added by GerdP, 2 weeks ago)

quick hack to always download changeset discussions

  • src/org/openstreetmap/josm/io/OsmServerChangesetReader.java

     
    5757    protected final InputStream getChangesetInputStream(long id, boolean includeDiscussion, ProgressMonitor monitor)
    5858            throws OsmTransferException {
    5959        StringBuilder sb = new StringBuilder(48).append("changeset/").append(id);
    60         if (includeDiscussion) {
     60        if (includeDiscussion || true) { // see #23642: work around bug in API
    6161            sb.append("?include_discussion=true");
    6262        }
    6363        return getInputStream(sb.toString(), monitor.createSubTaskMonitor(1, true));