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

Search-function is case-sensitive #815

Closed
outdoorbits opened this issue Jan 2, 2019 · 3 comments
Closed

Search-function is case-sensitive #815

outdoorbits opened this issue Jan 2, 2019 · 3 comments
Labels
3. to review Waiting for reviews bug Something isn't working
Milestone

Comments

@outdoorbits
Copy link

outdoorbits commented Jan 2, 2019

Hello,

Bug:
Using the nextcloud search-function in contacts filters case sensitive. If I search for "stefan", then "Stefan" will not be found.

To Reproduce
Steps to reproduce the behavior:

  1. Go to contacts
  2. Click on search (top/right)
  3. Type a name, once lowercase, once uppercase
  4. You will find only names, written in the same case as written to the database.

Expected behavior
I would expect to find "Stefan" even when I search for "stefan"

Actual behavior
"Stefan" is not found, when searched for "stefan"

Server configuration

Operating system: Linux

Web server: Apache

Database: MariaDB

PHP version: 7.0

Nextcloud version: 15.0.0

Contacts version: 3.0.1

**Updated from an older Nextcloud

Signing status:

Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
No errors have been found.

**List of activated apps:**

If you have access to your command line run e.g.:
Enabled:

  • accessibility: 1.1.0
  • activity: 2.8.2
  • auto_mail_accounts: 0.1.3
  • calendar: 1.6.4
  • cloud_federation_api: 0.1.0
  • comments: 1.5.0
  • contacts: 3.0.1
  • dav: 1.8.0
  • event_update_notification: 0.3.1
  • federatedfilesharing: 1.5.0
  • federation: 1.5.0
  • files: 1.10.0
  • files_antivirus: 2.0.0
  • files_pdfviewer: 1.4.0
  • files_sharing: 1.7.0
  • files_texteditor: 2.7.0
  • files_trashbin: 1.5.0
  • files_versions: 1.8.0
  • files_videoplayer: 1.4.0
  • firstrunwizard: 2.4.0
  • gallery: 18.2.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.3.0
  • mail: 0.11.0
  • nextcloud_announcements: 1.4.0
  • notes: 2.5.1
  • notifications: 2.3.0
  • oauth2: 1.3.0
  • password_policy: 1.5.0
  • provisioning_api: 1.5.0
  • serverinfo: 1.5.0
  • sharebymail: 1.5.0
  • support: 1.0.0
  • survey_client: 1.3.0
  • systemtags: 1.5.0
  • tasks: 0.9.8
  • theming: 1.6.0
  • twofactor_backupcodes: 1.4.1
  • updatenotification: 1.5.0
  • workflowengine: 1.5.0
    Disabled:
  • admin_audit
  • encryption
  • files_external
  • user_external
  • user_ldap

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "abc.de",
            "nc.abc.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/nc.abc.de\/",
        "check_for_working_wellknown_setup": true,
        "check_for_working_htaccess": true,
        "htaccess.RewriteBase": "\/",
        "dbtype": "mysql",
        "version": "15.0.0.10",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "nc123_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "maintenance": false,
        "loglevel": 0,
        "logfile": "\/var\/www\/nextcloud_extern\/log\/nextcloud.log",
        "log_type": "owncloud",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "defaultapp": "apporder",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "updater.release.channel": "stable",
        "auto_mail_accounts": {
            "imap_host": "localhost",
            "imap_port": "993",
            "imap_ssl_mode": "none",
            "smtp_host": "localhost",
            "smtp_port": "465",
            "smtp_ssl_mode": "none",
            "email_address_suffix": "@abc.de"
        }
    }
}

### Client configuration
**Browser:**
Firefox 60.4
**Operating system:**
Linux

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #664 (Add search), #314 (Saved searches), #142 (Move search field), #313 (Advanced search strings), and #776 (Search only works first time).

@nextcloud-bot nextcloud-bot added the bug Something isn't working label Jan 2, 2019
@skjnldsv skjnldsv added this to the 3.0.2 milestone Jan 3, 2019
@skjnldsv skjnldsv added the 1. to develop Accepted and waiting to be taken care of label Jan 3, 2019
@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Jan 5, 2019
@brettferrell
Copy link

Oh wow, this is totally the problem I was going to report, and this has given me the workaround. I thought Searching was totally broken, but it is just that it is case sensitive! Please fix this asap.

@skjnldsv
Copy link
Member

skjnldsv commented Jan 6, 2019

@brettferrell this is fixed in 3.0.2. The app will be released next week :)
Thanks for using the search function and not creating your own issue ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants