maproulette / maproulette3

MapRoulette, the micro-tasking tool for OpenStreetMap
https://maproulette.org
MIT License
127 stars 34 forks source link

Task Rebuild ends with "bad request" error #2414

Closed Langlaeufer closed 1 month ago

Langlaeufer commented 1 month ago

Describe the bug I tried to rebuild my campains (rebuild tasks /"Aufgaben wiederherstellen") . The rebuild of the first campain (Fahrradstraßen) was successful , but then all other rebuilds failed with the error:

Erstellen von Aufgaben fehlgeschlagen
Bad Request:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
  <title>OSM3S Response</title>
</head>
<body>

<p>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</p>
<p><strong style="color:#FF0000">Error</strong>: line 2: parse error: Unknown type &quot;[&quot; </p>
<p><strong style="color:#FF0000">Error</strong>: line 2: parse error: An empty query is not allowed </p>
<p><strong style="color:#FF0000">Error</strong>: line 2: parse error: ';' expected - 'out' found. </p>

</body>
</html>

Last time, in April, the rebuild was working. The overpass queries are still working fine in overpass-turbo.

Expected behavior Rebuild the task and match it with the existing tasks

To Reproduce create & manage -> select an campain -> rebuilt tasks

https://maproulette.org/admin/project/54197 https://maproulette.org/admin/project/54197/challenge/42575 https://maproulette.org/admin/project/54197/challenge/42578 https://maproulette.org/admin/project/54197/challenge/43442

ljdelight commented 1 month ago

@Langlaeufer thank you for the report, this has been resolved (https://github.com/maproulette/maproulette-backend/releases/tag/v4.5.6). let us know if you have any other issues. thanks!