Ошибка в дизайнере отчётов (net core)

Обсуждение Stimulsoft Ultimate
Ответить
George Khuriev
Сообщения: 23
Зарегистрирован: 19 окт 2018, 12:50

Ошибка в дизайнере отчётов (net core)

Сообщение George Khuriev »

Добрый день, после обновления с версии 2018.2.3 до 2018.3.2 происходит ошибка при добавлении диаграмм на страницу отчета.
Текст ошибки:
Uncaught TypeError: Cannot read property 'length' of undefined
at StiMobileDesigner.IconControl (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:22422)
at StiMobileDesigner.AddSeriesCommonProperties (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:39403)
at StiMobileDesigner.ChartPropertiesPanel (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:39019)
at 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:41505
at StiMobileDesigner.ExecuteScript (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:11518)
at StiMobileDesigner.InitializeEditChartForm (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:11564)
at HTMLDivElement.propertiesPanel.setEditChartMode (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:41502)
at HTMLDivElement.editChartForm.onshow (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=AllNotLoadedScripts:6862)
at HTMLDivElement.formPanel.changeVisibleState (1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:30707)
at 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:1090
StiMobileDesigner.IconControl @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:22422
StiMobileDesigner.AddSeriesCommonProperties @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:39403
StiMobileDesigner.ChartPropertiesPanel @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:39019
(anonymous) @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:41505
StiMobileDesigner.ExecuteScript @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:11518
StiMobileDesigner.InitializeEditChartForm @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:11564
propertiesPanel.setEditChartMode @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:41502
editChartForm.onshow @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=AllNotLoadedScripts:6862
formPanel.changeVisibleState @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:30707
(anonymous) @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:1090
StiMobileDesigner.ExecuteScript @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:11518
StiMobileDesigner.InitializeEditChartForm @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:11564
StiMobileDesigner.receveFromServer @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:1088
xmlHttp.onreadystatechange @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:154
XMLHttpRequest.send (async)
StiMobileDesigner.PostAjax @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:163
StiMobileDesigner.ExecuteCommandFromStack @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:205
StiMobileDesigner.receveFromServer @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:1847
xmlHttp.onreadystatechange @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:154
XMLHttpRequest.send (async)
StiMobileDesigner.PostAjax @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:163
StiMobileDesigner.ExecuteCommandFromStack @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:205
StiMobileDesigner.receveFromServer @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:1847
xmlHttp.onreadystatechange @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:154
XMLHttpRequest.send (async)
StiMobileDesigner.PostAjax @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:163
StiMobileDesigner.ExecuteCommandFromStack @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:205
StiMobileDesigner.AddCommandToStack @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:191
StiMobileDesigner.SendCommandCreateComponent @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:2008
page.ontouchend @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:17590
page.onmouseup @ 1abd534c-a382-4daa-8ee4-cbd1f2db35b2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2018.3.2&stiweb_data=DesignerScripts:17683

ошибка происходит в js коде на странице с дизайнером во фрагменте

StiMobileDesigner.prototype.IconControl = function (name, width, height, toolTip) {
var control = this.DropDownList(name, width, toolTip, [], true, false, height, false);
var itemsTable = this.CreateHTMLTable();
control.menu.innerContent.appendChild(itemsTable);
control.items = {};
control.textBox.style.fontFamily = "Stimulsoft";
control.textBox.style.fontSize = height ? (height - 4) + "px": "17px";
control.textBox.style.color = "#4472c4";
///тут ошибка fontIcons- undefiend
for (var i = 0; i < this.options.fontIcons.length; i++) {
if (i != 0 && i % 6 == 0) {
itemsTable.addRow();
}
Aleksey
Сообщения: 2912
Зарегистрирован: 22 апр 2010, 06:57

Re: Ошибка в дизайнере отчётов (net core)

Сообщение Aleksey »

Здравствуйте,

Проблема исправлена, фикс будет в билде на этой неделе.

Спасибо.
George Khuriev
Сообщения: 23
Зарегистрирован: 19 окт 2018, 12:50

Re: Ошибка в дизайнере отчётов (net core)

Сообщение George Khuriev »

Спасибо!
Aleksey
Сообщения: 2912
Зарегистрирован: 22 апр 2010, 06:57

Re: Ошибка в дизайнере отчётов (net core)

Сообщение Aleksey »

Здравствуйте,

Дайте знать, если будут еще вопросы.

Спасибо.
Ответить