Open yunusyerli1 opened 1 year ago
Hey Yunus!
I've added some record/display logic on a Module, (granted not as intricate as an address picker extension), and i'm not able to replicate.
Could you perhaps give some more in-depth details, or an alternate way to replicate this issue on a vanilla SuiteCRM8 environment?
I believe an Address Picker is not core functionality, so it sounds like this is part of a customized instance. Do you see this issue in a vanilla install of SuiteCRM8?
Thanks!
Issue
The problem is that "Record Logic" is being currently triggered too many times (16 times or more) when you switch from one tab to another. This shouldn't happen.
Expected Behavior
Whenever changing the tap, GraphQL doent get triggered too many times.
Actual Behavior
Whenever changing the tap, only one GraphQL call needs to be requested.
Possible Fix
Holding record-view previous values to array and checking this array shoulf trigger GrapgQL Call if there is difference.
Steps to Reproduce
Context
Having too many GraphQL calls repetitively can cause performance issues.
Your Environment