Bug Report T514321
Visible to All Users

ASPxGridListEditor - FormatException is thrown when selecting an object in a lookup ListView shown from an aggregated collection

created 8 years ago (modified 8 years ago)

Hi,
In the project there is a building like Master, MasterDetail and MasterDetail-Child.
I open Master View with preview mode. I open the masterdetail view in the master file with the preview mode as well. But I get the following error when I open MasterDetailChild view with Preview from MasterDetail. This error occurs when we add the aggregated property to the collections
(My Project Version : 16.2.6.17111)

To run the sample Project follow the following steps;

1-Click EmloyeeM (with preview mode not edit mode)
2-Click Any EmployeeD From EployeeM Detailview (not edit mode)
3-Click Any EmployeDChild From EmployeeD DetailView (not edit mode)

The error occurred:

Type:       Exception
Message:    XafDetailtoDetailView.Module.BusinessObjects.EmployeeDChild(1), Int32 için geçerli bir değer değil.
Data:       0 entries
Stack trace:

konum: System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   konum: DevExpress.ExpressApp.Web.Editors.ASPx.ASPxGridViewContextMenu.SelectObject(String objectId)
   konum: DevExpress.ExpressApp.Web.Editors.ASPx.ASPxGridViewContextMenu.ProcessCommand(String args)
   konum: DevExpress.ExpressApp.Web.Editors.ASPx.ASPxGridViewContextMenu.DevExpress.ExpressApp.Web.Templates.IXafCallbackHandler.ProcessAction(String parameter)
   konum: DevExpress.ExpressApp.Web.Templates.XafCallbackManager.ProcessAction(String parameter)
   konum: DevExpress.ExpressApp.Web.Templates.XafCallbackManager.callbackControl_Callback(Object source, CallbackEventArgs e)
   konum: DevExpress.Web.ASPxCallback.OnCallback(CallbackEventArgs e)
   konum: DevExpress.Web.ASPxCallback.RaiseCallbackEvent(String eventArgument)
   konum: DevExpress.Web.ASPxWebControl.System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(String eventArgument)
----------------
I have attached a sample Project which you can see the behaviour i have tried to explain above.
Do you have any idea what could be causing this problem?

Thanks,

Akın GÜNEŞ
GÜNCEL YAZILIM

Search keywords:
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Input string was not in a correct format
FullNamespace.ObjectName(X) is not a valid value for Int64/Int32

Comments (1)
DevExpress Support Team 8 years ago

    Hello Akın.

    Thanks for your report. I replicated the issue with the current build of our libraries. Please bear with us. We will update this ticket once a solution is found.

    Answers approved by DevExpress Support

    created 8 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.