04.07.2017, 16:36 | #1 |
NavAx
|
Проблема с 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 |
Участник
|
Я запутался пока читал.
Если переведете на англ и вышлите мне в приват, спрошу их или это известная проблема |
|
05.07.2017, 02:07 | #3 |
Участник
|
|
|
06.07.2017, 16:51 | #4 |
NavAx
|
Цитата:
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 |
Участник
|
Цитата:
Сообщение от 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. |
|
07.07.2017, 09:24 | #6 |
NavAx
|
Нашли причину. ISV1 было разделено на 2 модели, когда добавили reference на вторую модель все заработало. В этой модели были только лицензионный и конфигурационный ключи.
|
|
07.07.2017, 09:39 | #7 |
Участник
|
Отлично!
|
|
07.07.2017, 09:48 | #8 |
NavAx
|
|
|
Теги |
d365o, error |
|
|