Skip to content

[Sharing] Not possible to share after having shared a folder #11433

Closed

Description

@rperezb

Steps to reproduce

  1. Select to share a folder with a user
  2. On the same server, with another user select to share a file

Expected behaviour

I want to be able to share any data

Actual behaviour

An alert message is shown
screen shot 2014-10-06 at 15 16 45

Server configuration

rhel, apache, and oracle

ownCloud version: (see ownCloud admin page)
"installed":"true","version":"7.0.2.3","versionstring":"7 Beta2","edition":"enterprise"}

Are you using external storage, if yes which one: local/smb/sftp/... NO

Are you using encryption: yes/no NO

Client configuration

Browser: Chrome and FF

Operating system: MAC

ownCloud log (data/owncloud.log)

ror OCP\Share   Sharing test.txt failed, because resharing is not allowed   2014-10-06T13:13:25+00:00
Error   PHP Undefined index: permissions at /var/www/html/owncloud/lib/private/share/share.php#1813 2014-10-06T13:13:25+00:00
Error   PHP Undefined index: uid_owner at /var/www/html/owncloud/lib/private/share/share.php#1804   2014-10-06T13:13:25+00:00

Browser log

GET https://irc.owncloud.com:8098/owncloud/core/js/jquery-1.10.0.min.map 404 (Not Found) 

Activity

  1. rperezb commented on Oct 6, 2014

    @rperezb
    Author
  2. karlitschek commented on Oct 6, 2014

    @karlitschek
    Contributor

    @schiesbn

  3. PVince81 commented on Oct 7, 2014

    @PVince81
    Contributor

    @rperezb please confirm that you didn't disable resharing on the admin page.

  4. PVince81 commented on Oct 7, 2014

    @PVince81
    Contributor

    Also the screenshot doesn't match the step. I see that "test.txt" is already shared in the screenshot, so step 2 should be "On the same server, login with the target user and reshare that same file"

  5. rperezb commented on Oct 7, 2014

    @rperezb
    Author

    Steps to reproduce

    1. login as admin, create a folder, "A" and share it with other user, Raquel
    2. Log out
    3. Login as Raquel
    4. Select to share a folder, "as" with raquel2, error resharing is not allowed.

    screen shot 2014-10-07 at 11 30 52

  6. PVince81 commented on Oct 7, 2014

    @PVince81
    Contributor

    Confirmed on stable7 (3039837)

    Steps:

    1. Create three users "root", "user1" and "user2"
    2. Login as "root"
    3. Create a folder "A"
    4. Share "A" with "user1"
    5. Login as "user1"
    6. Create a new folder "b"
    7. Share "b" with "user2"

    Note that resharing "A" with "user2" DOES work but sharing the non-shared folder causes that weird error to appear.

  7. PVince81 commented on Oct 7, 2014

    @PVince81
    Contributor

    If you delete "A" as "user2", then step 7 works again.
    It seems the existing shared folder is influencing the share dialog in a weird way.

  8. self-assigned this
    on Oct 7, 2014
  9. PVince81 commented on Oct 7, 2014

    @PVince81
    Contributor

    @schiesbn seems to be related to the recent fix with shares grouping.
    The issue happens in checkReshares

    Can you have a look ?

  10. PVince81 commented on Oct 7, 2014

    @PVince81
    Contributor

    @karlitschek @MTRichards @craigpg regression, setting as showstopper

  11. schiessle commented on Oct 7, 2014

    @schiessle
    Contributor

    I will have a look at it. Thanks for the detailed steps to reproduce it!

  12. schiessle commented on Oct 7, 2014

    @schiessle
    Contributor

    Will be fixed with this PR: #11380

  13. schiessle commented on Oct 10, 2014

    @schiessle
    Contributor

    fix merged and backported, will be released with OC7.0.3

  14. locked as resolved and limited conversation to collaborators on Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions