Forwarding to the mifos-user list in case there was a reason we designed it this way in the past.
Basically when a client is being changed from Cancelled status to Pending Approval, the flag is not being cleared. I agree that this doesn't make sense, that the flag should be cleared when the status is updated, but I was wondering if there was some reporting that an MFI might have wanted to do, or if there was a design reason here that I'm not aware of. Kay -----Original Message----- From: Piotr Bogacz [mailto:[email protected]] Sent: Thursday, April 07, 2011 7:04 AM To: Kay Chau Cc: Lukasz Chudy (contact); Jakub Sławiński Subject: MIFOS-4643 Hi, It's me again. This time I try fix MIFOS-4643 (http://mifosforge.jira.com/browse/MIFOS-4643) and I found this code: public void clearCustomerFlagsIfApplicable(CustomerStatus oldStatus, CustomerStatus newStatus) { if (checkStatusChangeCancelToPartial(oldStatus, newStatus)) { if (!isBlackListed()) { this.customerFlags.clear(); } } } Why when the client status is 'Cancelled' with flag 'Blacklisted' and I change the client status from 'Cancelled' to 'Pending Approval/Partial Application' customerFlags is not cleared? If this is okay, whether it should be display flag, when the status client is other than 'Canceled'? The client status is 'Cancelled' with flag 'Blacklisted' and I change the client status from 'Cancelled' to 'Pending Approval/Partial Application'. I change again the client status from 'Pending Approval/Partial Application' to 'Cancelled' with 'Other' flag. If the previous flag should not be replaced by a new flag? Regards, Piotr ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Mifos-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mifos-users
