Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Sep 3, 2025

Backport of #54826

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Sep 3, 2025
@backportbot backportbot bot added this to the Nextcloud 30.0.15 milestone Sep 3, 2025
@kesselb kesselb force-pushed the backport/54826/stable30 branch from 0b29fe4 to 362f9cd Compare September 3, 2025 10:03
@kesselb
Copy link
Collaborator

kesselb commented Sep 3, 2025

Conflicts: Psalm baseline (we are less strict in stable30 hence the deprecations are missing).

@kesselb kesselb marked this pull request as ready for review September 3, 2025 10:04
return new SearchResultEntry(
$link = $this->urlGenerator->linkToRoute(
'files.View.showFile',
['fileid' => $result->fileId]

Check notice

Code scanning / Psalm

DeprecatedProperty Note

OCA\Comments\Search\Result::$fileId is marked deprecated
$this->authorName = $authorName;
$this->fileName = basename($path);
$this->path = $this->getVisiblePath($path);
$this->fileId = $fileId;

Check notice

Code scanning / Psalm

DeprecatedProperty Note

OCA\Comments\Search\Result::$fileId is marked deprecated
…comment

The files.view.index route with dir and scrollto is deprecated and
opening the actual does not work anymore.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb force-pushed the backport/54826/stable30 branch from 362f9cd to e390c82 Compare September 3, 2025 10:16
'',
true
);
$searchResultEntry->addAttribute('fileId', (string) $result->fileId);

Check notice

Code scanning / Psalm

DeprecatedProperty Note

OCA\Comments\Search\Result::$fileId is marked deprecated
@AndyScherzinger AndyScherzinger merged commit 9771be2 into stable30 Sep 3, 2025
185 of 188 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/54826/stable30 branch September 3, 2025 11:37
@nextcloud-bot nextcloud-bot mentioned this pull request Sep 4, 2025
5 tasks
@nextcloud-bot nextcloud-bot mentioned this pull request Sep 25, 2025
2 tasks
@blizzz blizzz mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants