Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-591

Putting some chars like "é" in common name with JXPlorer or my client code creates problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.0-RC1
    • None
    • None
    • None
    • Win XP SP2
      JRE 1.5.0_04
      ApacheDS RC1.0

    Description

      It seems the apacheds database does not like "é" chars.
      I even think trying to destroy such entries containing such chars lead to database severe corruption but I have no real and systematic clue yet.
      To reproduce, simply try to put a group with a "é" char in the cn attribute with JXplorer. Now, try to modify it. Exception araise.
      Now, in my client code, I see SearchResult returned with bad results in getName() or getNameInNameSpace(). It seems it returns a string with " " replaced by "%20" and "é" char replaced with a value like /ufffd or something like this.
      Nevertheless, if I retrieve the attributes from the SearchResult I get the correct "cn" value with a correct "é" char in it

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            tony_blanchard Tony Blanchard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: