Skip to content

Checkboxes in v0.5.0-beta1 behave upside down #678

@brianbgness

Description

@brianbgness

Steps to reproduce

  1. Create a new card with many checkboxes like this.
    [ ] 1
    [ ] 2
    [ ] 3
    [ ] 4
    [ ] 5
    [ ] 6
    [ ] 7
    [ ] 8
    [ ] 9
    [ ] 10
    [ ] 11
    [ ] 12

  2. Check box number 12

  3. Exit the card and return

  4. Notice box number 1 is checked instead

  5. Uncheck box number 12

  6. Exit the card again and return

  7. Notice box number 1 is unchecked

If you map the boxes, you will notice the following:
1 = 12,
2 = 11,
3 = 10,
4 = 9,
5 = 8,
6 = 7,
7 = 6
8 = 5
9 = 4
10 = 3
11 = 2
12 = 1

Expected behaviour

Reverse the list order on either frontend or backend so that 1=1, 2=2, 3=3, ...

Actual behaviour

Checkboxes in cards are opposite what they should be. Checking or unchecking the first box affects the last in the list. And checking/unchecking the last box affects the first in the list.

Server configuration detail

Operating system: Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64

Webserver: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.27 (apache2handler)

Database: mysql 5.5.60

PHP version:

7.0.27
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, intl, json, ldap, exif, mysqlnd, PDO, Phar, posix, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, apcu, smbclient, libsmbclient, Zend OPcache

Nextcloud version: 14.0.3 - 14.0.3.0

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.htaccess] => Array
(
[expected] => 70183f641f39fc5f43065aeb15b86ac99e86b82310d5467e1c4d935df30acc6155c0905f84f59616885275c19ffacea59e354a87a5c97c94f50d50d4eff0370e
[current] => 2174fedbaf993a132ee886739aa18cdedf26e9b2087b92e5265905356622a9100425150c891afac5843f861fa248bcfa375ee46eaf88ae3b350cc0874af6fec7
)

            )

    )

)

List of activated apps
Enabled:
 - accessibility: 1.0.1
 - activity: 2.7.0
 - admin_audit: 1.4.0
 - bruteforcesettings: 1.1.0
 - circles: 0.15.2
 - cloud_federation_api: 0.0.1
 - comments: 1.4.0
 - dav: 1.6.0
 - deck: 0.5.0-beta1
 - federatedfilesharing: 1.4.0
 - files: 1.9.0
 - files_downloadactivity: 1.3.0
 - files_external: 1.5.0
 - files_linkeditor: 1.0.7
 - files_pdfviewer: 1.3.2
 - files_rightclick: 0.8.4
 - files_sharing: 1.6.2
 - files_trashbin: 1.4.1
 - files_versions: 1.7.1
 - files_videoplayer: 1.3.0
 - gallery: 18.1.0
 - groupfolders: 1.3.3
 - impersonate: 1.1.0
 - issuetemplate: 0.4.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.2.0
 - notifications: 2.2.1
 - oauth2: 1.2.1
 - password_policy: 1.4.0
 - previewgenerator: 1.1.0
 - provisioning_api: 1.4.0
 - serverinfo: 1.4.0
 - spreed: 4.0.0
 - support: 1.0.0
 - survey_client: 1.2.0
 - theming: 1.5.0
 - twofactor_backupcodes: 1.3.1
 - updatenotification: 1.4.1
 - user_external: 0.4
 - user_ldap: 1.4.0
 - workflowengine: 1.4.0
Disabled:
 - encryption
 - federation
 - files_texteditor
 - firstrunwizard
 - nextcloud_announcements
 - sharebymail
 - systemtags

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "***REMOVED SENSITIVE VALUE***",
        "10.0.0.31"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
    "trashbin_retention_obligation": "90, auto",
    "versions_retention_obligation": "90, auto",
    "dbtype": "mysql",
    "version": "14.0.3.0",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "htaccess.RewriteBase": "\/",
    "logtimezone": "***REMOVED SENSITIVE VALUE***",
    "log_rotate_size": 16777216,
    "installed": true,
    "ldapUserCleanupInterval": 0,
    "ldapIgnoreNamingRules": false,
    "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
    "loglevel": 2,
    "skeletondirectory": "\/nextcloud\/data\/admin\/files\/skeleton",
    "mail_smtpmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "updater.release.channel": "production",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "mail_smtpport": "25",
    "mail_smtpauthtype": "LOGIN",
    "theme": "",
    "filelocking.enabled": true,
    "filelocking.ttl": 1800
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption:

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this par if not used)
background_sync_interval: 43200background_sync_offset: 0background_sync_prefix: s01cleanUpJobOffset: 50enabled: yesinstalled_version: 1.4.0s01_lastChange: 1539627459s01has_memberof_filter_support: 1s01home_folder_naming_rule: s01last_jpegPhoto_lookup: 0s01ldap_agent_password: b2ZveTlOVGJNNmtWV0U=s01ldap_attributes_for_group_search: s01ldap_attributes_for_user_search: s01ldap_backup_host: ***REMOVED SENSITIVE VALUE***s01ldap_backup_port: s01ldap_base: ***REMOVED SENSITIVE VALUE***s01ldap_base_groups: ***REMOVED SENSITIVE VALUE***s01ldap_base_users: ***REMOVED SENSITIVE VALUE***s01ldap_cache_ttl: 600s01ldap_configuration_active: 1s01ldap_default_ppolicy_dn: s01ldap_display_name: cns01ldap_dn: ***REMOVED SENSITIVE VALUE***s01ldap_dynamic_group_member_url: s01ldap_email_attr: userPrincipalNames01ldap_experienced_admin: 0s01ldap_expert_username_attr: s01ldap_expert_uuid_group_attr: s01ldap_expert_uuid_user_attr: s01ldap_gid_number: gidNumbers01ldap_group_display_name: cns01ldap_group_filter: (&(|(objectclass=group))(|(cn=NextcloudUsers)))s01ldap_group_filter_mode: 0s01ldap_group_member_assoc_attribute: members01ldap_groupfilter_groups: NextcloudUserss01ldap_groupfilter_objectclass: groups01ldap_host: ***REMOVED SENSITIVE VALUE***s01ldap_login_filter: (&(&(|(objectclass=person))(|(|(memberof=***REMOVED SENSITIVE VALUE***)(primaryGroupID=6064))))(samaccountname=%uid))s01ldap_login_filter_mode: 0s01ldap_loginfilter_attributes: s01ldap_loginfilter_email: 0s01ldap_loginfilter_username: 1s01ldap_nested_groups: 0s01ldap_override_main_server: s01ldap_paging_size: 500s01ldap_port: 389s01ldap_quota_attr: s01ldap_quota_def: s01ldap_tls: 0s01ldap_turn_off_cert_check: 0s01ldap_turn_on_pwd_change: 0s01ldap_user_display_name_2: s01ldap_user_filter_mode: 0s01ldap_userfilter_groups: NextcloudUserss01ldap_userfilter_objectclass: persons01ldap_userlist_filter: (&(|(objectclass=person))(|(|(memberof=***REMOVED SENSITIVE VALUE***)(primaryGroupID=6064))))s01use_memberof_to_detect_membership: 1types: authentication

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

Operating system: Windows 10 v1803

Logs

Browser log
Will provide upon request
Nextcloud log
Will provide upon request
Browser log

Will provide upon request

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions