richdocuments
richdocuments copied to clipboard
[Bug]: Nextcloud Office : Missing "active" css class on first <li> tag after having clicked on "see history" (NC files side panel)
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
This issue is to be added to the context of the following PR nextcloud/server#32492. In a Nextcloud Office document, when clicking on "see history", a preview of the most recent historical version of the document is displayed, with the Nextcloud Files panel on the right allowing access to all historical versions of this file. The css class on the

Steps to reproduce
- Create a Nextcloud Office file (e.g. : test.odt)
- Make enough changes to build enough history
- Click on "See history" (and then do not click on any file version in the right panel)
- Explore the HTML DOM with your browser's code inspector
- Check
<li>tags in<div id="versionsTabView" class="tab versionsTabView">. No<li>has "active" css class.
Expected behavior
The "active" class should be applied by default to the first <li> of the historical files versions list ... but it's not.
Installation method
Manual installation
Operating system
RHEL/CentOS
PHP engine version
PHP 7.4
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
{
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nc23.test.mydomain.fr"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "23.0.5.1",
"overwrite.cli.url": "https:\/\/nc23.test.mydomain.fr",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/nc23.test.mydomain.fr\/nextcloud.log",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"dbindex": 0,
"timeout": 0
},
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"skeletondirectory": "",
"logtimezone": "Europe\/Paris",
"updater.release.channel": "stable",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "PLAIN",
"default_language": "fr",
"default_phone_region": "FR",
"defaultapp": "files",
"trashbin_retention_obligation": "20,40",
"versions_retention_obligation": "auto,40",
"check_for_working_wellknown_setup": false,
"quota_include_external_storage": false,
"cron_log": true,
"has_internet_connection": true,
"updatechecker": true,
"appstoreenabled": true,
"filelocking.enabled": true,
"session_keepalive": true,
"knowledgebaseenabled": true,
"allow_user_to_change_display_name": true,
"enable_previews": true,
"enable_avatars": true,
"auth.bruteforce.protection.enabled": true,
"loglevel": 0,
"log_rotate_size": 104857600,
"mail_smtpauth": 1,
"mail_smtpport": 465,
"session_lifetime": 86400,
"remember_login_cookie_lifetime": 1296000,
"preview_max_filesize_image": 50,
"activity_expire_days": 120,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"app_install_overwrite": [
"quota_warning",
"files_downloadactivity",
"files_trackdownloads",
"files_clipboard",
"pdfdraw",
"groupquota",
"jitsi",
"bbb",
"group_everyone"
],
"maintenance": false
}
List of activated Apps
Enabled:
- accessibility: 1.9.0
- activity: 2.15.0
- admin_audit: 1.13.0
- afterlogic: 2.0.4
- announcementcenter: 6.3.0
- appointments: 1.12.4
- apporder: 0.15.0
- approval: 1.0.9
- bbb: 2.2.0
- calendar: 3.3.1
- cfg_share_links: 2.0.0
- circles: 23.1.1
- cloud_federation_api: 1.6.0
- collectives: 1.1.0
- comments: 1.13.0
- contacts: 4.1.1
- contactsinteraction: 1.4.0
- dashboard: 7.3.0
- dav: 1.21.0
- deck: 1.6.1
- drawio: 1.0.2
- external: 3.10.2
- extract: 1.3.5
- federatedfilesharing: 1.13.0
- federation: 1.13.0
- files: 1.18.0
- files_accesscontrol: 1.13.0
- files_automatedtagging: 1.13.0
- files_clipboard: 0.7.1
- files_downloadactivity: 1.13.0
- files_external: 1.15.0
- files_fulltextsearch: 23.0.1
- files_linkeditor: 1.1.10
- files_lock: 20.1.0
- files_mindmap: 0.0.26
- files_pdfviewer: 2.4.0
- files_rightclick: 1.2.0
- files_sharing: 1.15.0
- files_trackdownloads: 1.11.0
- files_trashbin: 1.13.0
- files_versions: 1.16.0
- files_videoplayer: 1.12.0
- files_zip: 1.1.1
- firstrunwizard: 2.12.0
- forms: 2.5.0
- fulltextsearch: 23.0.0
- fulltextsearch_elasticsearch: 23.0.0
- groupfolders: 11.1.4
- guests: 2.2.0
- impersonate: 1.10.0
- integration_github: 1.0.2
- integration_google: 1.0.6
- integration_openproject: 1.0.6
- integration_twitter: 1.0.2
- jitsi: 0.15.0
- login_notes: 1.0.4
- logreader: 2.8.0
- lookup_server_connector: 1.11.0
- mail: 1.12.0
- nextcloud_announcements: 1.12.0
- notes: 4.3.1
- notifications: 2.11.1
- oauth2: 1.11.0
- password_policy: 1.13.0
- photos: 1.5.0
- polls: 3.6.1
- privacy: 1.7.0
- provisioning_api: 1.13.0
- quota_warning: 1.14.0
- rainloop: 7.2.5
- recommendations: 1.2.0
- richdocuments: 5.0.5
- serverinfo: 1.13.0
- settings: 1.5.0
- sharebymail: 1.13.0
- spreed: 13.0.5
- support: 1.6.0
- systemtags: 1.13.0
- tasks: 0.14.4
- terms_of_service: 1.9.3
- text: 3.4.1
- theming: 1.14.0
- twofactor_backupcodes: 1.12.0
- updatenotification: 1.13.0
- user_ldap: 1.13.1
- user_status: 1.3.1
- viewer: 1.7.0
- weather_status: 1.3.0
- welcome: 1.0.1
- workflowengine: 2.5.0
- workspace: 1.0.0
Disabled:
- encryption
- libresign
- pdfdraw
- survey_client: 1.11.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
Heavy file ; I can provide it if necessary.
Additional info
No response