Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event calendar picker out of sync after moving event #4655

Closed
ChristophWurst opened this issue Oct 19, 2022 · 1 comment · Fixed by #4656
Closed

Event calendar picker out of sync after moving event #4655

ChristophWurst opened this issue Oct 19, 2022 · 1 comment · Fixed by #4656
Assignees
Labels
3. to review Waiting for reviews bug

Comments

@ChristophWurst
Copy link
Member

ChristophWurst commented Oct 19, 2022

Steps to reproduce

  1. Share calendar read-write from user A to B
  2. Open the app as B
  3. Create an event in A's shared calendar
  4. Change the event title and move the event to B's personal calendar
  5. Click on the event

Expected behavior

The event shows B's personal calendar selected in the multiselect.

Actual behaviour

It shows A's calendar in the multiselect (wrong). After page reload it shows B's personal calendar (correct).

Calendar app version

4.0

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

No response

Database engine version

No response

PHP engine version

No response

Nextcloud version

No response

Updated from an older installed version or fresh install

No response

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

[ERROR] calendar: calendarObject is undefined 
Object { level: 0, app: "calendar", uid: "admin" }
ConsoleLogger.js:64
    log ConsoleLogger.js:64
    error ConsoleLogger.js:91
    eventSourceFunction eventSourceFunction.js:57
    _callee$ eventSource.js:101
    l dist.js:1
    _invoke dist.js:1
    O dist.js:1
    asyncGeneratorStep eventSource.js:1
    _next eventSource.js:3
    _asyncToGenerator eventSource.js:3
    _asyncToGenerator eventSource.js:3
    events eventSource.js:112
    unpromisify main.js:4685
    fetch main.js:6463
    fetchSource main.js:6100
    fetchSourcesByIds main.js:6088
    reduceEventSources main.js:6032
    _handleAction main.js:7070
    runTask main.js:6894
    drain main.js:6886
    drained main.js:6857
    tryDrain main.js:6839
    request main.js:6800
    request main.js:6872
    dispatch main.js:6969
    dispatch main.js:2833
    refetchEvents main.js:3208
    modificationCount CalendarGrid.vue:195
    later index.js:27
    (Async: setTimeout handler)
    debounced index.js:38
    VueJS 11
    incrementModificationCount calendarObjects.js:150
    wrappedMutationHandler vuex.esm.js:844
    commitIterator vuex.esm.js:466
    commit vuex.esm.js:465
    _withCommit vuex.esm.js:624
    commit vuex.esm.js:464
    boundCommit vuex.esm.js:409
    _callee2$ calendarObjects.js:288
    l dist.js:1
    _invoke dist.js:1
    O dist.js:1
    asyncGeneratorStep calendarObjects.js:1
    _next calendarObjects.js:3
    (Async: promise callback)
    asyncGeneratorStep calendarObjects.js:1
    _next calendarObjects.js:3
    _asyncToGenerator calendarObjects.js:3
    _asyncToGenerator calendarObjects.js:3
    updateCalendarObject calendarObjects.js:326
    wrappedActionHandler vuex.esm.js:851
    dispatch vuex.esm.js:516
    boundDispatch vuex.esm.js:406
    _callee5$ calendarObjectInstance.js:1815
    l dist.js:1
    _invoke dist.js:1
    O dist.js:1
    asyncGeneratorStep calendarObjectInstance.js:9
    _next calendarObjectInstance.js:11
    _asyncToGenerator calendarObjectInstance.js:11
    _asyncToGenerator calendarObjectInstance.js:11
    saveCalendarObjectInstance calendarObjectInstance.js:1849
    wrappedActionHandler vuex.esm.js:851
    dispatch vuex.esm.js:516
    boundDispatch vuex.esm.js:406
    _callee2$ EditorMixin.js:605
    l dist.js:1
    _invoke dist.js:1
    O dist.js:1
    asyncGeneratorStep EditorMixin.js:1
    _next EditorMixin.js:3
    _asyncToGenerator EditorMixin.js:3
    _asyncToGenerator EditorMixin.js:3
    save EditorMixin.js:619

Additional info

No response

@ChristophWurst ChristophWurst added bug 0. to triage Pending approval or rejection labels Oct 19, 2022
@ChristophWurst ChristophWurst changed the title Bug moving event out of shared calendar Event calendar picker out of sync after moving event Oct 19, 2022
@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of and removed 0. to triage Pending approval or rejection labels Oct 19, 2022
@ChristophWurst ChristophWurst moved this to 📄 To do (~10 entries) in 💌 📅 👥 Groupware team Oct 19, 2022
@ChristophWurst
Copy link
Member Author

Dup of #4093

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
Development

Successfully merging a pull request may close this issue.

2 participants