Good to hear that you've fixed the issue.
But yes, modern dual flush cable or air pressure operated flushing systems are quite complex, and prone to leakage into the toilet which can then go unnoticed for a long time.
I assume these systems replaced the older, very dependable, siphon flush...