nextcloud / nextcloud/calendar
Empty event gets created when selecting another event
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Steps to reproduce
- Go to weekly view, make sure you have disabled the simple / easy editor in the calendar settings
- Create an event in the calendar with some title (doesn't matter which title) and save it
- Click on a blank space in the calender to trigger a new event creation dialog
- without entering anything in the fields, select the previously created event in the calendar
- a untitled event gets created as soon the other event gets selected
Expected behavior
I expect it to not create an empty / untitled event when the fields are empty.
Just as clicking between empty spots doesn't create empty events.
Actual behavior
a untitled event gets created as soon the other event gets selected
(see attached video in the first comment)
Calendar app version
5.2.0
CalDAV-clients used
webClient
Browser
Firefox 136.0.2
Client operating system
Bazzite (Fedora Universal Blue)
Server operating system
Unraid (Slackware)
Web server
Apache
Database engine version
MariaDB
PHP engine version
Other
Nextcloud version
31.0.1
Updated from an older installed version or fresh install
None
List of activated apps
Enabled:
- activity: 4.0.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- calendar: 5.2.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.0.4
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.0
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_3dmodelviewer: 0.0.15
- 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
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 4.3.1
- nextcloud_announcements: 3.0.0
- notes: 4.11.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.6.2
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- spreed: 21.0.1
- support: 3.0.0
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- 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
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- circles: 31.0.0 (installed 28.0.0-dev)
- encryption: 2.19.0
- files_external: 1.23.0
- twofactor_nextcloud_notification: 5.0.0
- user_ldap: 1.22.0
Nextcloud configuration
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"maintenance_window_start": 4,
"default_phone_region": "DE",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"upgrade.disable-web": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"hotbox.fritz.box:8666",
"cloud.jjmn.de",
"nc.intern.jjmn.de"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.1.2",
"overwrite.cli.url": "https:\/\/cloud.jjmn.de",
"overwriteprotocol": "https",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"app_install_overwrite": [
"openotp_auth",
"metadata",
"unsplash",
"files_downloadactivity",
"tasks"
],
"maintenance": false,
"defaultapp": "",
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\HEIC",
"OC\\Preview\\TIFF"
],
"loglevel": 3,
"memories.db.triggers.fcu": true
}
}
Web server error log
no access right now
Log file
no access right now
Browser log
no access right now
Additional info
PHP: 8.3.19
DB: mysql 11.7.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the weekly view with the simple/easy editor disabled, following the listed steps. Trace the event creation and event-selection flow; done means selecting an existing event from an empty creation dialog does not save an untitled event, while normal event creation still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100