erdomke / InnovatorAdmin

A tool for managing Aras Innovator installations focusing on improving the import/export experience.
http://erdomke.github.io/InnovatorAdmin/
MIT License
58 stars 42 forks source link

"List" Action on "Form" Item type results in Crash #105

Closed rneuber1 closed 8 years ago

rneuber1 commented 8 years ago

In TOC select "Administration->Form" and invoke the context action "List Form". The application crashes

rneuber1 commented 8 years ago

Seems to happen for every Itemtype, which does not have a property with a default_search condition: If you remove the

    <Relationships> 
     <Item type='Property' action='get' select='default_search'>
      <default_search condition='is not null'></default_search>
     </Item>
    </Relationships>

part in ArasEditorProxy.cs, it works.

rneuber1 commented 8 years ago

There seems to be a general bug in the code:

    prop.Name

always resolves to Item. I guess what you meant is

 prop.KeyedName().Value

which is the correct property name.