Mendix 5.2.0 DataGrid columns of referenced entity remain empty

3
I have converted a project to Mendix 5.2.0. I have a datagrid with 12 columns, two display an attribute of a referenced entity. In Mendix 5.2.0 these two columns remain empty when running the application. I have a Mendix 5.1.1 branch of the application that works just fine.
asked
8 answers
4

I have come across a similar issue. In my case the attributes that did not display in the datagrid were also from referenced entities. The datagrid was contained in a dataview with the datasource set to an association.

MyTempSales_SalesCalls/SalesCall

As a workaround, I found I could solve the issue by changing the datasource of the datagrid to Database, and using an xpath constraint using the reference and the currentObject, like

[Sales.MyTempSales_SalesCalls = '[%CurrentObject%]'] 

I hope this helps until they can fix this bug.

answered
1

This has been open for three months now! When will this be fixed?

answered
0

Could you file a ticket with a test project for this bug? Preferably in the Mendix 5.1.1 version so we can easily see the old correct behavior.

answered
0

Hi,

Could you please file a ticket for this with an attached testproject? More cases will provide more insight as some have different cases.

https://support.mendixcloud.com

answered
0

Is there a ticket registered? If yes, I would like to know the status. I'm having the same issues here.

answered
0

When we removed all (1 in our case) calculated / virtual attribute from the datagrid with empty columns the issue was resolved and all columns display the data again. Have updated the service call.

answered
0

We had a similar issue (when paging through grids references were not refreshed correctly) and reported this in the Beta stage of Mendix 5 so I have no ticket number of that. Our issue was solved in Mendix 5.4

answered
0

Ticket 100002 was created for this issue and has been resolved in Mendix 5.6.0

Regards,

Sultana Mir

answered