Bug when renaming files

Hello,

The renaming function does not work for me as expected. I am on Fedora 42 and Zotero 7.0.19.

Report ID: 1198956774

Steps to reproduce bug:

1. Create link to an attachment and let Zotero auto-rename it according to the specified template.

My template is the following: {{ firstCreator }} ({{ year }}) - {{ title }}

What I get instead is ".xdp-{{ firstCreator }} ({{ year }}) - {{ title }}.pdf-XXXXX" with .xdp- as a prefix and a 5 letter alphanumeric value as a suffix. Nowhere in the config editor can I see anything related to this problem and currently I have to remove these pre- and suffices manually for each file. Please advise how to fix.

Thanks in advance.
  • Can you provide exact steps to reproduce, as well as a Debug ID for reproducing it?

    Does this happen for any file or a specific one?

    How did you install Zotero? Via the official tarball or something else?
  • Hello,

    Can you provide exact steps to reproduce, as well as a Debug ID for reproducing it?

    1. Download PDF file and save in directory.
    2. Open Zotero and Add Link to File.
    3. File is renamed automatically.

    Debug ID: D517528803

    https://s3.amazonaws.com/zotero.org/images/forums/u4755964/ozuwipgdumzvf84eb94y.png

    Does this happen for any file or a specific one?

    It happens for every file.

    How did you install Zotero? Via the official tarball or something else?

    I installed it through the GNOME Software tool from the Fedora Flathub Selection.
  • This has nothing to do with Zotero. The behaviour you're seeing is caused by the XDG Desktop Portal, which attempts to sandbox an application's access to the filesystem.

    You’ll need to either configure this behaviour on your system or install the official Zotero tarball from https://www.zotero.org/download, which is the only version we can support.
  • Ah, I see. Thanks a lot for the help. I downloaded the installer from the link and hope that everything works fine now.

    Thanks again.
Sign In or Register to comment.