Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-504

Timestamp attribute with an invalid time in it is read only - editor ignores entry

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None

      Description

      After putting bogus data into a timestamp field (SYNTAX 1.3.6.1.4.1.1466.115.121.1.24) using ldapmodify, a search of that entry displays correctly in the entry editor, but is not editable.

      The "edit value F7" option is available, but does nothing when selected.

      Ideally the option should be made to edit the entry, along with the warning that the previous time value was corrupt and a new one should be chosen.

        Activity

        Hide
        Pierre-Arnaud Marcelot added a comment -

        Apache Directory studio version 1.5.0 has been released.

        Show
        Pierre-Arnaud Marcelot added a comment - Apache Directory studio version 1.5.0 has been released.
        Hide
        Graham Leggett added a comment -

        This is awesome, thank you.

        Show
        Graham Leggett added a comment - This is awesome, thank you.
        Show
        Pierre-Arnaud Marcelot added a comment - Fixed at commits 796811 and 797021. http://svn.apache.org/viewvc?rev=796811&view=rev http://svn.apache.org/viewvc?rev=797021&view=rev
        Hide
        Pierre-Arnaud Marcelot added a comment -

        I added a confirmation dialog when the value is bogus with the following message:

        "The value ''

        {0}

        '' is bogus and cannot be edited in the Date and Time Editor.\n\nWould you like to open the Date and Time Editor with the current date and time ?\n\n\nNote: To edit the bogus value, you can use the In-Place Text Editor."

        Show
        Pierre-Arnaud Marcelot added a comment - I added a confirmation dialog when the value is bogus with the following message: "The value '' {0} '' is bogus and cannot be edited in the Date and Time Editor.\n\nWould you like to open the Date and Time Editor with the current date and time ?\n\n\nNote: To edit the bogus value, you can use the In-Place Text Editor."
        Hide
        Pierre-Arnaud Marcelot added a comment -

        It would definitely make sense.

        Actually, we were discussing about that with Stefan just one minute ago on IRC.

        I'll prepare that for next version.

        Show
        Pierre-Arnaud Marcelot added a comment - It would definitely make sense. Actually, we were discussing about that with Stefan just one minute ago on IRC. I'll prepare that for next version.
        Hide
        Graham Leggett added a comment -

        Would it make sense when the default editor throws an exception saying "garbage, sorry", for a dialog to be raised telling the end user "you have bogus data, would you like to set the data from scratch?". If yes, the time chooser pops up, with some sensible default date (today?).

        Show
        Graham Leggett added a comment - Would it make sense when the default editor throws an exception saying "garbage, sorry", for a dialog to be raised telling the end user "you have bogus data, would you like to set the data from scratch?". If yes, the time chooser pops up, with some sensible default date (today?).
        Hide
        Stefan Seelmann added a comment -

        As a workaround you could edit the value using another value editor. To do so choose "Edit Value With" -> "In-Place Text Editor" from the value's context menu. HTH

        Show
        Stefan Seelmann added a comment - As a workaround you could edit the value using another value editor. To do so choose "Edit Value With" -> "In-Place Text Editor" from the value's context menu. HTH

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Graham Leggett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development