share_links search box should not search within folders that are shared with me.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Control Panel | Status tracked in Trunk | |||||
Stable-4-2 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
High
|
Diego Sarmentero |
Bug Description
go to share links tab, search for a file that's inside a folder that's shared with me.
select that file, this causes the app to hang while getting info -- Are we supposed to be able to share files within another person's share?
Here's evidence in the log - the change_
2012-10-04 16:24:41,224 - ubuntuone.
I noticed this on darwin.
Related branches
- Mike McCracken (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 156 lines (+34/-24)2 files modifiedubuntuone/controlpanel/gui/qt/share_links_search.py (+3/-2)
ubuntuone/controlpanel/gui/qt/tests/test_share_links_search.py (+31/-22)
tags: | added: desktop+ |
Changed in ubuntuone-control-panel: | |
assignee: | Roberto Alsina (ralsina) → Diego Sarmentero (diegosarmentero) |
Changed in ubuntuone-control-panel: | |
status: | Confirmed → Fix Committed |
This causes an error in syncdaemon, which is logged but not propagated to the control panel UI.
The right fix is to avoid the error, although there's also a problem that the control panel doesn't seem to be receiving or handling the error callback.
Here's the syncdaemon log from trying this:
2012-10-05 09:37:03,661 - ubuntuone. SyncDaemon. InteractionInte rfaces - DEBUG - change_ public_ access: args (<ubuntuone. syncdaemon. interaction_ interfaces. SyncdaemonPubli cFiles object at 0x104804490>, u'fe76df32- 6a95-4a6d- ab74-e4512c50b8 e9', u'434f2d47- 6a52-4b98- 961b-2c28f8e6c3 ce', True), kwargs {}. SyncDaemon. ActionQueue - DEBUG - ChangePublicAccess share:UUID( 'fe76df32- 6a95-4a6d- ab74-e4512c50b8 e9') node:UUID( '434f2d47- 6a52-4b98- 961b-2c28f8e6c3 ce') ChangePublicAcc ess(running= 'False' ) queueing SyncDaemon. EQ - DEBUG - push_event: SYS_QUEUE_ADDED, kwargs: {'command': <ubuntuone. syncdaemon. action_ queue.ChangePub licAccess object at 0x105e983b0>} SyncDaemon. Pb - DEBUG - emitting 'on_metaqueue_ changed' to all (1) connected clients. SyncDaemon. Pb - DEBUG - emitting 'on_request_ queue_added' to all (0) connected clients. SyncDaemon. ActionQueue - DEBUG - ChangePublicAccess share:UUID( 'fe76df32- 6a95-4a6d- ab74-e4512c50b8 e9') node:UUID( '434f2d47- 6a52-4b98- 961b-2c28f8e6c3 ce') ChangePublicAcc ess(running= 'False' ) starting SyncDaemon. ActionQueue - DEBUG - ChangePublicAccess share:UUID( 'fe76df32- 6a95-4a6d- ab74-e4512c50b8 e9') node:UUID( '434f2d47- 6a52-4b98- 961b-2c28f8e6c3 ce') ChangePublicAcc ess(running= 'False' ) started SyncDaemon. ActionQueue - DEBUG - ChangePublicAccess share:UUID( 'fe76df32- 6a95-4a6d- ab74-e4512c50b8 e9') node:UUID( '434f2d47- 6a52-4b98- 961b-2c28f8e6c3 ce') ChangePublicAcc ess(running= 'False' ) running SyncDaemon. InteractionInte rfaces - DEBUG - change_ public_ access: result None. SyncDaemon. EQ - DEBUG - push_event: AQ_DOWNLOAD_ FILE_PROGRESS, kwargs: {'deflated_size': 36632583L, 'node_id': 'a0c94db7- be64-4eac- b2b8-30d8e61516 8f', 'share_id': '', 'n_bytes_read': 4352496} SyncDaemon. Pb - DEBUG - emitting 'on_download_ file_progress' to all (1) connected clients. SyncDaemon. EQ - DEBUG - push_event: AQ_DOWNLOAD_ FILE_PROGRESS, kwargs: {'deflated_size': 36632583L, 'node_id': 'a0c94db7- be64-4eac- b2b8-30d8e61516 8f', 'share_id': '', 'n_bytes_read': 4425286} SyncDaemon. Pb - DEBUG - emitting 'on_download_ file_progress' to all (1) connected clients. SyncDaemon. ActionQueue - ERROR - ChangePublicAccess share:UUID( 'fe76df32- 6a95-4a6d- ab74-e4512c50b8 e9') node:UUID( '434f2d47- 6a52-4b98- 961b-2c28f8e6c3 ce') ChangePublicAcc ess(running= 'False' ) failure: ('FORBIDDEN', "Can't make shared files public.") (traceback follows) syncdaemo. ..
2012-10-05 09:37:03,661 - ubuntuone.
2012-10-05 09:37:03,661 - ubuntuone.
2012-10-05 09:37:03,661 - ubuntuone.
2012-10-05 09:37:03,662 - ubuntuone.
2012-10-05 09:37:03,662 - ubuntuone.
2012-10-05 09:37:03,663 - ubuntuone.
2012-10-05 09:37:03,663 - ubuntuone.
2012-10-05 09:37:03,666 - ubuntuone.
2012-10-05 09:37:03,919 - ubuntuone.
2012-10-05 09:37:03,919 - ubuntuone.
2012-10-05 09:37:04,513 - ubuntuone.
2012-10-05 09:37:04,514 - ubuntuone.
2012-10-05 09:37:04,603 - ubuntuone.
Traceback (most recent call last):
File "ubuntuone/