Calculation Problem

I have just converted my solution in 4.0.1. When I test with the client I get a strange exception in a calculation.
Here it is:
Table ‘buttons’: button_name (text) and button_graph (media)
Table “actions” action_name (text) and action_button (media)

Relation action_to_button: action_name = button_name
Field action_button (calculation): return action_to_button.but_graph

Exception:

Exception executing calculation: act_button of table actions, error: org.mozilla.javascript.EcmaError: TypeError: Cannot read property “but_graph” from (/Users/geniusServer/servoy_workspace/Coperta/datasources/coperta/actions/actions_calculations.js#25)

org.mozilla.javascript.EcmaError: TypeError: Cannot read property “but_graph” from (/Users/geniusServer/servoy_workspace/Coperta/datasources/coperta/actions/actions_calculations.js#25)

Version 3.5 of Servoy never complained about this calculation, and when I check on the result of the field action_button it seems to be alright.

I’ m not sure if it is a bug, or even if I have to take it seriously.

Any idea how to get rid of this?

Irene

when do you get that exception?
when you want to show that calc in a debug client?

make a sample solution for that and create a case with it.

Shouldn’t it be button_graph instead of but_graph?