Hi Udai,

it seems that there is inconsistency in the PPI QG functional
specification. The old PPI (in Mifos 1.6.x) were implemented as surveys
and appeared in the box on the right side of the screen. The migration
is consistent with this and creates PPI QG attached to the 'View Client'
flow, so the migrated PPI QG are visible in the box on the right side of
the screen. However, the new PPI QG specification is talking about
'Create Client' flow, which means that the responses are visible on the
bottom of the screen under the 'View additional information' link.

This is why GK after activating PPI QG saw the new responses under the
'View additional information' link and old responses in the 'question
groups' box on the right side of the screen.

We have three choices now:
 * change the new PPI QG functional specification to be
consistent with the old ppi behaviour.
 * change migration script to be consistent with the PPI QG functional
specification
 * do nothing (but the clients like GK with a lot of old ppi responses
will have PPI QG visible at two places). However, GK can always change
this by using scripts attached by Udai.

I think the second option is the best one (if we want the new PPI QG to
be attached to 'Create Client' flow).

Emily, Kay, what is your opinion about this?


Regards,
  Jakub.

On 30.08.2011 20:17, Udai Gupta wrote:
> I did a recheck on the migration script and the 2.1.5 code, I don't
> think there is any problem.
> 
> The migrated PPI will be visible under "Question Groups" box at client view.
> see 
> https://github.com/mifos/head/blob/2.1.5/application/src/main/java/org/mifos/customers/client/struts/action/ClientCustAction.java
> (line 530)
> 
> PPI migration script does not relate PPI to "create client" flow as
> that would not be visible in client view under "Question Groups" box.
> PPI XML associate PPI to "view client" flow which I think is correct.
> 
> Now, event flow can be changed after migration just for satisfaction
> using these queries.
> 
> Move PPI QG and respose data to Client Client flow (event_source_id=1)
> update question_group_event_sources set event_source_id=1
> 
> where question_group_id=(SELECT id FROM question_group where
> title='PPI India 2008');
> 
> update question_group_instance set event_source_id=1
> where question_group_id=(SELECT id FROM question_group where
> title='PPI India 2008');
> 
> Move PPI QG and respose data to View Client flow (event_source_id=3)
> update question_group_event_sources set event_source_id=3
> where question_group_id=(SELECT id FROM question_group where
> title='PPI India 2008');
> 
> update question_group_instance set event_source_id=3
> 
> where question_group_id=(SELECT id FROM question_group where
> title='PPI India 2008');
> 
> Take a look at the code, and let me know what you think is wrong.
> https://github.com/ugupta/ppimigration
> 
> If I am not understanding the problem than you can share some
> screenshots of client view to show where it should be visible, use the
> above mentioned queries to change the flow of the PPI data and try the
> client view.
> 
> Udai
> 
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better 
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Mifos-users mailing list
> Mifos-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mifos-users


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to