files_texteditor icon indicating copy to clipboard operation
files_texteditor copied to clipboard

After upgrade to 9.0.0, "search" box is missing in text file editor

Open ownclouduser42 opened this issue 8 years ago • 7 comments

Steps to reproduce

  1. Upgrade from any 8.x version to 9.0
  2. Create a text file
  3. Click the text file to open the text editor
  4. Observe the missing "search" box to search within the text file.

Expected behaviour

When opening a text file to edit from the web interface, there should be a search box to find within the contents, since ownCloud is deliberately breaking the in-browser search functionality (CTRL-F for all major browsers).

Actual behaviour

No search box, and CTRL-F still does not work.

Server configuration

Operating system: Ubuntu Server 14.04.4 LTS

Web server: Apache

Database: MySQL

PHP version: 5.5.9

ownCloud version: 9.0.0

Updated from an older ownCloud or fresh install: Upgraded from 8.2

Where did you install ownCloud from: SuSE build service repository

Signing status (ownCloud 9.0 and above):

No errors have been found.

List of activated apps:

Enabled:
  - activity: 2.2.1
  - calendar: true
  - comments: 0.2
  - contacts: true
  - dav: 0.1.5
  - documents: 0.12.0
  - federatedfilesharing: 0.1.0
  - federation: 0.0.4
  - files: 1.4.4
  - files_pdfviewer: 0.8
  - files_sharing: 0.9.1
  - files_texteditor: 2.1
  - files_trashbin: 0.8.0
  - files_versions: 1.2.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 14.5.0
  - notes: 2.0.0
  - notifications: 0.2.3
  - systemtags: 0.2
  - tasks: 0.8.1
  - templateeditor: 0.1
  - updatenotification: 0.1.0
  - user_ldap: 0.8.0
Disabled:
  - encryption
  - external
  - files_external
  - provisioning_api
  - user_external

The content of config/config.php:

{
    "system": {
        "instanceid": "**REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "\/mnt\/owncloud\/data",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "9.0.0.19",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "mail_from_address": "owncloud",
        "mail_smtpmode": "php",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "ldapIgnoreNamingRules": false,
        "maintenance": false,
        "loglevel": 1,
        "updatechecker": false,
        "trashbin_retention_obligation": "auto",
        "log_rotate_size": 104857600
    }
}

Are you using external storage, if yes which one: No

Are you using encryption: No

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

LDAP configuration (delete this part if not used)

+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration                 |                                                                                                                                                                                                         |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 1                                                                                                                                                                                                       |
| hasPagedResultSupport         |                                                                                                                                                                                                         |
| homeFolderNamingRule          |                                                                                                                                                                                                         |
| lastJpegPhotoLookup           | 0                                                                                                                                                                                                       |
| ldapAgentName                 | CN=Owncloud App Account,OU=***REMOVED SENSITIVE VALUE***                                                                                                                                                |
| ldapAgentPassword             | ***                                                                                                                                                                                                     |
| ldapAttributesForGroupSearch  |                                                                                                                                                                                                         |
| ldapAttributesForUserSearch   |                                                                                                                                                                                                         |
| ldapBackupHost                | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                           |
| ldapBackupPort                | 389                                                                                                                                                                                                     |
| ldapBase                      | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                           |
| ldapBaseGroups                | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                           |
| ldapBaseUsers                 | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                           |
| ldapCacheTTL                  | 600                                                                                                                                                                                                     |
| ldapConfigurationActive       | 1                                                                                                                                                                                                       |
| ldapDynamicGroupMemberURL     |                                                                                                                                                                                                         |
| ldapEmailAttribute            | mail                                                                                                                                                                                                    |
| ldapExperiencedAdmin          | 0                                                                                                                                                                                                       |
| ldapExpertUUIDGroupAttr       |                                                                                                                                                                                                         |
| ldapExpertUUIDUserAttr        |                                                                                                                                                                                                         |
| ldapExpertUsernameAttr        |                                                                                                                                                                                                         |
| ldapGroupDisplayName          | cn                                                                                                                                                                                                      |
| ldapGroupFilter               | (&(|(objectclass=group))(|(cn=Owncloud Groups)(cn=Owncloud Users)))                                                                                                                                     |
| ldapGroupFilterGroups         | Owncloud Groups;Owncloud Users                                                                                                                                                                          |
| ldapGroupFilterMode           | 0                                                                                                                                                                                                       |
| ldapGroupFilterObjectclass    | group                                                                                                                                                                                                   |
| ldapGroupMemberAssocAttr      | member                                                                                                                                                                                                  |
| ldapHost                      | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                           |
| ldapIgnoreNamingRules         |                                                                                                                                                                                                         |
| ldapLoginFilter               | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                           |
| ldapLoginFilterAttributes     |                                                                                                                                                                                                         |
| ldapLoginFilterEmail          | 1                                                                                                                                                                                                       |
| ldapLoginFilterMode           | 0                                                                                                                                                                                                       |
| ldapLoginFilterUsername       | 1                                                                                                                                                                                                       |
| ldapNestedGroups              | 1                                                                                                                                                                                                       |
| ldapOverrideMainServer        |                                                                                                                                                                                                         |
| ldapPagingSize                | 500                                                                                                                                                                                                     |
| ldapPort                      | 389                                                                                                                                                                                                     |
| ldapQuotaAttribute            |                                                                                                                                                                                                         |
| ldapQuotaDefault              |                                                                                                                                                                                                         |
| ldapTLS                       | 0                                                                                                                                                                                                       |
| ldapUserDisplayName           | displayname                                                                                                                                                                                             |
| ldapUserDisplayName2          |                                                                                                                                                                                                         |
| ldapUserFilter                | (&(|(objectclass=user))(|(|(memberof=CN=Owncloud Users,OU=Owncloud,OU=Public Services,DC=***REMOVED SENSITIVE VALUE***)(primaryGroupID=1182))))                                                         |
| ldapUserFilterGroups          | Owncloud Users                                                                                                                                                                                          |
| ldapUserFilterMode            | 0                                                                                                                                                                                                       |
| ldapUserFilterObjectclass     | user                                                                                                                                                                                                    |
| ldapUuidGroupAttribute        | auto                                                                                                                                                                                                    |
| ldapUuidUserAttribute         | auto                                                                                                                                                                                                    |
| turnOffCertCheck              | 0                                                                                                                                                                                                       |
| useMemberOfToDetectMembership | 1                                                                                                                                                                                                       |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Client configuration

Browser: Firefox 44.0

Operating system: Linux

ownclouduser42 avatar Mar 09 '16 21:03 ownclouduser42

Moved from owncloud/core at @LukasReschke's request.

ownclouduser42 avatar Mar 09 '16 21:03 ownclouduser42

same problem after upgrade of OC 8.x to 9 editor/ Browser displays no search window, pressing CTRL-F

  • Installation same as the first
  • Ubuntu 14.04.04LTS
  • mysql db
  • without LDAP
  • client Browser Firerfox 44.0 on Linux

wheiko avatar Mar 10 '16 18:03 wheiko

da problem persists after updating of OC 9.00 to 9.01 editor/ Browser displays no search window, pressing CTRL-F

Installation same as the first
Ubuntu 14.04.04LTS
mysql db
client Browser Firerfox 45.0.1 on Linux

any ideas what I might do wrong?

wheiko avatar Apr 12 '16 21:04 wheiko

Same problem after updated from 8.2.5 (search works) to 9.0.2.

does it works for anyone with OC 9?

kralizeck avatar Jun 15 '16 13:06 kralizeck

Still broken in 9.1.0. More annoying how no developer takes responsibility FOR HALF AN YEAR to even check the broken feature.

TheGrave-zz avatar Jul 23 '16 04:07 TheGrave-zz

It's a pity. First, in my opinion, don't complain unless you had paid for enterprise edition. Be grateful for this useful and powerful FREE software. Second, as a workaround, Ctrl+G works for search with Firefox (only one time) and Chrome (multiple times). Doesn't tested with IE or Edge. It is a coarse patch, but do the job.

kralizeck avatar Jul 25 '16 07:07 kralizeck

And that's the kind of attitude that makes us not recommend the enterprise version to anyone - paying more attention to bug reports from paid customers. This can be observed from multiple other tickets too. For comparison I can give you Group Office - I always get adequate responses by their support team for bug reports in the forums even though I don't use the paid version and I don't have access to their ticketing system.

Anyway, Ctrl+G (and Ctrl+F) in Firefox and Chromium (tested on Win 7) achieve the same nothing - searching only in the currently visible part of the text document.

TheGrave-zz avatar Jul 25 '16 09:07 TheGrave-zz