[Sharing] In files view, the user that made the shares is not shown #23645

Closed
davitol opened this Issue Mar 30, 2016 · 5 comments

Projects

None yet

5 participants

@davitol
Contributor
davitol commented Mar 30, 2016

Steps to reproduce

  1. With admin user, create two users (user1, user2)
  2. user1: create a file and a folder and share with user2
  3. Log in with user2 and accept the shares

Expected behaviour

In files view, it should be shown who was the user that made the shares

Actual behaviour

In files view, the user that made the shares is not shown

Note: It worked OK in oc 9.0.0. (regression)

Server configuration

Operating system:
Ubuntu 14.04

Web server:
Apache

Database:
MySQL

PHP version:
5.5.9

ownCloud version: "9.0.1.1","versionstring":"9.0.1 RC1","edition":"Enterprise"

Updated from an older ownCloud or fresh install:
Fresh

List of activated apps:

The content of config/config.php:


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

Are you using encryption:
No

Logs

Client configuration

browser
Firefox, Safari

oC 9.0.0
screen shot 2016-03-30 at 10 34 09

oC 9.0.1

whomadewho

@davitol davitol added this to the 9.0.1-current-maintenance milestone Mar 30, 2016
@rullzer
Contributor
rullzer commented Mar 30, 2016

@davitol are you doing ferderated shares?

@PVince81
Collaborator

The screenshot "before" shows regular user shares but the "after" seems to show federated shares.

Here is my try with both fed shares and local shares.
8.2.3:
share-status-8 2 3

stable9:
share-status-stable9

Indeed, something seems wrong.

@PVince81
Collaborator

data-share-owner is set, so something broke the code that displays the owner in the status.

@PVince81 PVince81 self-assigned this Mar 30, 2016
@PVince81
Collaborator

Debugging into OC.Share.markFileAsShared. The status is set correctly, but some mechanism is re-rendering the file row which discards it.

@PVince81
Collaborator

Fix is here #23663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment