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

Impossible to toggle visibility or change [color, name] of shared deck generated calendar #2661

Closed
theosche opened this issue Oct 21, 2020 · 1 comment
Labels
0. to triage Pending approval or rejection bug

Comments

@theosche
Copy link

theosche commented Oct 21, 2020

Steps to reproduce

Try to rename, toggle visibility or change color of a calendar automatically generated by a deck table (Nextcloud 20) when you are not the owner of the deck, but it is shared with you (directly or via a group)

Related (not sure if it should be in the same issue):
Try to delete deck calendar (even when you are the owner of the deck).

Expected behaviour

The visibility should change / The color should change / Not sure what is the expected behaviour if one wants to change the name of such a calendar

Deleting:
Not sure, but I think it should be the same behaviour as for a normal calendar:

  • when you are the owner you can delete it, without deleting the deck itself
  • if it is shared with you individually you can "stop sharing with me" (or something similar), without losing access to the deck itself ? (not sure)
  • if it is shared with you as a member of a group, you can't delete it

This is more related to deck app but currently I think there is no way to have a deck table without a calendar, which is annoying when you have many deck tables. There should be an option in each deck table to enable/disable linked calendar.

Actual behaviour

The changes don't occur, but an error message appears.
"An error occured, impossible to [modify agenda visibility, modify agenda color, rename agenda, delete agenda]" (translation, might not be the exact error text).

Calendar app

Calendar app version: 2.1.2

CalDAV-clients used: Not using a calDAV client, directly on nextcloud calendar app from web browser

Client configuration

Browser: Firefox 81.0.1 (but same thing using Chromium or Safari)

Operating system: Mac Os Mojave 10.14.6

Server configuration

Operating system: Debian 10

Web server: Apache

Database: MariaDB

PHP version: 7.4.11

Nextcloud Version: 20.0.0

Updated from an older installed version or fresh install: Updated through many versions

List of activated apps:
Enabled:

  • accessibility: 1.6.0
  • activity: 2.13.1
  • appointments: 1.7.11
  • apporder: 0.11.0
  • bruteforcesettings: 2.0.1
  • calendar: 2.1.2
  • carnet: 0.22.3
  • cloud_federation_api: 1.3.0
  • comments: 1.10.0
  • contacts: 3.4.1
  • contactsinteraction: 1.1.0
  • dav: 1.16.0
  • deck: 1.1.2
  • drawio: 0.9.7
  • event_update_notification: 1.1.0
  • external: 3.7.1
  • federatedfilesharing: 1.10.1
  • files: 1.15.0
  • files_linkeditor: 1.1.2
  • files_pdfviewer: 2.0.1
  • files_rightclick: 0.17.0
  • files_sharing: 1.12.0
  • files_trashbin: 1.10.1
  • files_versions: 1.13.0
  • files_videoplayer: 1.9.0
  • firstrunwizard: 2.9.0
  • forms: 2.0.4
  • logreader: 2.5.0
  • lookup_server_connector: 1.8.0
  • news: 15.0.4
  • nextcloud_announcements: 1.9.0
  • notes: 4.0.0
  • notifications: 2.8.0
  • oauth2: 1.8.0
  • onlyoffice: 6.1.0
  • password_policy: 1.10.1
  • photos: 1.2.0
  • polls: 1.5.4
  • privacy: 1.4.0
  • provisioning_api: 1.10.0
  • quota_warning: 1.9.1
  • recommendations: 0.8.0
  • registration: 0.5.1
  • serverinfo: 1.10.0
  • settings: 1.2.0
  • sharebymail: 1.10.0
  • sharingpath: 0.2.5
  • spreed: 10.0.0
  • support: 1.3.0
  • survey_client: 1.8.0
  • systemtags: 1.10.0
  • tasks: 0.13.5
  • text: 3.1.0
  • theming: 1.11.0
  • twofactor_backupcodes: 1.9.0
  • updatenotification: 1.10.0
  • user_ldap: 1.10.2
  • user_status: 1.0.0
  • viewer: 1.4.0
  • weather_status: 1.0.0
  • workflowengine: 2.2.0
    Disabled:
  • admin_audit
  • dashboard
  • encryption
  • federation
  • files_external
  • fulltextsearch
  • printer
  • quickaccesssorting
  • ransomware_protection
  • richdocuments
  • sharerenamer

Nextcloud configuration:
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"localhost",
"cloud.alternatyv.ch",
"cloud.yverdonentransition.ch"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"skeletondirectory": "",
"dbtype": "mysql",
"version": "20.0.0.9",
"overwrite.cli.url": "http://localhost",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"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,
"theme": "",
"loglevel": 2,
"has_rebuilt_cache": true,
"app_install_overwrite": [
"external",
"forms",
"registration",
"fulltextsearch",
"drawio",
"sharingpath"
],
"mysql.utf8mb4": true,
"updater.release.channel": "stable",
"memcache.local": "\OC\Memcache\APCu",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "OCA\User_LDAP\LDAPProviderFactory",
"mail_sendmailmode": "smtp"
}
}

Logs

Web server error log (e.g. /var/log/apache)

Nothing related to this

Log file (data/nextcloud.log)

Nothing related to this

Browser log

XHRPROPPATCHhttps://cloud.alternatyv.ch/remote.php/dav/calendars/theophile/app-generated--deck--board-12/
[HTTP/1.1 404 Not Found 162ms]

<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\NotFound</s:exception>
<s:message>Node with name 'app-generated--deck--board-12' could not be found</s:message>
</d:error>

Error:
r calendar.js:2
r calendar.js:2
o attachError.js:36
t calendar.js:2
n calendar.js:2
t calendar.js:2
n calendar.js:2
onreadystatechange request.js:353
e request.js:342
e calendar.js:2
u runtime.js:63
_invoke runtime.js:293
y runtime.js:118
de calendar.js:2
i calendar.js:2
pe calendar.js:2
pe calendar.js:2
value calendar.js:2
e request.js:270
u runtime.js:63
_invoke runtime.js:293
y runtime.js:118
de calendar.js:2
i calendar.js:2
pe calendar.js:2
pe calendar.js:2
value calendar.js:2
e davCollection.js:202
u runtime.js:63
_invoke runtime.js:293
y runtime.js:118
Le calendar.js:2
i calendar.js:2
Ye calendar.js:2
Ye calendar.js:2
value davCollection.js:33
n calendars.js:545
u runtime.js:63
_invoke runtime.js:293
y runtime.js:118
fe calendar.js:2
i calendar.js:2
ge calendar.js:2
ge calendar.js:2
toggleCalendarEnabled calendars.js:540
g vuex.esm.js:847
dispatch vuex.esm.js:512
dispatch vuex.esm.js:402
toggleEnabled CalendarListItem.vue:319
click CalendarListItem.vue:42
VueJS 4
onClick AppNavigationIconBullet.js:1
VueJS 3
CalendarListItem.vue:322

@theosche theosche added 0. to triage Pending approval or rejection bug labels Oct 21, 2020
@miaulalala
Copy link
Contributor

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. to triage Pending approval or rejection bug
Projects
None yet
Development

No branches or pull requests

2 participants