Git Product home page Git Product logo

Comments (8)

DecaTec avatar DecaTec commented on July 20, 2024

You can only assign one link to one item. Renaming the second link to the first link's name will result in a message that the link is already used.

from sharerenamer.

KrullBorg avatar KrullBorg commented on July 20, 2024

sorry, but no message here... i could do it... this is what i have in the db

id;share_type;share_with;password;uid_owner;uid_initiator;parent;item_type;item_source;item_target;file_source;file_target;permissions;stime;accepted;expiration;token;mail_send;share_name;password_by_talk;note;hide_download;label
15;3;;;admin;admin;;file;17;;17;/Nextcloud Manual.pdf;1;1576166671;0;;pippolomp4;0;;f;;0;""
14;3;;;admin;admin;;file;18;;18;/Nextcloud intro.mp4;1;1576166614;0;;pippolomp4;0;;f;;0;""

as you can see, i have 2 records with the same field token value

from sharerenamer.

DecaTec avatar DecaTec commented on July 20, 2024

OK, this should not be possible.

Can you please give me a step by step instruction how I can reproduce this issue?
What happens, when the shared link is used? Does it link to the pdf or mp4?

from sharerenamer.

KrullBorg avatar KrullBorg commented on July 20, 2024

for the reproduction of the problem, nothing in particular to do: it is sufficient to assign the same name to two different files

and it opens the last created (i tried again by reversing the order)

from sharerenamer.

DecaTec avatar DecaTec commented on July 20, 2024

When I already have a link called "test" and I try to rename a second link to "test", I get following message (saying "Link 'test' already exists. Please chose another name").

grafik

from sharerenamer.

KrullBorg avatar KrullBorg commented on July 20, 2024

i'm using nextcloud latest version 17.0.1 with postgresql 11.5; sharerenamer 2.7.2; php 7.3.12

from sharerenamer.

DecaTec avatar DecaTec commented on July 20, 2024

OK, can reproduce this: Seems to be a problem with PostgreSQL. Will have a look at it.

from sharerenamer.

DecaTec avatar DecaTec commented on July 20, 2024

Fixed with 2.7.3
The update will be available very soon.

from sharerenamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.