Bug #89

Cannot remove values from IELdapAttribute values

Added by Clément OUDOT 10 months ago. Updated 4 months ago.

Status:Closed Start:26/07/2011
Priority:Normal Due date:
Assigned to:Raphael Ouazana % Done:

100%

Category:Core Spent time: -
Target version:2.0

Description

For example this code does not remove the value from attribute values:

        // Get employeeType values
        IELdapAttribute employeeType = entry.getAttribute("employeeType");

        // Remove "pci" from employeeType
        Set<IByteString> employeeTypeValues = employeeType.getValues();
        IByteString pciValue = new ByteString();
        pciValue.setValue("pci");
        employeeTypeValues.remove(pciValue);

History

Updated by Clément OUDOT 10 months ago

It seems the hashcode() method must be implemented in IByteString to make this works.

Updated by Clément OUDOT 4 months ago

  • Target version changed from 0.8 to Not planned

Updated by Raphael Ouazana 4 months ago

  • Category set to Core
  • Status changed from New to Closed
  • Assigned to set to Raphael Ouazana
  • Target version changed from Not planned to 2.0
  • % Done changed from 0 to 100

This has recently been fixed. Test in r217.

Also available in: Atom PDF