You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CONV013 flags a deliberate ThrowException call and java action calls in a loop, where Rollback is the only valid handling #1689
Lint rule CONV013 ("uses 'Rollback' error handling instead of Custom") fires on two patterns where Rollback is the right or the only choice:
A call to an always-throwing action such as CommunityCommons.ThrowException, used to make the calling flow roll back (MDL refuses raise error in the main flow, MDL084/CE0710). With a custom handler beside the call, another rule (a flow-layout rule) flags the handler; without one, CONV013 fires.
A java action call inside a loop: Mendix allows only Rollback there (CE0644), and CONV013 still fires.
So one rule always fires for a deliberate pattern, and the app needs a baseline entry for it.
Expected
CONV013 does not flag (1) an always-throwing action and (2) a java action call inside a loop. If that cannot be detected, an in-model way to accept a finding for one element (an annotation or a per-element ignore) would also solve it; today mxcli lint only has rule-wide config.
Activity