Directories do not get local_hash and server_hash updated

Bug #495931 reported by Roman Yepishev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Ubuntu One Foundations+ team

Bug Description

STR:

1. Get a directory (in my case - volia-traffic).
2. Put it into Ubuntu One directory.
3. Wait for it to sync.
4. Check the directory status:

rtg@buzz:~$ u1sdtool --info /home/rtg/Ubuntu\ One/testing/volia-traffic
 File: /home/rtg/Ubuntu One/testing/volia-traffic
  info_created: 1260633623.28
  info_is_partial: False
  info_node_id_assigned: 1260633639.82
  is_dir: True
  local_hash:
  mdid: be1b2838-3cd0-41e8-8d2c-e2632fd949b9
  node_id: d9aa9ee6-40e9-4c07-ab35-ea1c8e9d742c
  path: testing/volia-traffic
  server_hash:
  share_id:
  stat: posix.stat_result(st_mode=16877, st_ino=4162706L, st_dev=64516L, st_nlink=2, st_uid=1000, st_gid=1000, st_size=4096L, st_atime=1260633623, st_mtime=1260633623, st_ctime=1260633623)

Result:
local_hash and server_hash fields are empty.

Expected result:
Both local_hash and server_hash should be filled with the hash.

Installed: 1.1.0+r288-0ubuntu1~ppa1~karmic

Tags: foundations+
Revision history for this message
Roman Yepishev (rye) wrote :
Rick McBride (rmcbride)
Changed in ubuntuone-client:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → John Lenton (chipaca)
Roman Yepishev (rye)
Changed in ubuntuone-client:
assignee: John Lenton (chipaca) → Ubuntu One Foundations+ team (ubuntuone-foundations+)
tags: added: foundations+
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Just tested this and can't reproduce it:

guillermo@naug:~/Ubuntu One$ date && mkdir bar
Mon Apr 12 19:27:22 ART 2010
guillermo@naug:~/Ubuntu One$ date && u1sdtool --info /home/guillermo/Ubuntu\ One/bar/
Mon Apr 12 19:27:35 ART 2010
 File: /home/guillermo/Ubuntu One/bar/
  info_created: 1271111242.84
  info_is_partial: False
  info_node_id_assigned: 1271111252.63
  is_dir: True
  local_hash:
  mdid: ac50d9ce-c61b-41f5-828b-8cf3f8ef5650
  node_id: 7d09c471-3b5c-4563-9a04-23d9944808e9
  path: /home/guillermo/Ubuntu One/bar/
  server_hash:
  share_id:
  stat: posix.stat_result(st_mode=16877, st_ino=1704631, st_dev=2052L, st_nlink=2, st_uid=1000, st_gid=1000, st_size=4096, st_atime=1271111242, st_mtime=1271111242, st_ctime=1271111242)
guillermo@naug:~/Ubuntu One$ date && u1sdtool --info /home/guillermo/Ubuntu\ One/bar/
Mon Apr 12 19:28:02 ART 2010
 File: /home/guillermo/Ubuntu One/bar/
  info_created: 1271111242.84
  info_is_partial: False
  info_last_partial_created: 1271111260.88
  info_last_partial_removed: 1271111269.6
  info_node_id_assigned: 1271111252.63
  is_dir: True
  local_hash: sha1:da39a3ee5e6b4b0d3255bfef95601890afd80709
  mdid: ac50d9ce-c61b-41f5-828b-8cf3f8ef5650
  node_id: 7d09c471-3b5c-4563-9a04-23d9944808e9
  path: /home/guillermo/Ubuntu One/bar/
  server_hash: sha1:da39a3ee5e6b4b0d3255bfef95601890afd80709
  share_id:
  stat: posix.stat_result(st_mode=16877, st_ino=1704631, st_dev=2052L, st_nlink=2, st_uid=1000, st_gid=1000, st_size=4096, st_atime=1271111242, st_mtime=1271111242, st_ctime=1271111242)

Changed in ubuntuone-client:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.