Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80936

Behavior of commit in Mx7

$
0
0

Hi everyone,

 

In our widget, we use mendix.data.commit to commit one object. We use mendix.data.subscribe to subcribe to changes of that Object.

In Mendix 6.9.1 and previous versions, the callback of the subscription will be called on all changes of the object.

However, in Mx7, the callback suddently isn't triggered anymore.

 

We looked at the result of the commit by using "network" tab in ChromeDeveloper Tool, and saw that there is no "instruction" field there.

In other cases, if we open objects by form and used the Save button to commit, the callback is trigged and we see the "instruction" field.

So my questions are:

 

Do you experience the same behavior (the callback of subscription isn't triggered after commiting object by mendix.data.commit)?

What's the meaning of instruction field? Is it true that if there is no instruction, the callback won't be triggered? (there are some lines about instruction in the release note but not clear to me)

Do you have solutions/suggestions to my issue?

 

Best regards,

 

 


Viewing all articles
Browse latest Browse all 80936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>