system has a Bug ?

6 views
Skip to first unread message

Hari K T

unread,
Apr 14, 2012, 12:58:19 PM4/14/12
to aur...@googlegroups.com
Hi Guys, 

Have you played recently with the aura framework as a whole with the system ?

I feel there is a bug. The data which are set are not getting set for the TwoStep view is called twice. On the first call the value is set and on the next object its not.

Can anyone help with it ? I was trying to show some demo in the coming days . So need to make something fast with this limited time .


Thank you

Hari K T

unread,
Apr 14, 2012, 10:25:52 PM4/14/12
to aur...@googlegroups.com
Hi Guys, 

Thank you . I figured it out .


And also I would love to make a correction in my mail. There was only a single object , but setInnerData was called some how twice. 

The first call sets and second call unset.

Thank you

Hari K T
M: +91-9388758821 | W: http://harikt.com/blog



Hari K T

unread,
Apr 16, 2012, 1:42:24 AM4/16/12
to aur...@googlegroups.com
@Paul ,

Do you think array merge is a nice fix ?
public function setInnerData($inner_data)
{
    $this->inner_data = array_merge($this->inner_data, $inner_data);
}

Also we can add a array merge for this 

public function setOuterData($outer_data) { $this->outer_data = $outer_data; }

If so I can push to Aura.View , also will add a resetInnerData and

resetOuterData methods.

Let me know your thoughts guys .
Reply all
Reply to author
Forward
0 new messages