nextcloud / nextcloud/calendar

Calendar not being able to update time

Open
#7,413 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  1. Create an event using nextcloud calendar (make sure it goes all day)
  2. Click on the event and try to update the date
  3. The event would not update in date or time.

Error message from the browser console:

index.mjs:4045 @nextcloud/calendar-js app is using version 2.2024a of the timezone database
index.mjs:4045 @nextcloud/calendar-js app is using version 2.2024a of the timezone database
moment.js:72 Fallback to locale en
search.js:21 Initializing unified search plugin-filters from talk
NotificationsApp.vue:417 Notifications permissions granted
NotificationsApp.vue:380 Polling interval updated to 30000
NotificationsApp.vue:251 Started background fetcher as session_keepalive is enabled
UserStatus.vue:159 Failed sending heartbeat, got: undefined
NotificationsApp.vue:336 Got notification data, restoring default polling interval.
calendars.js:271 calendar home scanned Array(5) Array(1) Array(0)
EditSimple.vue:436 getDomElementForPopover <a tabindex=​"0" class=​"fc-event fc-event-draggable fc-event-resizable fc-event-start fc-event-end fc-event-future fc-daygrid-event fc-daygrid-block-event fc-h-event" style=​"border-color:​ rgb(121, 90, 171)​;​ background-color:​ rgb(121, 90, 171)​;​" data-object-id=​"L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9wZW5kci9wZXJzb25hbC0xL0Q5RjE3MTNELThERjMtNEQwNC1CQkM3LTQ0RkJCQkNBNjg4Qy5pY3M=" data-recurrence-id=​"1758240000">​…​</a>​ auto
hook.js:608 TypeError: this.getPopoverTriggerContainerElement is not a function
    at o.removeFloatingVueAriaDescribedBy (NcPopover-DxTXnL3u.mjs:172:37)
    at o.afterShow (NcPopover-DxTXnL3u.mjs:264:12)
    at gn (vue.runtime.esm.js:3033:30)
    at o.n (vue.runtime.esm.js:1832:20)
    at gn (vue.runtime.esm.js:3033:30)
    at e.$emit (vue.runtime.esm.js:3732:17)
    at o.$_applyShowEffect (floating-vue.es.js:786:12)
    at o.$_applyShow (floating-vue.es.js:743:18)
overrideMethod @ hook.js:608
EditSimple.vue:436 getDomElementForPopover <a tabindex=​"0" class=​"fc-event fc-event-draggable fc-event-resizable fc-event-start fc-event-end fc-event-future fc-daygrid-event fc-daygrid-block-event fc-h-event" style=​"border-color:​ rgb(121, 90, 171)​;​ background-color:​ rgb(121, 90, 171)​;​" data-object-id=​"L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9wZW5kci9wZXJzb25hbC0xL0Q5RjE3MTNELThERjMtNEQwNC1CQkM3LTQ0RkJCQkNBNjg4Qy5pY3M=" data-recurrence-id=​"1758240000">​…​</a>​ auto
hook.js:608 TypeError: this.getPopoverTriggerContainerElement is not a function
    at o.removeFloatingVueAriaDescribedBy (NcPopover-DxTXnL3u.mjs:172:37)
    at o.afterShow (NcPopover-DxTXnL3u.mjs:264:12)
    at gn (vue.runtime.esm.js:3033:30)
    at o.n (vue.runtime.esm.js:1832:20)
    at gn (vue.runtime.esm.js:3033:30)
    at e.$emit (vue.runtime.esm.js:3732:17)
    at o.$_applyShowEffect (floating-vue.es.js:786:12)
    at o.$_applyShow (floating-vue.es.js:743:18)
overrideMethod @ hook.js:608

My instance of nextcloud is updated to the latest version and so is my version of nextcloud calendar.

Have a nice day :)

Expected behavior

Event should update

Actual behavior

Event does not update

Calendar app version

5.5.3

CalDAV-clients used

Nextcloud

Browser

Google Chrome 140.0.7339.82

Client operating system

Windows 11 and NixOS

Server operating system

Ubuntu (docker container)

Web server

Nginx

Database engine version

MariaDB

PHP engine version

PHP 8.4

Nextcloud version

Nextcloud Hub 10 (31.0.9)

Updated from an older installed version or fresh install

Fresh install

List of activated apps

Nextcloud configuration

Web server error log

Log file

Browser log

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the all-day event date change in Chrome and inspect the reported TypeError involving EditSimple.vue and NcPopover, along with the calendar activity shown in calendars.js. Trace the update flow from the event popover and confirm that changing an event's date or time persists and refreshes correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.