UseOneAsMany Analysis

/wp-content/uploads/2015/02/1_649916.png

1st argument: Value to be passed to target.

2nd argument: How many times the value must be repeated in target.

3rd argument: How context changes must be in target.

/wp-content/uploads/2015/02/2_649917.png/wp-content/uploads/2015/02/3_649918.png/wp-content/uploads/2015/02/3_649918.png/wp-content/uploads/2015/02/5_649919.png

Rule 1: First queue and Second queue should have same number of context changes.

Else:

  
First Queue:                                   Second Queue:                               Result:

/wp-content/uploads/2015/02/6_649920.png/wp-content/uploads/2015/02/7_649922.png/wp-content/uploads/2015/02/8_649923.png

Rule 2: Second queue and Third queue should have same number of values (total count).

Else:

Second Queue:                              Third Queue:                                   Result:

/wp-content/uploads/2015/02/9_649924.png/wp-content/uploads/2015/02/10_649925.png/wp-content/uploads/2015/02/11_649926.png

Rule 3: First queue should not have repeated values.

Else:

     First Queue:                                   Result:

/wp-content/uploads/2015/02/12_649927.png/wp-content/uploads/2015/02/13_649928.png/wp-content/uploads/2015/02/14_649929.png/wp-content/uploads/2015/02/15_649930.png/wp-content/uploads/2015/02/16_649931.png/wp-content/uploads/2015/02/17_649932.png

Else:

/wp-content/uploads/2015/02/18_649933.png/wp-content/uploads/2015/02/19_649937.png/wp-content/uploads/2015/02/20_649938.png/wp-content/uploads/2015/02/21_649939.png

Pick1:

Everything seems right. Right?

.

.

.

Wrong!

/wp-content/uploads/2015/02/22_649943.png

(Wrong Error)

Reason: State is under F_Address_MT and Name is under PersonalDetails.

Intuition: A field of lower level cannot be mapped to one in higher level.

Pick 2:

/wp-content/uploads/2015/02/23_649944.png

     Expecting something like this?

/wp-content/uploads/2015/02/24_649945.png

No? Then you’re right. Look at this queue:

/wp-content/uploads/2015/02/25_649946.png

This is what you are gonna get:

/wp-content/uploads/2015/02/26_649947.png

Why?

The context changes on the target are at the same level as first queue which is at PersonalDetails, whereas third queue is at Friends level (lower level). Hence the context changes propagated to the target get converted to the level in first queue.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply