eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
http://expand.expandframework.com
Microsoft Public License
222 stars 115 forks source link

Xpand.Source.Extensions.FunctionOperators.IsAssignableFromOperator "throw an exception." #487

Closed genetsEvgen closed 5 years ago

genetsEvgen commented 5 years ago

Hello. When I open first time ListView and Edit model does not open at all

{"The type initializer \" Xpand.Source.Extensions.FunctionOperators.IsAssignableFromOperator \ "threw an exception."} System.Exception {System.TypeInitializationException}

in Xpand.XAF.Modules.ModelMapper.ModelMapperVisibilityCalculator..ctor()

DevExpress.ExpressApp.SystemModule.CustomFunctionOperatorHelper.Register(ICustomFunctionOperator customFunctionOperator) Xpand.Source.Extensions.FunctionOperators.IsAssignableFromOperator..cctor()

The operation is invalid due to the current state of the object.

apobekiaris commented 5 years ago

Hi,

I cannot tell without a sampel where is the problem? maybe you already have an operator IsAssignableFrom and fails to register the same name?

expand commented 5 years ago

Closing issue for age. Feel free to reopen it at any time.

.Thank you for your contribution.