Currently, the type of enable flag in ReplicationHandler is str:
It should be bool.
Patch attached. This fix can accept bool type. It also accept str type for back-compat. Now "on" and "yes" are recognized for both bool and str.
trunk: Committed revision 985672.
branch_3x: Committed revision 985681.
Bulk close for 3.1.0 release