Undefined method when populating dynamic drop down



I have a dynamic drop down which has ~200 entries, with the keys being distinguished names in Active Directory of the form OU=thing,OU=thing2,...,DC=com and the values being of the form <parent ou> / <child ou> / <child ou>

When the form attempts to populate this field, in Gapri, I am getting undefined method 'to_a' for #<DRb::DRbUnknown:0x000000111486e0>. I’ve seen this before when I try to shove something stupid into $evm.root, but this worked without issue in Fine-3.

Also, after talking with @eclarizio yesterday, I’ve noticed a number of issues with populating dynamic drop downs, which have been resolved by switching them to radio buttons. That did not help here.


The hash keys were being passed back as net-ldap's Net::BER::BerIdentifiedString, and that was being wrapped in DRb::DRbUnknown. Not sure if I need to move my net-ldap require statement or what, but calling to_s on the DN fixed it.