-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Group shared calendars missing (20.0.5) #25165
Comments
might be related to #25164 |
Same issue here. No changes except for the core update. In one case I could work around the issue by unsharing and resharing the calendar. In another case on the same inscance when doing so it seemed (from the result in the actual sharing dialog) that it succeeded but a reload of calendar showed that the shared-to group vanishes from the list. So again: When I enter the sharing user's calendar, I see that the calendar is shared to the group. I delete that sharing. I re-add it (and see that it "is"). Then reload the web page and it's gone. I can reliably share to users though. So in some cases it may be a (cumbersome) workaround to temporarily share to affected users directly. |
self-ref – I guess you meant another issue? |
Thank you. Updated. |
In our case this issue is restricted to groups containing a whitespace in their name. Another user reports similar problems when an umlaut is used (see German Nextcloud forum). Shared addressbooks are affected as well. I can confirm that this issue exists since we upgraded to 20.0.5 on Friday evening. Our setup is on Debian Buster with apache 2.4.38, PHP 7.3 and MariaDB 10.3.27. |
Thank you @jmechnich ! Do you know if it is enough to rename to group in the UI or would it be necessary to rename the gid?
It is probably not a good idea to change the gid and displayname via database, right? |
Is this even possible via the UI? :D At this point I am still trying to avoid modifying the database directly. The |
There was a merged pull request related to DAV shares and URL de-/encoding which might be related: 25143fc |
After reverting those changes things seem to be working properly on my test server. Still a bit reluctant to implement them on our production machine as there might be side effects. Edit: this would also fix #25164 |
I can confirm that reverting 25143fc also fixes the issue on our production machine. |
Updated the whitespace hint to my initial post. @jmechnich |
Same issue here, c.f.: https://help.nextcloud.com/t/probleme-mit-kalender-freigabe/104490 |
@derBobby It should be quite safe in my opinion but would still advise you to create a backup of your cloud... ;) |
Does this patch fix the problem? Has anyone tested that? |
@JB1985 if I understand the issue correctly then the patch you referring to is the cause, not the remedy of this. The patch you linked has been included in 20.0.5, which is the version from which on users experience this problem. |
Then the solution should be to take the files from 2.0.4?! apps/dav/lib/CalDAV/CalDavBackend.php Has anyone tested that? |
Is the root cause maybe also responsible for nextcloud/contacts#2023? I have the same behavior for address books. If target group contains a white space, a share can be created but users of the group don't see it. |
@k00ni That is very likely the case. |
If i didn't do anything wrong i couldn't confirm that it is fixed for 20.0.8. I still couldn't add new calender shares with groups with "space" and "&" in the name. |
Unfortunately, I musst confirm what @ximex said. It works for existing shares. It does NOT work if you want to add a new share. |
cc @blizzz |
Mh, that's two things mixed up here. The report originally is about existing shares that disappeared. That's fixed. I'll revisit the space and ampersand issue. |
Shoudn't this bug stay open then? BTW, the bug is still present in NC 21.0.0.18 with current calendar and contacts apps. |
I confirm that the bug is still in NC 20.0.8 for sharing calendar with space in his name. |
Hello, I updated to NC 20.0.8 and that bug is still here. |
Well, I even installed the last NC 21 version .. and still here ! |
@rullzer could you please reopen this bug? |
The problem with group shared calendars still exists with NC 21.0.1 - this bug really needs to be reopened, please. @rullzer |
I know that NC dev's might work on many other things, but this issue is affecting a customer of mine. Where do you need a hand to prepare a fix? |
Don't have much to add, but I'm wondering if this bug is related? nextcloud/files_pdfviewer#381 Seems spaces in paths/names break a lot of things in our wonderful world of technology... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I hate to beak the news to you, but this is not commercial software you paid for and have some "right" to receive some working software in return. (Not that you get that in most commercial software either ;) ) I'm not saying that it would be nice that this bug got fixed (as many others), but still this is a community project. So somebody must step up and fix it. That's the way OSS is "paid" for. I think that your tone is inappropriate here as it doesn't motivate anyone to work on the issue nor does it provide new insights to help find out why it broke. Please delete your last comment, and I'll delete mine. |
@nursoda, but there exists also a commercial product called Nextcloud Enterprise which claims to be "optimized and tested for mission critical environments". Does that product contain the same bugs, or does it use different code? Which one? "Open source" and "free software" is no excuse for bad quality. I'd expect that contributions which introduce new bugs are either reverted or that the contributor fixes it. |
Please keep discussing the philosophical and ethical implications of this issue in the forum: https://help.nextcloud.com/ This is not the place for debate, you are spamming everyone subscribed to this issue (sorry everyone about this one too 😬). |
@stweil you get what you pay for. If you pay nothing, then you get only what volunteers are willing and able to do for you - and most volunteers I know respond a lot better to friendly requests than angry demands. Anyhow, I don't think we're getting anywhere so please discuss these things on help.nextcloud.com or do something more productive - contribute, for example. |
I am sorry if my comment caused misunderstandings. I asked several questions which I think might help solving this issue. Which release is used by Nextcloud Enterprise? And personally I contribute a lot to open source, also to Nextcloud code (that's why I have member status). Therefore quality issues in Nextcloud are a personal challenge for me, too. |
I think we have a wrong and/or double encoding in the frontend code. I am looking at the calendar here. Upon searching for a group containing a space, say "Rock Roll", the URI is reported from the server as such. When initiating the share, the URI ends with "Rock%2bRoll", which is "Rock+Roll". Somewhere the encoding is done. It might not even be calendar, but in the cdav library, because when processing the results from search (which is done via cdav lib) we do already see that the encoding has happened. Needs further digging. |
Please see nextcloud/calendar#3232 for a potential fix. |
Steps to reproduce
0.) User A and User B are member of Group G
1.) User A has shared a calendar with group G
1a.) The shared calendar name contains a SPACE.
2.) User B can't see the shared calendar in the calendar web app
3.) User B can't sync the shared calendar on his devices
Expected behaviour
Group sharing of calendar should work
Group shared calendars should be visible for users shared with
Actual behaviour
Group shared calendars are not visible / syncable
Server configuration detail
Operating system: Linux 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64
Webserver: Apache/2.4.38 (Debian) (apache2handler)
Database: hub.docker.com: mariadb:10.4.10-bionic
PHP version:
7.4.14
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, bcmath, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 20.0.5 - 20.0.5.2
Updated from an older Nextcloud/ownCloud or fresh install: 20.0.4
Where did you install Nextcloud from: hub.docker.com: nextcloud:20.0.5
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: NO
Are you using encryption: NO
Are you using an external user-backend, if yes which one: NO
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Operating system: Windows 10
Logs
Web server error log
Nextcloud log
Browser log
The text was updated successfully, but these errors were encountered: