Valuelist based on global relation empty w/o dataprovider

Hello,

I have a valuelist that is based on a global relationship. The idea is that it returns a list of companies that belong to a certain group. The group id is stored in a global and is used on the left side of a relationship that looks at a group table. The valuelist then joins the group table to to a company table; returning only companies that belong to the specified group ID stored in the global. The valuelist works great when attached to a dataprovider, but when trying to retrieve the values from the valuelist programatically using application.getValueListItems(name) I always get an empty dataset?

Any suggestions?

I just tried this using 4.0.1, but the dataset I get returned from getValueListItems(name) is filled with the all the right values.

Can you reproduce the bug in a small solution? If so, then please create a case in the Support System. If not, then it will probably help you in solving your own problem.