Показать сообщение отдельно
Старый 21.08.2013, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
palleagermark: Bug in Data Import Export Framework (DIEF) when adding entity for InventParameters
Источник: http://www.agermark.com/2013/08/bug-...framework.html
==============

When using the wizard to generate an entity for InventParameters, the generation fails with the name DEL_InventSumDateFinancialDimensionFocus_RU being too long (more than 40 characters).
The bug seems to come from the \Classes\DMFGenerateEntityTable\modifyFields method. Code from line 142:
X++:
                            if(fieldDeleted)
                            {
                                treeNodeToDelete = treeNode;
                            }
                            else
                            {
                                treeNode.AOTRename(#Del + fieldName);
                                treeNode.AOTsave();
                                treeNodeToDelete = treeNode;
                            }
The treeNode.AOTRename method is called without checking the length for #Del + fieldName.

Источник: http://www.agermark.com/2013/08/bug-...framework.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.