-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Milestone
Description
The fix for #24575 on master is not enough 😦
Steps
- Admin shares "test" with "group1" and "group2" (user1 is member of both)
- "user1" renames "test" to "test_renamed"
- admin now shares "test" directly with "user1"
Expected
Received share is still called "test_renamed" (8.2 behavior)
+----+------------+------------+-----------+--------+-----------+-------------+-------------+-------------+---------------+-------------+------------+----------+------------+-------+-----------+---------------+
| id | share_type | share_with | uid_owner | parent | item_type | item_source | item_target | file_source | file_target | permissions | stime | accepted | expiration | token | mail_send | uid_initiator |
+----+------------+------------+-----------+--------+-----------+-------------+-------------+-------------+---------------+-------------+------------+----------+------------+-------+-----------+---------------+
| 6 | 1 | group1 | admin | NULL | folder | 9 | NULL | 9 | /test | 31 | 1469167795 | 0 | NULL | NULL | 0 | admin |
| 7 | 1 | group2 | admin | NULL | folder | 9 | NULL | 9 | /test | 31 | 1469167798 | 0 | NULL | NULL | 0 | admin |
| 8 | 2 | user1 | admin | 6 | folder | 9 | NULL | 9 | /test_renamed | 31 | 1469167795 | 0 | NULL | NULL | 0 | NULL |
| 9 | 2 | user1 | admin | 7 | folder | 9 | NULL | 9 | /test_renamed | 31 | 1469167798 | 0 | NULL | NULL | 0 | NULL |
| 10 | 0 | user1 | admin | NULL | folder | 9 | NULL | 9 | /test_renamed | 31 | 1469167819 | 0 | NULL | NULL | 0 | admin |
+----+------------+------------+-----------+--------+-----------+-------------+-------------+-------------+---------------+-------------+------------+----------+------------+-------+-----------+---------------+
Actual
Two folders, "test" and "test_renamed"
+----+------------+------------+-----------+--------+-----------+-------------+-------------+-------------+---------------+-------------+------------+----------+------------+-------+-----------+---------------+
| id | share_type | share_with | uid_owner | parent | item_type | item_source | item_target | file_source | file_target | permissions | stime | accepted | expiration | token | mail_send | uid_initiator |
+----+------------+------------+-----------+--------+-----------+-------------+-------------+-------------+---------------+-------------+------------+----------+------------+-------+-----------+---------------+
| 6 | 1 | group1 | admin | NULL | folder | 9 | NULL | 9 | /test | 31 | 1469167795 | 0 | NULL | NULL | 0 | admin |
| 7 | 1 | group2 | admin | NULL | folder | 9 | NULL | 9 | /test | 31 | 1469167798 | 0 | NULL | NULL | 0 | admin |
| 8 | 2 | user1 | admin | 6 | folder | 9 | NULL | 9 | /test_renamed | 31 | 1469167795 | 0 | NULL | NULL | 0 | NULL |
| 9 | 2 | user1 | admin | 7 | folder | 9 | NULL | 9 | /test_renamed | 31 | 1469167798 | 0 | NULL | NULL | 0 | NULL |
| 10 | 0 | user1 | admin | NULL | folder | 9 | NULL | 9 | /test | 31 | 1469167819 | 0 | NULL | NULL | 0 | admin |
+----+------------+------------+-----------+--------+-----------+-------------+-------------+-------------+---------------+-------------+------------+----------+------------+-------+-----------+---------------+
On master and stable9.1-group_shares
@owncloud/sharing
S4mHi6ru