-
Notifications
You must be signed in to change notification settings - Fork 5
Shares file_parent attribute is unused ? #326
Comments
this is blocking the enabling of API tests for #249 and many other scenarios |
got confirmation that none of the clients are using this attribute @phil-davis @individual-it possible approaches for the tests:
I think I'd vote for 1 here as it's the most straightforward one. |
@PVince81 (1) sounds good to me - If we really think that there is nothing out there that uses |
I wouldn't want to risk removing it from the SQL queries in the core code as I'm unsure about side effects. Might need to evaluate whether there is a big benefit like increased performance before doing so. |
I will do (1) straight away - PR incoming... |
The
file_parent
attribute of the OCS Share seems to contain the file id of the parent folder of whatever was shared.This is currently missing in OCIS.
The file_parent attribute doesn't seem to be used in OC 10:
Implementing this means doing additional requests to query the parent in OCIS, but it feels like it's a waste of time and performance for an information that will not be used. If needed, a client could query the parent folder for its id.
I suspect that this is a legacy attribute that might have been used in former major versions of ownCloud.
My suggestion would be to skip implementing this and adjusting the tests accordingly, so:
@felix-schwarz @TheOneRing @hosy @individual-it @butonic @refs
The text was updated successfully, but these errors were encountered: