Skip to content

Inserting file links via the smart picker inserts wrong link text #5289

@ericfischereu

Description

@ericfischereu

Describe the bug
When inserting file links via the Smart Picker in sheets, the first link for the session is entered for all inserted links as text. The real link behind is correct.

Let's say we have two file we want to link, /f/1234 and /f/5678. We insert /f/1234 into the first cell, the cell text and the hyperlink are the same (correct behavior). If we insert /f/5678 now in another cell, /f/1234 is written into the cell's text, the hyperlink however is correct.

This happens for each session, so after opening the document, the first link is always inserted correctly, every link after that has a wrong text.

To Reproduce
Steps to reproduce the behavior:

  1. Go to "Insert" > "Smart Picker"
  2. Select "Files"
  3. Select a file
  4. Select a different cell
  5. repeat 1-3 with a different file

Expected behavior
Every link is inserted with the correct text and hyperlink.

Screenshots

Client details:

  • OS: Linux Mint
  • Browser: 1.17.15b (Firefox 146.0.1) (64-Bit)
  • Device: desktop

Server details

Operating system: AIO manual deploy

Nextcloud version: 32.0.3

Version of the richdocuments app: 9.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions