Skip to content

[Bug]: Calendar Rooms / Resources inconsistent behaviour #178

@arraintxo

Description

@arraintxo

⚠️ This issue respects the following points: ⚠️

Bug description

We’re experiencing several issues with calendar resources, and I believe they might be related to the resources constantly showing a NEEDS-ACTION status.

When using the calendar, the behavior of resources/rooms is inconsistent:

  • If there are multiple attendees in an event and the event is deleted, sometimes the rooms remain marked as booked.
  • If a room is booked for one event and then used again for a different event at another time, changing the time of one of the events can cause overlapping bookings.

These are two issues we are experiencing that come to my mind, but I would say we are experimenting multiple ones

Steps to reproduce

  1. Create a room resource
  2. Create an event on the calendar with that resource selected
  3. Create another event on the calendar with that resource selected the same day but at another time (not overlapping)
  4. Update one of the event times to overlap with the other one. System allows this to happen without any error or advice.

Expected behavior

We expect bookings to be accepted automatically and any overlap to be detected by the system.

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{                                                                                                                                                                                                                                                      [0/841]
    "system": {          
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",                                                                       
        "secret": "***REMOVED SENSITIVE VALUE***",             
        "trusted_domains": [                                                                                                   
             "***REMOVED SENSITIVE VALUE***",                                                                                                  
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",         
        "version": "31.0.2.1",   
        "overwrite.cli.url":  "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                      
        "dbname": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                            
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",                                                                                                                                                                                                                                         
        "dbtableprefix": "oc_",                                                                                                                                                                                                                               
        "mysql.utf8mb4": true,              
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,                           
        "updater.release.channel": "stable",            
        "maintenance_window_start": 1,                                                                                         
        "memcache.local": "\\OC\\Memcache\\APCu",                                                                              
        "memcache.distributed": "\\OC\\Memcache\\Redis", 
        "memcache.locking": "\\OC\\Memcache\\Redis",         
        "redis": {                                                                                                             
            "host": "***REMOVED SENSITIVE VALUE***",    
            "port": 0,                                                                                                         
            "timeout": 0,                                   
            "password": "***REMOVED SENSITIVE VALUE***" 
        },                                                    
        "default_phone_region": "ES",                       
        "mail_smtpmode": "sendmail",                        
        "mail_sendmailmode": "smtp",                     
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",    
        "skeletondirectory": "",                         
        "default_language": "es",                                                                                              
        "default_locale": "es",                             
        "maintenance": false,                          
        "loglevel": 2,                                       
        "apps_paths": [                                 
            {                                         
                "path": "\/var\/www\/nextcloud\/apps",  
                "url": "\/apps",                             
                "writable": true                        
            },                                          
            {                                            
                "path": "\/var\/www\/nextcloud\/custom_apps",
                "url": "\/custom_apps",                   
                "writable": true                                                                                               
            }                                           
        ],                                                   
        "defaultapp": "",                                   
        "theme": "",                                   
    }                                                                                                                          
}

List of activated Apps

Enabled:                                                                                                                                                                                                                                                      
  - activity: 4.0.0                                                                                                                                                                                                                                           
  - app_api: 5.0.2                                                                                                                                                                                                                                            
  - bruteforcesettings: 4.0.0                                                                                                                                                                                                                                 
  - calendar: 5.2.1                                                                                                                                                                                                                                           
  - calendar_resource_management: 0.9.0                                                                                                                                                                                                                       
  - circles: 31.0.0                                                                                                                                                                                                                                           
  - cloud_federation_api: 1.14.0                                                                                                                                                                                                                              
  - comments: 1.21.0
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_automatedtagging: 2.0.0
  - files_downloadlimit: 4.0.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - groupfolders: 19.0.4
  - impersonate: 2.0.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - nextcloud_announcements: 3.0.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - support: 3.0.0
  - systemtags: 1.21.1
  - tasks: 0.16.1
  - text: 5.0.0
  - theming: 2.6.1
  - theming_customcss: 1.18.0
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - whiteboard: 1.0.5
  - workflow_ocr: 1.31.0
  - workflow_pdf_converter: 2.0.0
  - workflow_script: 2.0.0
  - workflowengine: 2.13.0
Disabled:
  - admin_audit: 1.21.0
  - deck: 1.14.3 (installed 1.14.3)
  - encryption: 2.19.0
  - files_external: 1.23.0
  - notes: 4.11.0 (installed 4.11.0)
  - photos: 4.0.0-dev.1 (installed 3.0.2)
  - survey_client: 3.0.0 (installed 1.17.0)
  - suspicious_login: 9.0.1
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - user_ldap: 1.22.0

Nextcloud Signing status

no errors have been found

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions