Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2711

invalid-attribute-syntax-behavior:warn logs messages at ERROR instead of WARNING level

    Details

    • Type: Bug
    • Status: Dev backlog
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: core server
    • Labels:
      None
    • Environment:
      CentOS 6.7
      java version "1.7.0_79"
      Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

      Description

      When I run dsconfig -D "cn=directory manager" -p .. -h ... -X -w ... set-global-configuration-prop --set invalid-attribute-syntax-behavior:warn, I manage to import data with empty attribute values (for example: "mail: ").
      The problem is that it generates messages with the ERROR severity level, instead of WARNING security level, as it could be expected according to the DJ 3 reference guide:

      warn
      The directory server accepts attribute values that are invalid according to their associated syntax, but also logs a warning message to the error log. Matching operations targeting those values may not behave as expected.

      Example of message:

      "[22/févr./2016:08:00:45 -0600] category=UTIL severity=ERROR msgID=org.opends.messages....".
      

      If the behaviour is expected, then this is a document bug and this ticket should be modified and reassigned accordingly ..

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              cgrosjean Cyril Grosjean
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: