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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.11.2014, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Compare Tool causing a failure, forcing an element restore which results in negating the changes made on the element
Источник: http://blogs.msdn.com/b/axsupport/ar...e-element.aspx
==============



Consider the following scenario n an AX 2012 R2 CU7



 



1. Go to AOT > Forms > CustTable > Designs > Design > Tab > TabPageDetails > TabHeader > TabGeneral >

UpperGroup > Identification > Group:Classification > Classification_CustClassificationId 

and here you do have the "Help Text" and "Label" properties for the above mentioned grid control

2. Now delete the "Help Text" and the "Label" control properties content

3. Save and compile the CustTable form

4. Now perform a Compare for this object, let’s say between "USR" and "SYS layers

5. As soon as Compare Tool dialog pops up and you click on the "Compare" button, you get the below error:

TreeNode object not initialized.

Stack trace

(C)\Classes\SysTreeNode\onComparableSelected - line 5

(C)\Classes\SysTreeNodeDelayLoaded\onComparableSelected - line 8

(C)\Classes\SysCompare\getCombo - line 15

(C)\Classes\SysCompare\startCompare - line 28

(C)\Forms\SysCompareForm\Designs\DesignList\CompareButton\Methods\Clicked - line 10



6. Close the window.

7. Now try to Compile the CustTable form, you get the following error:

"Unable to save . Version of Form CustTable on the server is newer"

8. You need to restore it :

9. As soon as you perform the Restore, you could see that, all the changes what you made earlier will be lost.



Actual Result

Compare Tool causing a failure, forcing an element restore which results in negating the changes made on the element



Workaround description:



- The Comparison Tool failure is caused by keeping the "Show Label" control property

set to "Yes" after deleting the "Help Text" and the "Label" control properties content.



- Setting the "Show Label" control property to "No" after deleting the "Help Text"

and the "Label" control properties content resolves the issue.



Screen shot below:






Источник: http://blogs.msdn.com/b/axsupport/ar...e-element.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Теги
ax2009, ax2012, баг, ошибка, сравнение объектов

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX Content: The Compare Tool works with SSRS reports Blog bot DAX Blogs 0 07.04.2014 18:11
mfp: The compare tool–and running X++ code as IL Blog bot DAX Blogs 0 25.06.2012 20:11
emeadaxsupport: Microsoft Dynamics AX 2012 Upgrade - Using the State Transfer Tool Blog bot DAX Blogs 0 28.01.2012 02:16
emeadaxsupport: AX 4.0 SecurityProfiler Tool Blog bot DAX Blogs 0 05.01.2011 23:11
gatesasbait: On Dynamics Ax 5.0 compare tool enhancements Blog bot DAX Blogs 3 29.11.2007 13:42

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 03:31.