Project

General

Profile

Actions

Bug #12500

open

ReportData. Отсутствие qid при создании отчета.

Added by Радек Мария 10 months ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
-
Start date:
06/23/2023
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

При создании отчета Report Data может отсутствовать qid.

Шаги воспроизведения:
Удалить все ранее созданные отчеты ReportData
Сгенерировать новый отчет (можно через интерфейс или API):
/projects/{project}/reportSettings/{uuid}/generate
API по нему вернет ответ БЕЗ qid:

{
   "success": true,
   "result":    {
      "id":       {
         "qid": "",
         "uuid": "c47f9e54-9d2d-40b1-adf8-04c0d402f874",
         "uv": "Reports/001(2023-06-21_23-11-09)" 
      },
      "href": null
   }
}

При этом метод API
/projects/{project}/reports/{r}/generationStatus
начинает отдавать ответ:

HTTP/1.1 404 Not Found
Date: Wed, 21 Jun 2023 20:18:06 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Server: Jetty(9.4.50.v20221201)

{
"success" : false,
"error" : {
"code" : "report_not_found",
"message" : "Specified report does not exists",
"extra" : { }
}
}

No data to display

Actions

Also available in: Atom PDF