Skip to content

fix(files_external): wrong type for external mount id - #49843

Merged
Altahrim merged 1 commit into
masterfrom
fix/files_external_scan
Dec 13, 2024
Merged

fix(files_external): wrong type for external mount id#49843
Altahrim merged 1 commit into
masterfrom
fix/files_external_scan

Conversation

@Altahrim

Copy link
Copy Markdown
Collaborator

Summary

Fix error:

TypeError: OCA\Files_External\Service\StoragesService::getStorage(): Argument #1 ($id) must be of type int, string given, called in /var/www/html/apps/files_external/lib/Command/StorageAuthBase.php on line 70 and defined in /var/www/html/apps/files_external/lib/Service/StoragesService.php:163

Checklist

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
@AltahrimAltahrim added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Dec 13, 2024
@AltahrimAltahrim added this to the Nextcloud 31 milestone Dec 13, 2024
@Altahrim
Altahrim requested a review from a teamDecember 13, 2024 09:29
@AltahrimAltahrim self-assigned this Dec 13, 2024
@Altahrim
Altahrim requested review from come-nc, nfebe and skjnldsv and removed request for a teamDecember 13, 2024 09:29
@Altahrim

Copy link
Copy Markdown
CollaboratorAuthor

/backport to stable30

@Altahrim

Copy link
Copy Markdown
CollaboratorAuthor

/backport to stable29

@AntreesyAntreesy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested, thanks!

@solracsf

Copy link
Copy Markdown
Member

Tests are broken (no related to this PR). 😿

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

Labels

3. to reviewWaiting for reviewsbugphpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Altahrim@solracsf@Antreesy