Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Nov 12, 2024

Fix "OCA\\Files_External\\Service\\DBConfigService::getMountById(): Argument #1 ($mountId) must be of type int, string given

Do we need strict typing on this? 🤔

{
      "Exception": "TypeError",
      "Message": "OCA\\Files_External\\Service\\DBConfigService::getMountById(): Argument #1 ($mountId) must be of type int, string given, called in /var/www/html/nextcloud_test1/apps/files_external/lib/Service/StoragesService.php on line 164",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/nextcloud_test1/apps/files_external/lib/Service/StoragesService.php",
          "line": 164,
          "function": "getMountById",
          "class": "OCA\\Files_External\\Service\\DBConfigService",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud_test1/apps/files_external/lib/Controller/StoragesController.php",
          "line": 296,
          "function": "getStorage",
          "class": "OCA\\Files_External\\Service\\StoragesService",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud_test1/apps/files_external/lib/Controller/UserStoragesController.php",
          "line": 110,
          "function": "show",
          "class": "OCA\\Files_External\\Controller\\StoragesController",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud_test1/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 230,
          "function": "show",
          "class": "OCA\\Files_External\\Controller\\UserStoragesController",
          "type": "->"
        },
        {...}
}

@skjnldsv skjnldsv added this to the Nextcloud 31 milestone Nov 12, 2024
@skjnldsv skjnldsv requested a review from a team November 12, 2024 09:29
@skjnldsv skjnldsv self-assigned this Nov 12, 2024
@skjnldsv skjnldsv requested review from nfebe, provokateurin and yemkareems and removed request for a team November 12, 2024 09:29
@skjnldsv
Copy link
Member Author

/backport to stable30

@skjnldsv
Copy link
Member Author

/backport to stable29

@skjnldsv
Copy link
Member Author

/backport to stable28

@skjnldsv skjnldsv requested a review from come-nc November 12, 2024 09:30
@skjnldsv skjnldsv enabled auto-merge November 12, 2024 09:35
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 12, 2024
@skjnldsv skjnldsv merged commit 25dd593 into master Nov 12, 2024
189 checks passed
@skjnldsv skjnldsv deleted the fix/external-storage-int branch November 12, 2024 09:50
marcelklehr added a commit that referenced this pull request Nov 25, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
backportbot bot pushed a commit that referenced this pull request Nov 25, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>

[skip ci]
backportbot bot pushed a commit that referenced this pull request Nov 25, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>

[skip ci]
backportbot bot pushed a commit that referenced this pull request Nov 25, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
marcelklehr added a commit that referenced this pull request Nov 25, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
marcelklehr added a commit that referenced this pull request Nov 25, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
marcelklehr added a commit that referenced this pull request Nov 25, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
marcelklehr added a commit that referenced this pull request Dec 5, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
blizzz pushed a commit that referenced this pull request Dec 6, 2024
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>

[skip ci]
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
AndyScherzinger pushed a commit that referenced this pull request Jan 26, 2025
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>

[skip ci]
AndyScherzinger pushed a commit that referenced this pull request Jan 31, 2025
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>

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

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: external storage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants