spring-projects / spring-projects/spring-ldap
MetaDataException bug when using DirContexAdapter to add member to group in Spring LDAP 2.0.0.RELEASE
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 375
- Forks
- 501
- Avg merge
- 6h 4m
- Merged PRs (30d)
- 63
Description
Following section 3.4 of the Spring LDAP Reference manual to use the DirContextAdapter and LdapTemplate for adding an attribute for a new user to a group, I get a MetaDataException thrown in the class ObjectMetaData (in the constructor) apparently because there are missing annotations in DirContextAdapter. I have all of this in a zip file with a README.txt, sample code, output, etc. but since this is the first bug I have ever reported, I don't have a clue as to how to provide this.
Just so I am clear here -- I have no desire to pull code and make changes to it. I am trying to use this code and found an issue. I am just reporting it with as much information as I can provide to make it easy for someone to fix.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ObjectMetaData's constructor and DirContextAdapter while following section 3.4 of the Spring LDAP Reference manual. Reproduce the failure using the reporter's README, sample code, and output from the zip archive. Done means the workflow for adding a new user's attribute to a group completes without MetaDataException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100