Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-788

Date and Time editor incorrect time format for eDirectory

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2 (2.0.0.v20120127)
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      Windows 7 SP1 64-bit, ADS 2.0 M3

      Description

      I'm pretty confident that I could create new attribute values with the Time syntax in ADS 1.5.x in Novell(NetIQ) eDirectory.
      This seems to have changed in 2.0
      When I try to add an attribute value to any object that has the time syntax ADS proposes the following raw value format:

      20120304150336.250Z

      eDirectory won't accept that and I have to edit the raw value so it looks like this

      20120304150336Z

      I.e. I have to remove the dot and the three numbers before Z.

      I can mention that ADS correctly displays attributes with the time syntax, for example:
      modifyTimestamp, 2012-mar-04 16:03:14 CET (20120304150314Z)

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        eDirectory is not compliant with RFC4517 GeneralizedTime syntax. The fraction is alkowed, but optionnal. that can be an issue for servers that are not compliant, but not supporting fractions would create the opposite issue.

        The best would be to have a way to select rhe targeted server syntax. Not easy...

        Show
        Emmanuel Lecharny added a comment - eDirectory is not compliant with RFC4517 GeneralizedTime syntax. The fraction is alkowed, but optionnal. that can be an issue for servers that are not compliant, but not supporting fractions would create the opposite issue. The best would be to have a way to select rhe targeted server syntax. Not easy...
        Hide
        Aleks M added a comment -

        Is it possible maybe to read the Root DSE and detect that ADS is connected to eDir?

        Show
        Aleks M added a comment - Is it possible maybe to read the Root DSE and detect that ADS is connected to eDir?
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Fix with commit 1493795.

        http://svn.apache.org/r1493795

        We added a "Discard fraction (milliseconds)" checkbox which allows you to remove the fraction from the value.
        You don't need to check it every time the dialog is shown, the checkbox's selection gets remembered automatically after the "OK" button is clicked.
        That's the best we can do to support servers that don't correctly handle fraction values.

        Show
        Pierre-Arnaud Marcelot added a comment - Fix with commit 1493795. http://svn.apache.org/r1493795 We added a "Discard fraction (milliseconds)" checkbox which allows you to remove the fraction from the value. You don't need to check it every time the dialog is shown, the checkbox's selection gets remembered automatically after the "OK" button is clicked. That's the best we can do to support servers that don't correctly handle fraction values.

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Aleks M
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development