Metadata info may be corrupt on UI when accessing Shared With Me files
Bug #612191 reported by
Natalia Bidart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
magicicada gui |
Fix Released
|
High
|
Natalia Bidart |
Bug Description
It seems to be displaying metadata for formerly opened files. Maybe something is wrong with symlinks?
Related branches
lp:~nataliabidart/magicicada-gui/symlinks-metadata
- Facundo Batista: Approve
-
Diff: 145 lines (+36/-6)4 files modifiedmagicicada/__init__.py (+8/-3)
magicicada/syncdaemon.py (+2/-1)
magicicada/tests/test_magicicada.py (+12/-2)
magicicada/tests/test_syncdaemon.py (+14/-0)
Changed in magicicada: | |
assignee: | nobody → Naty Bidart (nataliabidart) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in magicicada: | |
milestone: | none → alpha2 |
milestone: | alpha2 → alpha1 |
Changed in magicicada: | |
status: | Confirmed → In Progress |
Changed in magicicada: | |
status: | In Progress → Fix Committed |
Changed in magicicada: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is caused by the fact that Shared With Me is a symlink. One solution is to pass the os.path.realpath of the path. This can be done in the magicicada level, or in SyncDaemon. I think we have to do it in the lower layer.
Anyways, I've tried this and the syncdaemon service doesn't answer the request. As per logs:
2010-08-21 13:21:27,323 - ubuntuone. SyncDaemon. DBus - DEBUG - get_metadata by path: dbus.String( u'/home/ nessita/ .local/ share/ubuntuone /shares/ Canonical from System User/u1prefs.png') SyncDaemon. Main - NOTE - ---- MARK (state: <State: 'READY' (queues IDLE connection 'Not User With Network')>; queues: metadata: 0; content: 0; hash: 0, fsm-cache: hit=3862 miss=1303) ----
2010-08-21 13:22:58,213 - ubuntuone.