Bug #99
getContextDn() is not found by rhino
| Status: | Closed | Start: | 01/07/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Jonathan Clarke | % Done: | 100% |
|
| Category: | Core | |||
| Target version: | 1.2.0 | |||
| Problem in version: |
Description
Hello,
I try to use this in a syncoption:
ldap.getContextDn()
The javascript error is:
org.mozilla.javascript.EcmaError: TypeError: Cannot find function getContextDn. (<cmd>#1)
Associated revisions
Add method getContextDn() to ScriptableJndiServices. Fixes #99.
History
Updated by Jonathan Clarke 5 months ago
- Status changed from New to Closed
- Assigned to set to Jonathan Clarke
- Target version set to 1.2.0
- % Done changed from 0 to 100
Clément Oudot wrote:
I try to use this in a syncoption: ldap.getContextDn()
This happens because ldap is a ScriptableJndiServices object. This class does not map all methods of JndiServices... this is probably a "bad thing".
For now, I've added this method (getContextDn) to ScriptableJndiServices object. This will be available in 1.2.0 (and the trunk, so any future versions).
I hope this helps, and I apologize for the slow time responding to this issue - it seems it got "lost". Sorry!