core icon indicating copy to clipboard operation
core copied to clipboard

Unable to share root of custom mount

Open pluijm opened this issue 13 years ago • 2 comments

Expected behaviour

I've added a custom mount (as admin) of a local directory. In the web GUI I've logged in as admin and shared the custom mount (root) with another user. Expected is the user to see the shared custom mount in Shares/.

Actual behaviour

In the Shares folder of the other user a folder with no name has appeared. The name is missing in the link too. Sharing a folder within the custom mount works as expected.

Steps to reproduce

  1. Create a custom mount (local)
  2. Share the mount (root) with another user via the web GUI
  3. Login as the other user and see the Shares folder contains a folder with no name

Workaround

In table oc_share the field "file_target" has a value of "/", change this to "/" and sharing works as expected.

Server configuration

Operating system: Mythbuntu 12.04 LTS

Web server: Apache 2.2.22-1ubuntu Database: MySQL 5.5.31-0ubuntu0.12.04.1 PHP version: 5.5.31 ownCloud version: 5.0.5

Client configuration

Browser: Firefox 20 Operating system: KUbuntu 13.04

Logs

Web server error log

No entries

ownCloud log (data/owncloud.log)

No entries

Browser log

When the share is made, the ajax call returns status: success A JS error occurs: TypeError: OC.Share.statuses[itemSource] is undefined ...apeHTML(t('core','Shared'))).prepend(img);}else{action.removeClass('permanent');... core.j...de78de5 (regel 435)

pluijm avatar May 07 '13 05:05 pluijm

cc @MTGap

MorrisJobke avatar May 07 '13 08:05 MorrisJobke

I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Aug 08 '13 15:08 jancborchardt