A Browse Parametereized lookup does not return results when the parent lookup attribute is locked by a process
Steps to Reproduce:
- Create a new lookup called "myParam" with an id of "myParam". The lookup should use a dynamic query.
- Type in the query text:
From prtask t
And t.prprojectid = @where:param:user_def:integer:projid@
3. Save and Continue
4. Specify "taskname" as the display attribute on the Lookup Properties:Parent Window page
5. Save and exit
6. Create a new master object called "myObj" with an id of "myObj" and Save
7. Create a new attribute called "myproj" with an id of "myproj"
8. Choose Data Type Lookup and Save
9. Choose Lookup "Project browse"
10. Create a new attribute called "mytask", with an id of "mytask"
11. Choose Data Type Lookup
12. Choose Lookup of "myParam" and Save
13. Under Lookup Parameter Mappings specify "myproj" for the Lookup Parameter "projid"
14. Add both attributes (myproj and mytask) to the edit view of myobj.
15. Click on Fields in the views and make "myproj" a Pull-down display type and "mytask" a Browse display type.
16. Create a process on "myObj"
Object that will lock the "myproj" attribute
17. Make sure that you have several projects with tasks in them
18. Create a new instance of the "myobj" object filling all details EXCEPT the "mytask" attribute
19. Initiate the process that will click the "myproj" attribute
20. Click on the browse for the "mytask" attribute
Expected Results: The related tasks to the project will populate the browse window
Actual Results: Browse windows shows nothing