Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle version folders for file spaces #301

Closed
wants to merge 3 commits into from
Closed

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Aug 12, 2021

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

9.1% 9.1% Coverage
0.0% 0.0% Duplication

@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline apiCoreMKey-50-34-master-mysql8.0-php7.2 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/encryption/2039/65/1

@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline apiCoreMKey-50-34-master-mysql8.0-php7.2 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/encryption/2040/65/1

@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline apiCoreMKey-50-34-master-mysql8.0-php7.2 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/encryption/2046/65/1

@@ -554,6 +554,28 @@ protected function getPathToRealFile($path) {
$realPath = \substr($realPath, 0, $length);
}

// handle versions for file spaces
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use a similar as we use in the core patch:

  • get the storage
  • call a new method getPathToRealFile
  • default implementation returns the logic above
  • file spaces return the logic below

@JammingBen
Copy link
Contributor Author

Superseded by #307.

@JammingBen JammingBen closed this Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants