Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occasionally file action confirmation dialog get stuck #1728

Closed
individual-it opened this issue Aug 8, 2019 · 7 comments
Closed

occasionally file action confirmation dialog get stuck #1728

individual-it opened this issue Aug 8, 2019 · 7 comments
Labels
Milestone

Comments

@individual-it
Copy link
Member

Steps to reproduce

  1. delete or rename file
  2. get unlucky

Expected behaviour

dialog should close

Actual behaviour

sometimes it get stuck for me after confirmation
image

Server configuration

Operating system:
Ubuntu 18.04
Web server:
Apache 2
Database:
MySQL
PHP version:
PHP 7.1
ownCloud version: (see ownCloud admin page)
10.3.0 prealpha (git)
Updated from an older ownCloud or fresh install:
fresh
Where did you install ownCloud from:
git
The content of config/config.php:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "172.17.0.1"
        ],
        "datadirectory": "\/home\/artur\/www\/owncloud-core\/data",
        "overwrite.cli.url": "http:\/\/localhost\/owncloud-core\/",
        "version": "10.3.0.0",
        "logtimezone": "UTC",
        "htaccess.RewriteBase": "\/owncloud-core\/",
        "ldapIgnoreNamingRules": false,
        "loglevel": 1,
        "log_type": "owncloud",
        "dbname": "owncloud_20190701",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "sharing.federation.allowHttpFallback": true,
        "files_external_allow_create_new_local": "true",
        "license-key": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "oc4kyqahfanl",
        "apps_paths": [
            {
                "path": "\/home\/artur\/www\/owncloud-core\/apps",
                "url": "apps",
                "writable": true
            },
            {
                "path": "\/home\/artur\/www\/owncloud-core\/apps2",
                "url": "apps2",
                "writable": true
            }
        ],
        "dbtype": "mysql",
        "allow_user_to_change_display_name": false,
        "csrf.disabled": true,
        "enable_previews": false,
        "maintenance": false,
        "cors.allowed-domains": [
            "http:\/\/172.17.0.1:8300"
        ],
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "skeletondirectory": "\/home\/artur\/www\/owncloud-core\/apps\/testing\/data\/webUISkeleton"
    }
}

List of activated apps:

Enabled:
  - activity: 2.4.2
  - comments: 0.3.0
  - dav: 0.4.0
  - diagnostics: 0.1.3
  - enterprise_key: 0.1.4
  - federatedfilesharing: 0.5.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_external: 0.7.1
  - files_sharing: 0.12.0
  - files_texteditor: 2.3.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.2.0
  - notifications: 0.5.0
  - oauth2: 0.4.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - systemtags_management: 0.3.1
  - testing: 0.1.0
  - updatenotification: 0.2.1
  - user_management: 0.0.1
  - windows_network_drive: 0.7.2
  - workflow: 0.3.0
Disabled:
  - admin_audit
  - brute_force_protection
  - customgroups
  - encryption
  - files_antivirus
  - files_classifier
  - files_primary_s3
  - files_lifecycle
  - firewall
  - guests
  - password_policy
  - ransomware_protection
  - richdocuments
  - search_elastic
  - sharepoint
  - twofactor_totp
  - user_ldap
  - wopi

Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
FF 68
Operating system:
Ubuntu 18.04

Logs

Web server error log

Browser log

Unhandled promise rejection 
Object { _name: "NavigationDuplicated", name: "NavigationDuplicated", stack: "" }
files.bundle.js:15:98639
    exports http://172.17.0.1:8300/apps/files/files.bundle.js:15
    q http://172.17.0.1:8300/apps/files/files.bundle.js:7
    n http://172.17.0.1:8300/apps/files/files.bundle.js:7
    exports http://172.17.0.1:8300/apps/files/files.bundle.js:15
    Q http://172.17.0.1:8300/apps/files/files.bundle.js:7
    <anonymous> http://172.17.0.1:8300/core/core.bundle.js:55
    b http://172.17.0.1:8300/core/core.bundle.js:55
    x http://172.17.0.1:8300/core/core.bundle.js:55
@individual-it individual-it added the Type:Bug Something isn't working label Aug 8, 2019
@DeepDiver1975
Copy link
Member

@LukasHirt you have been working in this area already - right?

@LukasHirt
Copy link
Collaborator

@DeepDiver1975 I was fixing the one for overwriting files while uploading. There it was caused by different issue though since looking at the screenshot this at least deletes the message of the dialog...

@DeepDiver1975 DeepDiver1975 added the Priority:p4-low Low priority label Aug 16, 2019
@LukasHirt LukasHirt added this to the backlog milestone Aug 23, 2019
@PVince81
Copy link
Contributor

same kind of issue but where the button stays disabled: #2027

@PVince81
Copy link
Contributor

PVince81 commented Nov 8, 2019

seems many people are getting unlucky now: tests/acceptance/features/webUITrashbin/trashbinFilesFolders.feature:13 is failing on multiple PRs.

Raising priority to p1 as this will disturb dev

@PVince81 PVince81 added Priority:p1-urgent Consider a hotfix release with only that fix and removed Priority:p4-low Low priority labels Nov 8, 2019
@skshetry
Copy link
Member

skshetry commented Nov 12, 2019

@PVince81, the "workaround" was merged today (#2417). So, priority can be reduced from p1, I guess, so, please triage.

Analysis:

I can revisit this later, and try to see what the real problem is. It could be a multitude of following issues:

  1. Timing (so, add more waits, which does seem to fix the issue)
  2. Selenium received invalid requests for click / Didnot receive at all, due to Nightwatch (probable,
    as there are many issues regarding this).
  3. Something is blocking "click" (highly probable)
  4. Maybe, it is working after all. The popup might be taking time to disappear.

We fixed this by retrying the click action. But, requires more investigation. I could only reproduce in
zalenium as it is too slow (and, that too running it in -m 150m --cpus="0.5" and two browsers already opened). Remember, this was only happening in drone which can be explained by drone agents being slow (and, matches with what I have seen with zalenium).

@skshetry skshetry removed their assignment Nov 21, 2019
@PVince81 PVince81 added Type:Technical-Debt QA:team Priority:p3-medium Normal priority and removed Priority:p1-urgent Consider a hotfix release with only that fix labels Mar 2, 2020
@LukasHirt
Copy link
Collaborator

This should be fixed in this PR #3378. I have removed in that PR the workaround in the tests so we need to keep an eye out after it gets merged if it'll be passing. For now, keeping this still open

@pascalwengerter
Copy link
Contributor

Closing this since we've introduced a new modal component a while ago and I've never heard about anyone getting stuck with it 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants