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

Calendar of event cannot be changed after creation #3838

Closed
mputzi opened this issue Dec 22, 2021 · 15 comments · Fixed by #3846
Closed

Calendar of event cannot be changed after creation #3838

mputzi opened this issue Dec 22, 2021 · 15 comments · Fixed by #3846
Assignees
Labels
3. to review Waiting for reviews bug regression Regression of a previous working feature
Milestone

Comments

@mputzi
Copy link

mputzi commented Dec 22, 2021

Steps to reproduce

  1. create event, user has more than one calendar with editing rights
  2. try to change calendar of event by selecting new calendar for event
  3. calendar stays the same, no matter what has been selected

Expected behaviour

When selecting a new calendar for an event, the event should be reassigned to that calendar.

Actual behaviour

The calendar the event is assigned to stays the same.

Calendar app

Calendar app version: 3.0.3

Client configuration

Browser: Firefox 95.0

Operating system: Manjaro Linux

Server configuration

Operating system: Ubuntu 20.04.3

Web server: NGINX

Database: MariaDB

PHP version: 7.4.3

Nextcloud Version: 22.2.3

Updated from an older installed version or fresh install: Updated from older version

List of activated apps:
Accessibility 1.8.0
Activity 2.15.0
Analytics 4.0.2
Announcement center 6.1.1
AppOrder 0.13.0
Audio Player 3.2.2
Automated PDF conversion 1.7.0
Calendar 3.0.3
Circles 22.1.1
Collabora Online 4.2.3
Collabora Online - Built-in CODE Server 21.11.6
Collaborative tags 1.12.0
Comments 1.12.0
Contacts 4.0.7
Contacts Interaction 1.3.0
Dashboard 7.2.0
Deck 1.5.5
Deleted files 1.12.0
Draw.io 1.0.2
External sites 3.9.0
Extract 1.3.3
Federation 1.12.0
File sharing 1.14.0
First run wizard 2.11.0
GpxPod 4.3.0
LDAP user and group backend 1.12.1
Log Reader 2.7.0
Mail 1.11.4
Markdown Editor 2.3.5
Monitoring 1.12.0
Nextcloud announcements 1.11.0
Notifications 2.10.1
Password policy 1.12.0
PDF viewer 2.3.1
Photos 1.4.0
Polls 3.4.2
Privacy 1.6.0
Quota warning 1.13.0
Recommendations 1.1.0
Right click 1.1.0
Share by mail 1.12.0
Support 1.5.0
Talk 12.2.2
Tasks 0.14.2
Text 3.3.0
Theming 1.13.0
Update notification 1.12.0
Usage survey 1.10.0
User status 1.2.0
Versions 1.15.0
Video player 1.11.0
Weather status 1.2.0
Welcome 1.0.1

Nextcloud configuration:

{
    "system": {
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "22.2.3.0",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "overwritewebroot": "\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "logtimezone": "Europe\/Berlin",
        "cron_log": true,
        "loglevel": 2,
        "log_rotate_size": 104857600,
        "default_phone_region": "DE",
        "activity_expire_days": 14,
        "auth.bruteforce.protection.enabled": true,
        "integrity.check.disabled": false,
        "knowledgebaseenabled": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\APCu",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "theme": ""
    }
}

Logs

no errors in logs.

@mputzi mputzi added 0. to triage Pending approval or rejection bug labels Dec 22, 2021
@mputzi
Copy link
Author

mputzi commented Dec 22, 2021

Using DAV-Client existing events can be reassigned to a new calendar. Only the edit event form in the nextcloud app seems to be affected.

Using the "simple editor" in Calendar 3.0.3 for reassigning a calendar results in not ending spinner overlay:
Screenshot_20211222_074516

@tcitworld
Copy link
Member

@mputzi Please check browser logs as well, as there should be something here if it hangs like this.

@tobox
Copy link

tobox commented Dec 22, 2021

Same problem here, and reverting to 3.0.2 was not possible (nextcloud auto-updated to 3.0.3 immediately).

Workaround: change the order of calendars on the left so that the calendar you want to use is at the top. Then create the event, and the top-most calendar is selected by default.

@ChristophWurst
Copy link
Member

Using the "simple editor" in Calendar 3.0.3 for reassigning a calendar results in not ending spinner overlay:

I run into this when I move from one calendar to the other and then back. It's a known regression: #3325

@ChristophWurst
Copy link
Member

ChristophWurst commented Dec 23, 2021

  • create event, user has more than one calendar with editing rights
  • try to change calendar of event by selecting new calendar for event
  • calendar stays the same, no matter what has been selected

I'm not able to reproduce. Could you maybe tell me more specifically what calendars I need to create and what events?

@heikojansen
Copy link

I can confirm the original report and the workaround described by @tobox (though I need to reload the page after rearranging the calendars in the left column before that takes effect for a new event).

Regarding the question by @ChristophWurst : I did not create any new calendars. I just tried to add a new event in an already existing calendar by clicking at the appropriate date and time position in my week view, then tried to change the pre-selected calendar in the form shown in the right column.

@szaimen
Copy link
Contributor

szaimen commented Dec 23, 2021

Might be due to

@selectCalendar="changeCalendar" />

Shouldn't that be @select-calendar instead of @selectCalendar ?

This change was made in #3424

@ChristophWurst
Copy link
Member

Vue should convert camel case to kebab case but worth a try

@philippeladame
Copy link

I can confirm the original report and the workaround described by @tobox (though I need to reload the page after rearranging the calendars in the left column before that takes effect for a new event).

Same here. I confirm both issue and workaround. NC 23 + Firefox (same problem with Chrome).

@raimund-schluessler
Copy link
Member

Vue should convert camel case to kebab case but worth a try

No, they are not equivalent. We learned that already in bf44d03. So @select-calendar is correct.

@ChristophWurst
Copy link
Member

My bad. I'll fix this next week.

@ChristophWurst

This comment has been minimized.

@ChristophWurst
Copy link
Member

Fix is at #3846

@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed needs info 0. to triage Pending approval or rejection labels Dec 27, 2021
@ChristophWurst ChristophWurst self-assigned this Dec 27, 2021
@ChristophWurst ChristophWurst added this to the v3.1.0 milestone Dec 27, 2021
@ChristophWurst ChristophWurst added the regression Regression of a previous working feature label Dec 27, 2021
@amsel54
Copy link

amsel54 commented Aug 4, 2022

First of all thanks for the great work you are doing in the nextcloud and ass. projects.

Actually I am not sure what is the actual status of this bug. Recetly I tested the calendar in nextcloud 24.0.1 an calender 3.4.2 and have still the same behaviour:

  • created a new calendar 'calendar2'
  • created an event within my personal calendar
  • open the event in the simple editor and change to 'calendar2' and close with 'update'
  • reopen in simple editor -> still personal calendar
  • change to 'calendar2' again close with 'update'
  • the editor hangs
  • reload browser page
  • reopen event with simple calendar -> there it shows 'calender2'
  • checking my caldav sync of 'calender2' in thunderbird -> no sync of the event
  • this changes if I reopen the event and change something, for example to give a place and close via 'update'
  • now the event is synced

it seems that storing a changed calendar value does not work properly

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 regression Regression of a previous working feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants