xadisk
  1. xadisk
  2. XADISK-102

File system events for directory modifications should also contain the name of the child object.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: filesystem
    • Labels:
      None

      Description

      Thanks to Nick for bringing this up via thread: http://groups.google.com/group/xadisk/browse_thread/thread/84403c5d7773c4b1

      File system events for directory modifications should contain the name of the child object which was added/deleted in the directory.

      To implement this, we can do either of these:
      1. use the existing field "file" of "FileSystemStateChangeEvent" to hold the child object's path when the event is a directory modification event. The path of the directory (which comes through "file" variable today) for which this event was received can still be calculated from the child's path (getParent).

      2. keep the "file" usage as it is today, and add an extra field to hold "more" information about the event. E.g. in directory modification case, it can contain the name/path of the child object.

      Thanks,
      Nitin

        Activity

        Hide
        Nitin Verma added a comment -

        This will be fixed in the release 1.2.1.

        Show
        Nitin Verma added a comment - This will be fixed in the release 1.2.1.
        Hide
        Nitin Verma added a comment -

        Checked-in the changes to trunk.

        Show
        Nitin Verma added a comment - Checked-in the changes to trunk.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            Nitin Verma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: