We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d49dc5 commit dbbfde3Copy full SHA for dbbfde3
1 file changed
src/DeepLinkModule/javasource/deeplink/actions/ExecuteDeeplink.java
@@ -122,10 +122,10 @@ public java.lang.Boolean executeAction() throws Exception
122
Core.delete(this.getContext(), this.pendinglink.getMendixObject());
123
}
124
125
- if(link.getTrackHitCount()) {
+ IContext sudoContext = getContext().createSudoClone();
126
+ if(link.getTrackHitCount(sudoContext)) {
127
//set hitcount (note, this might not be exact)
- IContext sudoContext = getContext().createSudoClone();
128
- link.setHitCount(sudoContext, link.getHitCount(getContext().createSudoClone()) + 1);
+ link.setHitCount(sudoContext, link.getHitCount(sudoContext) + 1);
129
Core.commit(sudoContext, link.getMendixObject());
130
131
return true;
0 commit comments