Skip to content

[Bug]: After upgrade 27.0.x->27.1.0 public-type shares (web link) with self-generated password don't work #40493

Closed

Description

@dea-75

⚠️ This issue respects the following points: ⚠️

Bug description

Hi all,
I just upgraded to version 27.1.0 from the previous last version of 27.0.x and a problem came up (upgrade all ok).
When I generate a public share (web link) having set up forced password usage a random password is (correctly) generated.
Process that has always worked correctly on version 27.0.x.
However, the automatic password appears to have expired a few seconds ago.
If I set a password by typing it in, it works correctly.

PLEASE NOTE:

the problem occurs ONLY on links with automatically generated password on version 27.1.0.
If the link was previously generated (27.0.x or 26.0.x) there is no problem.
The same behavior has been verified on two different servers.

Steps to reproduce

1.I create a public share
2.An automatic password is assigned (because it is forced)
3.Sharing appears to have expired a few seconds ago

If I set a password manually (overwriting the automatic one) it works correctly.

Expected behavior

That the link is working properly

Installation method

Community Manual installation with Archive

Nextcloud Server version

27

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 22.1 to 22.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Activity

  1. added
    0. Needs triage
    on Sep 19, 2023
  2. szaimen commented on Sep 19, 2023

    @szaimen
    Contributor
  3. self-assigned this
    on Sep 19, 2023
  4. sorbaugh commented on Sep 19, 2023

    @sorbaugh
    Contributor

    Hi!

    Thanks for reporting this issue and for providing detailed steps. We've attempted to reproduce the issue following your steps, but we're encountering some difficulty in replicating it on our end. Can you provide us some additional information that could help us further diagnose the problem? For example, are you getting any specific error messages (screenshots are awesome)? What Browser/Version are you using?

  5. dea-75 commented on Sep 19, 2023

    @dea-75
    Author

    Hi!

    Thanks for reporting this issue and for providing detailed steps. We've attempted to reproduce the issue following your steps, but we're encountering some difficulty in replicating it on our end. Can you provide us some additional information that could help us further diagnose the problem? For example, are you getting any specific error messages (screenshots are awesome)? What Browser/Version are you using?

    Hi !

    Screenshot_20230919_150151

    this is the screenshot with the error display.
    Sorry for the mixed language (ita/eng).

    "scadenza password alcuni secondi fa " => "password expiration a few seconds ago "

    Keep in mind that the problem was verified on both edge and chrome, on two different servers.

  6. dea-75 commented on Sep 19, 2023

    @dea-75
    Author

    Hi!

    Thanks for reporting this issue and for providing detailed steps. We've attempted to reproduce the issue following your steps, but we're encountering some difficulty in replicating it on our end. Can you provide us some additional information that could help us further diagnose the problem? For example, are you getting any specific error messages (screenshots are awesome)? What Browser/Version are you using?

    A clarification:
    -) the problem occurs only during mail link sharing (during the generation of sharing with mail link sending)
    -) as shown in the screenshot above, going to the advanced options
    -) the automatically generated password turns out to be expired, so if you directly press the "proceed" button you will be notified that the random password you just created has expired
    -) If you edit by hand, everything works smoothly

  7. xprntb3 commented on Sep 20, 2023

    @xprntb3

    Hi!
    Thanks for reporting this issue and for providing detailed steps. We've attempted to reproduce the issue following your steps, but we're encountering some difficulty in replicating it on our end. Can you provide us some additional information that could help us further diagnose the problem? For example, are you getting any specific error messages (screenshots are awesome)? What Browser/Version are you using?

    A clarification: -) the problem occurs only during mail link sharing (during the generation of sharing with mail link sending) -) as shown in the screenshot above, going to the advanced options -) the automatically generated password turns out to be expired, so if you directly press the "proceed" button you will be notified that the random password you just created has expired -) If you edit by hand, everything works smoothly

    I am having the exact same Issue as described in this post with the current version.
    Also like OP i am using another language than english

  8. nfebe commented on Sep 20, 2023

    @nfebe
    Contributor

    A clarification:
    -) the problem occurs only during mail link sharing (during the generation of sharing with mail link sending)
    -) as shown in the screenshot above, going to the advanced options
    -) the automatically generated password turns out to be expired, so if you directly press the "proceed" button you will be notified that the random password you just created has expired
    -) If you edit by hand, everything works smoothly

    Thanks for the additional context. Looking at it.

  9. added
    1. to develop
    and removed
    0. Needs triage
    on Sep 20, 2023
  10. added a commit that references this issue on Sep 20, 2023
  11. 13 remaining items

  12. nfebe commented on Sep 21, 2023

    @nfebe
    Contributor

    Since this commit has already been back-ported this last been would be shipped in with #40438.

  13. reopened this on Sep 21, 2023
  14. added a commit that references this issue on Sep 21, 2023
  15. dea-75 commented on Sep 21, 2023

    @dea-75
    Author

    Since this commit has already been back-ported this last been would be shipped in with #40438.

    I can confirm.

    Browser chrome, reset cache, same problem on 27.1.1.
    There isn't problem and the password works but the alert persist...
    "password expired a few seconds ago "

  16. added a commit that references this issue on Oct 11, 2023
  17. added a commit that references this issue on Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1. to develop27-feedbackbugfeature: sharingregression

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions