syncdaemon_metadata_get_is_synced always returns FALSE for post-generations folders

Bug #640392 reported by Roman Yepishev
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Rodrigo Moya
ubuntuone-client (Ubuntu)
Fix Released
Medium
Ubuntu One Client Engineering team

Bug Description

Problem: http://ubuntuone.com/p/GIw/ - all folders show 'ubuntuone-updating' emblem.

Reason:
post-generations folders do not use local_hash and server_hash so first check in syncdaemon_metadata_get_is_synced sets is_updated to false. Subsequently it is and'ed with is_synced which is received from quick_tree_synced which results in false, therefore the folders have ubuntuone-updating emblem.

Related branches

Roman Yepishev (rye)
summary: - syncdaemon_metadata_get_is_synced always returns FALSE for directories
- for post-generations folders
+ syncdaemon_metadata_get_is_synced always returns FALSE for post-
+ generations folders
Revision history for this message
John Lenton (chipaca) wrote :

That should be or'ed, I guess

John Lenton (chipaca)
Changed in ubuntuone-client:
status: Confirmed → In Progress
Changed in ubuntuone-client (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
milestone: none → ubuntu-10.10
dobey (dobey)
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Changed in ubuntuone-client:
importance: Medium → High
Changed in ubuntuone-client (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 1.4.2-0ubuntu1

---------------
ubuntuone-client (1.4.2-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Adding a try-except block around clientdefs constants import to be able to run on development environments (Natalia Bidart) (LP: #628956)
    - Fix LR to delete the share metadata or unsubscribe the udf if the volume
      directory is missing from disk but VolumeManager still have the volume as
      "active" (Guillermo Gonzalez) (LP: #556783)
    - FSM creates the directories now, not Sync (Facundo Batista)
    - Default logging for ubuntuone-preferences is INFO (Natalia Bidart)
      (LP: #640438)
    - Plug a memory leak (Rodrigo Moya)
    - Added contacts for users with no addressbooks are kept in memory correctly
      now (Rodrigo Moya) (LP: #640171)
    - Fixed syncdaemon_metadata_get_is_synced to work for post-generations
      folders (Rodrigo Moya) (LP: #640392)
    - Fix a regression in VolumeManager, now it calls refresh_shares after
      server rescan (Guillermo Gonzalez) (LP: #638187)
    - Use com.syncdaemon.SyncDaemon.UniqueInstance name to check for existing
      instance of syncdaemon (Roman Yepishev) (LP: #639017)
    - Include glib's gi18n-lib.h, which forces definition of GETTEXT_PACKAGE
      (Rodrigo Moya) (LP: #640955)
    - Add syncdaemon_authentication_clear_token API for the music store to deal
      with invalid tokens (Rodrigo Moya) (LP: #634384)
 -- Rodrigo Moya <email address hidden> Mon, 20 Sep 2010 22:37:05 +0200

Changed in ubuntuone-client (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntuone-client:
status: Fix Committed → 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.