AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.07.2017, 16:36   #1  
raz is offline
raz
NavAx
Аватар для raz
NavAx Club
Лучший по профессии 2014
Лучший по профессии 2009
 
1,490 / 1060 (38) ++++++++
Регистрация: 22.07.2003
Адрес: МО
? Проблема с Extension в D365O Update3
Проблема с Extension в D365O Update3.

Имеется ISV1 решение и ISV2 решение, два независимых. В ISV2 есть расширение для формы клиентов - CustTable.ISV2, которое мы расширили - CustTable.Our, добавив группу полей в Tabpage от ISV2 и добавив свой Tabpage в старнадртный Tab после Tabpage от ISV2.
Все работало.

ISV1 выкатил апдейт, в котором разделил свое решение на 2 модели. В его коде он не касается CustTable и Formparts, входящих в нее. Но после этого у нас не компилируется CustTable.
Path: [AxFormExtension/CustTable.Our/Controls/FormExtensionControlldco1jej1/Parent]:The parent 'TabPageaptabISV2' of the additional control 'FormExtensionControlldco1jej1' was not found on the base form.
Path: [AxFormExtension/CustTable.Our/Controls/FormExtensionControls5ddbqxt1/PreviousSibling]:For form extension control 'FormExtensionControls5ddbqxt1', its previous sibling 'SalesISV2MinimumPrice' was not found as a child control of 'Design'.

Если поместить наш Tabpage выше Tabpage от ISV2, то вторая ошибка уходит.

Кто-нибудь сталкивался? Будем пробовать на Update4, но выше не можем, одно из решений совместимо только с Update4.
Старый 05.07.2017, 00:02   #2  
kashperuk is offline
kashperuk
Участник
Аватар для kashperuk
MCBMSS
Соотечественники
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,361 / 2084 (78) +++++++++
Регистрация: 30.05.2004
Адрес: Atlanta, GA, USA
Я запутался пока читал.

Если переведете на англ и вышлите мне в приват, спрошу их или это известная проблема
Старый 05.07.2017, 02:07   #3  
trud is offline
trud
Участник
Лучший по профессии 2017
 
1,038 / 1629 (57) ++++++++
Регистрация: 07.06.2003
Записей в блоге: 1
Цитата:
Сообщение от raz Посмотреть сообщение
Будем пробовать на Update4, но выше не можем, одно из решений совместимо только с Update4.
А кстати как такое может быть? т.е. все божатся что платформ апдейты полностью совместимы с друг другом, типа можно чуть ли не автоматом накатывать . а тут целое несовместимое решение
Старый 06.07.2017, 16:51   #4  
raz is offline
raz
NavAx
Аватар для raz
NavAx Club
Лучший по профессии 2014
Лучший по профессии 2009
 
1,490 / 1060 (38) ++++++++
Регистрация: 22.07.2003
Адрес: МО
Цитата:
Сообщение от kashperuk Посмотреть сообщение
Я запутался пока читал.

Если переведете на англ и вышлите мне в приват, спрошу их или это известная проблема
Here is a description of the problem. I hope it is clear.

In our environment we have two ISV models installed, let’s say ISV1 and ISV2. One of them (ISV2) contains an extension of a base ApplicationSuite form (e.g. CustTable.ISV2). This extension contains a new group control (e.g. TabPageISV2).

Then in our VAR model (which references both the ApplicationSuite and the ISV2 model) we are also extending the same form – say CustTable.VAR. In this extension we have put a new control inside the group control TabPageISV2.

This has been working perfectly in an Update 3 environment.

Then, without any changes to the AX platform, we installed a new version of ISV1. Neither of the models ISV1 and ISV2 have any references or connection with each other. From this point onwards, when we compile the VAR model, we get the following error:

Path: [AxFormExtension/CustTable.VAR/Controls/FormExtensionControlldco1jej1/Parent]:The parent 'TabPageISV2' of the additional control 'FormExtensionControlldco1jej1' was not found on the base form.

Something similar is happening when rather than putting a control inside the ISV2 group control, we add a control in the same base group control and immediately following an existing ISV2 control. In this case we get:

Path: [AxFormExtension/CustTable.VAR/Controls/FormExtensionControls5ddbqxt1/PreviousSibling]:For form extension control 'FormExtensionControls5ddbqxt1', its previous sibling 'ISV2Control' was not found as a child control of 'Design'.

PS.
We have removed all of the VAR models from the environment, leaving only the base AX models + ISV1 + ISV2.
Then created a new VAR model with just the CustTable extension that adds a new control in the ISV2 tab page.
This time it builds successfully.
Next step is to reintroduce all the VAR models one by one until the error occurs.

Последний раз редактировалось raz; 06.07.2017 в 17:41.
Старый 06.07.2017, 22:08   #5  
kashperuk is offline
kashperuk
Участник
Аватар для kashperuk
MCBMSS
Соотечественники
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,361 / 2084 (78) +++++++++
Регистрация: 30.05.2004
Адрес: Atlanta, GA, USA
Цитата:
Сообщение от raz Посмотреть сообщение
Here is a description of the problem. I hope it is clear.

In our environment we have two ISV models installed, let’s say ISV1 and ISV2. One of them (ISV2) contains an extension of a base ApplicationSuite form (e.g. CustTable.ISV2). This extension contains a new group control (e.g. TabPageISV2).

Then in our VAR model (which references both the ApplicationSuite and the ISV2 model) we are also extending the same form – say CustTable.VAR. In this extension we have put a new control inside the group control TabPageISV2.

This has been working perfectly in an Update 3 environment.

Then, without any changes to the AX platform, we installed a new version of ISV1. Neither of the models ISV1 and ISV2 have any references or connection with each other. From this point onwards, when we compile the VAR model, we get the following error:

Path: [AxFormExtension/CustTable.VAR/Controls/FormExtensionControlldco1jej1/Parent]:The parent 'TabPageISV2' of the additional control 'FormExtensionControlldco1jej1' was not found on the base form.

Something similar is happening when rather than putting a control inside the ISV2 group control, we add a control in the same base group control and immediately following an existing ISV2 control. In this case we get:

Path: [AxFormExtension/CustTable.VAR/Controls/FormExtensionControls5ddbqxt1/PreviousSibling]:For form extension control 'FormExtensionControls5ddbqxt1', its previous sibling 'ISV2Control' was not found as a child control of 'Design'.

PS.
We have removed all of the VAR models from the environment, leaving only the base AX models + ISV1 + ISV2.
Then created a new VAR model with just the CustTable extension that adds a new control in the ISV2 tab page.
This time it builds successfully.
Next step is to reintroduce all the VAR models one by one until the error occurs.
А что изменилось в новом пэкэдже от ISV1 тогда когда перестало работать не узнали?
Старый 07.07.2017, 09:24   #6  
raz is offline
raz
NavAx
Аватар для raz
NavAx Club
Лучший по профессии 2014
Лучший по профессии 2009
 
1,490 / 1060 (38) ++++++++
Регистрация: 22.07.2003
Адрес: МО
Нашли причину. ISV1 было разделено на 2 модели, когда добавили reference на вторую модель все заработало. В этой модели были только лицензионный и конфигурационный ключи.
Старый 07.07.2017, 09:48   #8  
raz is offline
raz
NavAx
Аватар для raz
NavAx Club
Лучший по профессии 2014
Лучший по профессии 2009
 
1,490 / 1060 (38) ++++++++
Регистрация: 22.07.2003
Адрес: МО
Цитата:
Сообщение от kashperuk Посмотреть сообщение
Отлично!
Только мы думаем, что это баг MS, т.к. ошибка была с контролами принадлежащими ISV2, при чем тут ISV1 и новая модель.
Теги
d365o, error

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
mfp: X++ in AX7: Extension methods Blog bot DAX Blogs 10 17.12.2015 18:22
ax_gfm_framework_team: The Microsoft Dynamics AX 2012 extension framework – Part 3 Blog bot DAX Blogs 0 14.11.2012 01:12
ax_gfm_framework_team: The Microsoft Dynamics AX 2012 extension framework – Part 2 Blog bot DAX Blogs 0 14.11.2012 01:12
ax_gfm_framework_team: The Microsoft Dynamics AX 2012 extension framework – Part 1 Blog bot DAX Blogs 0 14.11.2012 01:12
Inside Dynamics AX 4.0: RunBase Framework Extension Part IV Blog bot DAX Blogs 0 02.10.2007 04:49
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 13:05.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.