nextcloud / polls

🗳️ Polls app for Nextcloud
https://apps.nextcloud.com/apps/polls
GNU Affero General Public License v3.0
255 stars 73 forks source link

[8.0.0-alpha] overview of options is not shown #3702

Open Juergen-Vollmer opened 2 weeks ago

Juergen-Vollmer commented 2 weeks ago

⚠️ This issue respects the following points: ⚠️

What went wrong, what did you observe?

After update to polls 8.0.0. alpha the middle part of the polls view with all the details is not shown anymore:

nextcloud-plls-view

If I view an exported link of the poll, everything is ok:

nextcloud-polls-view-ok

What did you expect, how polls should behave instead?

The details of the second screenshot should be displayed ion the "owenwers" view, as described in hiere:

What steps does it need to replay this bug?

  1. nothing special has to be done, just upgrading and viewing my polls

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

Updated from a minor version within same major version (i.e. 4.0.0 to 4.1.1)

Affected polls version

8.0.0.0 alpha 4

Which browser did you use, when experiencing the bug?

Other browser

No response

Add your browser log here

No response

Additional client environment information

No response

NC version

Other/Don't know

Other Nextcloud version

No response

PHP engine version

PHP 8.2

Other PHP version

Nextcloud Hub 9 (30.0.0 RC4)

Database engine

MariaDB

Database Engine version or other Database

No response

Which user-backends are you using?

Add your nextcloud server log here

No response

Additional environment informations

No response

Configuration report

{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.vollmer.computer",
"nextcloud.vollmer.homelinux.net",
"nextcloud.vollmer.home"
],
"enable_previews": true,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "30.0.0.12",
"overwrite.cli.url": "https:\/\/nextcloud.vollmer.computer",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"memcache.local": "\\OC\\Memcache\\APCu",
"loglevel": 0,
"log_type": "file",
"log_rotate_size": 104857600,
"maintenance": false,
"onlyoffice": {
"verify_peer_off": true
},
"theme": "",
"simpleSignUpLink.shown": false,
"app_install_overwrite": [
"calendar",
"keeweb",
"files_readmemd",
"twofactor_email",
"keeporsweep",
"twofactor_rcdevsopenotp",
"whiteboard",
"twofactor_u2f",
"nextbackup",
"polls",
"twofactor_admin",
"richdocuments",
"previewgenerator",
"forms",
"groupfolders",
"files_markdown",
"files_mindmap",
"tasks",
"spreed",
"afterlogic",
"mindmap_app",
"richdocumentscode",
"twofactor_totp",
"pdfdraw",
"customproperties",
"cookbook",
"imageconverter",
"files_videoplayer"
],
"twofactor_enforced": "true",
"twofactor_enforced_groups": [
"u2f"
],
"twofactor_enforced_excluded_groups": [],
"maintenance_window_start": 1,
"default_language": "de_DE",
"default_locale": "de_DE",
"default_phone_region": "DE",
"force_language": "de_DE",
"skeletondirectory": "",
"updater.release.channel": "stable",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}
}

List of activated Apps

No response

Nextcloud Signing status

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
    - INVALID_HASH
        - .htaccess

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.htaccess] => Array
                        (
                            [expected] => 999403d20234fade42c6ee181e44d1d0c8bfeff0c855067259a76acffdb3acf34cdd647dba080dff59958cfa6192fd7eb6241cd8d498537241df8bb3b0ae9902
                            [current] => 726d526decc88805a506c725556fa63476098b7cdc7603b35b625031f8c73c7e641871237a2945a7376153c1b46f6b72a8e495d8a33ae5756371aa0c7987843f
                        )

                )

        )

)

Additional Information

No response

dartcafe commented 2 weeks ago

Have you verified, you cleared your cache? I cannot reproduce that behavior.

Juergen-Vollmer commented 2 weeks ago

Yes I cleared the browser caches. The same behaviour under

Juergen-Vollmer commented 2 weeks ago

I opend the HTML-code of the polls page and opened firefox's web-developer tool and found ... see screenshot. I have no idea whether this helps :-) ksnip_20240914-124419

dartcafe commented 2 weeks ago

Any relevant information inside the browser console?

Something seems to prevent loading the app properly.

Juergen-Vollmer commented 1 week ago

I just tried another user account, for wich I never used polls before- and there it worked as expected.

I just a thrid account, which already had polls before, showing the "old" polls or creating a new one - in both caeses, it does not work.

In case of the error the browser console shows:

TypeError: (intermediate value)(...).user is null setup https://nextcloud.vollmer.computer/apps/polls/js/polls-main.mjs?v=7929802a-2859:169 E2 https://nextcloud.vollmer.computer/apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-CgAHGH23.chunk.mjs:3 Ne https://nextcloud.vollmer.computer/apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-CgAHGH23.chunk.mjs:3 ..... many more of these lines

Jürgen

Juergen-Vollmer commented 4 days ago

I just tried: adding another user as administrator of the poll. That other user sees the options, i.e. everthing is ok. But still the original user does not see the options.

Any Idea?

Jürgen

dartcafe commented 4 days ago

Not until now. I am wondering where this comes from. But your observations are helpful, although I did not get behind the reason.

TypeError: (intermediate value)(...).user is null

Maybe the network tab can reveal an information, which user is null.

I think I have to build the alpha using dev mode, to get better information about the failing line. The linked code is not helpful, since it is minified.