History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WET-301
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Raghu Venkataramana
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WET

With more than one parameter in parameterized object depot definitinon, processing is incorrect

Created: 20/Jan/07 11:41 PM   Updated: 09/Jul/07 01:05 AM
Component/s: Object depot
Affects Version/s: 0.9.8_beta1, 0.9.8 Final, 0.9.8_Patch
Fix Version/s: 1.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
I had an object depot with the following defnition snippet

<Object Name="Item_Row" Type="Row">
        <Def Type="ChildObject">
          <Description>
            <text>#{$qr_param1}</text>
          </Description>
        </Def>
        <Object Name="TF_City" Type="TextField">
          <Def Type="ChildObject">
            <Description>
              <name>#{$qr_param2}</name>
            </Description>
          </Def>
        </Object>
</Object>


I tried to call the object_depot with the syntax:
    object_depot("TF_City", "/Raghu Venkataramana/", "city").set "Bangalore"

This didn't work. When I lloked into the code, the problem was that the code to evaluate parameters at run time had a flaw in it. The parameter counter was not getting incremented at all.


 All   Comments   Work Log   Change History      Sort Order:
Raghu Venkataramana - 23/Jan/07 01:47 AM
Fixed in Rev:534

To verify, we need to write unit tests