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

Selected options missing in own email link if "hide results until poll is expired" is active #910

Closed
adymorz opened this issue Apr 20, 2020 · 2 comments · Fixed by #911
Closed
Assignees
Labels
Milestone

Comments

@adymorz
Copy link

adymorz commented Apr 20, 2020

Story

As a user, I want to see the results I entered before - every time I open the email link.

What is going wrong?

Describe the bug
Creating a poll whit the option "hide results until poll is expired": Options selected over an email link are not visible if the links gets opened a second time.

To Reproduce
Steps to reproduce the behavior:

  1. Create a poll using date options
  2. Activate the option "hide results until poll is expired"
  3. Invite contacts by email
  4. Using the email link received by email: Fill in some options by
  5. Close the page
  6. Open the email link again: No options are marked as checked

Expected behavior
The selected options should be visible.

Screenshots
I am going to post if requested.

Information about your polls installation

Release 1.4.1 beta2

Update from 1.3.0?

I downloaded the pre release and extracted it to the app directory

Information about your Instance of Nextcloud/ownCloud

Nextcloud 18.0.3

List of activated apps (php occ app:list):

Enabled:
  - accessibility: 1.4.0
  - activity: 2.11.0
  - bruteforcesettings: 1.6.0
  - calendar: 2.0.3
  - cloud_federation_api: 1.1.0
  - comments: 1.8.0
  - contacts: 3.3.0
  - dav: 1.14.0
  - federatedfilesharing: 1.8.0
  - federation: 1.8.0
  - files: 1.13.1
  - files_pdfviewer: 1.7.0
  - files_rightclick: 0.15.2
  - files_sharing: 1.10.1
  - files_trashbin: 1.8.0
  - files_versions: 1.11.0
  - files_videoplayer: 1.7.0
  - firstrunwizard: 2.7.0
  - logreader: 2.3.0
  - lookup_server_connector: 1.6.0
  - nextcloud_announcements: 1.7.0
  - notes: 3.2.0
  - notifications: 2.6.0
  - oauth2: 1.6.0
  - password_policy: 1.8.0
  - photos: 1.0.0
  - polls: 1.4.1
  - privacy: 1.2.0
  - provisioning_api: 1.8.0
  - recommendations: 0.6.0
  - serverinfo: 1.8.0
  - settings: 1.0.0
  - sharebymail: 1.8.0
  - spreed: 8.0.7
  - support: 1.1.0
  - survey_client: 1.6.0
  - systemtags: 1.8.0
  - tasks: 0.12.1
  - text: 2.0.0
  - theming: 1.9.0
  - twofactor_backupcodes: 1.7.0
  - twofactor_totp: 4.1.3
  - updatenotification: 1.8.0
  - viewer: 1.2.0
  - workflowengine: 2.0.0
Disabled:
  - admin_audit
  - encryption
  - files_external
  - polls.bu20200419
  - user_ldap

Nextcloud configuration (php occ config:list system):


    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "some-host.com"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "18.0.3.0",
        "overwrite.cli.url": "https:\/\/some-host.com",
        "overwritehost": "some-host.com",
        "overwriteprotocol": "https",
        "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_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [
            "admin"
        ],
        "twofactor_enforced_excluded_groups": [],
        "maintenance": false,
        "loglevel": 2,
        "theme": "",
        "app_install_overwrite": [
            "contacts",
            "bruteforcesettings"
        ]
    }
}

Server configuration detail

Operating system: Linux 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64

Webserver: Apache/2.4.38 (Debian) (apache2handler)

Important note: The nextcloud instance is accessed through a reverse proxy based on nginx (docker image: linuxserver/letsencrypt)

Database: mysql 10.4.12

PHP version:

7.3.17
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache

Nextcloud version: 18.0.3 - 18.0.3.0

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: docker

Signing status

Array
(
)

Are you using an external user-backend, if yes which one: none

Client configuration

Device:
Desktop

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Operating system: Void Linux

Logs

Nextcloud log (data/nextcloud.log)

Will place it if required to solve the issue (please let me know).

Browser log

Did not find errors in browser console.

@dartcafe dartcafe added the bug label Apr 21, 2020
@dartcafe dartcafe added this to the 1.4 milestone Apr 21, 2020
@dartcafe dartcafe self-assigned this Apr 21, 2020
dartcafe added a commit that referenced this issue Apr 21, 2020
@dartcafe
Copy link
Collaborator

I added the fix to a new beta: https://github.com/nextcloud/polls/releases/tag/1.4.2

@adymorz
Copy link
Author

adymorz commented Apr 21, 2020

I just installed "Release 1.4.2 beta3" and I can confirm the bug is fixed. Thank you for your prompt solution!

@adymorz adymorz closed this as completed Apr 21, 2020
@dartcafe dartcafe linked a pull request Apr 22, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants