marius-wieschollek / passwords

A simple, yet feature rich password manager for Nextcloud
GNU Affero General Public License v3.0
215 stars 45 forks source link

cannot save new manual password #506

Closed martin3000 closed 1 year ago

martin3000 commented 2 years ago

Bug description

When I want to manually create a new password entry, I cannot save it. When I press "save", I get a prompt to fill in the password field. Maybe this is because I did not enter a page field name. But the prompt tells me to fill out the password field which I already filled out.

image

Steps to reproduce

  1. go to http://.....//apps/passwords/#/folders
  2. click the "+" sign near the top
  3. select new password when prompted
  4. enter password, username pagename and name
  5. (do not enter a field)
  6. click save

Expected behavior

Password is saved or I should be promtped to enter a field name

Installation method

Official SNAP package

Operating system

Debian/Ubuntu

PHP engine version

No response

Web server

No response

Database engine version

MySQL

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

No response

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

sudo nextcloud.occ config:list system
{
    "system": {
        "apps_paths": [
            {
                "path": "\/snap\/nextcloud\/current\/htdocs\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
                "url": "\/extra-apps",
                "writable": true
            }
        ],
        "supportedDatabases": [
            "mysql"
        ],
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "nuc:81",
            "1": "nuc:444",
            "2": "nuc.fritz.box:444",
            "3": "nuc.fritz.box:81",
            "5": "192.168.178.74"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "23.0.5.1",
        "overwrite.cli.url": "http:\/\/nuc:81",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "loglevel": 0,
        "theme": ""
    }
}

List of activated Apps

sudo nextcloud.occ app:list
Enabled:
  - accessibility: 1.9.0
  - activity: 2.15.0
  - bookmarks: 10.3.1
  - bruteforcesettings: 2.4.0
  - calendar: 3.3.1
  - circles: 23.1.1
  - cloud_federation_api: 1.6.0
  - comments: 1.13.0
  - contacts: 4.1.1
  - contactsinteraction: 1.4.0
  - dashboard: 7.3.0
  - dav: 1.21.0
  - documentserver_community: 0.1.12
  - federatedfilesharing: 1.13.0
  - federation: 1.13.0
  - files: 1.18.0
  - files_external: 1.15.0
  - files_pdfviewer: 2.4.0
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0
  - files_trashbin: 1.13.0
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - firstrunwizard: 2.12.0
  - logreader: 2.8.0
  - lookup_server_connector: 1.11.0
  - mail: 1.12.1
  - nextcloud_announcements: 1.12.0
  - notifications: 2.11.1
  - oauth2: 1.11.0
  - onlyoffice: 7.3.4
  - password_policy: 1.13.0
  - passwords: 2022.5.20
  - photos: 1.5.0
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - recommendations: 1.2.0
  - serverinfo: 1.13.0
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - support: 1.6.0
  - survey_client: 1.11.0
  - systemtags: 1.13.0
  - tasks: 0.14.4
  - text: 3.4.1
  - twofactor_backupcodes: 1.12.0
  - user_status: 1.3.1
  - viewer: 1.7.0
  - weather_status: 1.3.0
  - workflowengine: 2.5.0
Disabled:
  - admin_audit
  - encryption
  - occweb: 0.1.0
  - spreed: 13.0.6
  - theming: 1.9.0
  - user_ldap

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

-

Additional info

-

marius-wieschollek commented 2 years ago

This seems like an issue with a specific browser. What browser are you using and which installation method did you use (exe, app store, snap, app image, etc.)

martin3000 commented 2 years ago

Latest Chromium-Browser with Snap-Installation

marius-wieschollek commented 1 year ago

I can't reproduce the issue. If it still exists, please try and see if the same happens on https://test.passwordsapp.org/info.html.

martin3000 commented 1 year ago

Meanwhile, it works. Seems to be fixed. It cannot be tested on passwordsapp.org because this bug was related to the nextcloud browser interface, if you locally create a password without beeing on a web site.