Пофиксил неправильную распаковку репорта от Клиента

This commit is contained in:
2025-09-01 15:03:08 +03:00
parent 2c5def54ca
commit b13b59beed
4 changed files with 111 additions and 22 deletions

View File

@@ -181,11 +181,11 @@ void ProcessParser::clientUnityTaskFIMreport(QXmlStreamReader &xmlReader, Client
for(int k = 0; k < malfOrReportNode.childNodes().count(); k++)
{
QDomNode reportItemNode = malfOrReportNode.childNodes().at(k);
if(reportItemNode.nodeName() == "reportItem")
if(reportItemNode.nodeName() == "item")
{
FIMReportItem reportItem;
reportItem.id = 0; //reportItemNode.toElement().attribute("item_id").toInt();
reportItem.text = reportItemNode.toElement().attribute("text");
reportItem.text = reportItemNode.toElement().attribute("title");
if(reportItemNode.childNodes().count())
{