-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
NC 13: disable birthday calendar returns 302 with no feedback #8529
Comments
Can you check where the 302 requests forwards you to? |
If I understood you right you want to have the request returning the 302 but anyway if the request is not successful I would be expecting a message in the Web GUI |
Yes, but all 3xx status codes are some sort of redirect. Where is it redirecting you to? |
ah now I got it, |
Moving to 13.0.2 |
@mirgleich Can you post the configuration of your Apache VHost? |
apache.conf
nextcloud.conf
|
I am running Nextcloud on various instances and have the same problem, but only when running in a subfolder. With Nextcloud instances running in webroot disabling the birthday calendar works (at least the checkbox stays unchecked when reloading the page - I haven't checked yet whether the birthday calendars are really disabled). Unchecking the checkbox results in requesting: https://example.com/nextcloud/index.php/nextcloud/apps/dav/disableBirthdayCalendar |
I moved my NC to a new Domain without having a subfolder an can confirm @BernieO investigation. |
Problem could be solved by changing settings-admin-caldav.js#L34 and settings-admin-caldav.js#L36. OC.generateUrl expect an relative url but OC.linkTo returns an already absolute url.
Works for me in subfolder and without subfolder. |
That change solves the issue for my subfolder setups as well. |
@juliushaertl Could you verify this? |
Yes for generating the url of a route it is enough to just use OC.generateUrl(). OC.linkTo is meant to get the absolute path of a file inside of the apps directory, not the apps route endpoint. @danielkesselberg Mind to open a pull request with the change you've proposed? That would be awesome. |
Not sure if this is a Calendar or a Core issue but I guess its a calendar one if not just paste over to Server repo
Steps to reproduce
(5. Reload page to see that checkbox is still enabled)
Expected behaviour
NC Server should return Status code 200 and disable birthday calendar or show feedback to user for failing to disable birthday calendar
Actual behaviour
Server Returns 302 in Network inspector but does not give feedback to user
Server configuration detail
Operating system: Linux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l
Webserver: Apache/2.4.25 (Raspbian) (apache2handler)
Database: mysql 10.1.23
PHP version: 7.0.27-0+deb9u1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, apc, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, intl, json, exif, mcrypt, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 13.0.0 - 13.0.0.14
Updated from an older Nextcloud/ownCloud or fresh install: updated from 12.0.4
Where did you install Nextcloud from: unknown
Signing status
Array
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Operating system: Debian
Nextcloud log
Nextcloud log is not showing any entryBrowser log
[Sat Feb 24 22:33:05.204753 2018] [authz_core:error] [pid 6652] [client 93.104.138.127:51544] AH01630: client denied by server configuration: /var/www/html/dav
[Sat Feb 24 22:33:05.897811 2018] [authz_core:error] [pid 6653] [client 93.104.138.127:51546] AH01630: client denied by server configuration: /var/www/html/apps
[Sat Feb 24 22:33:09.234436 2018] [authz_core:error] [pid 6653] [client 93.104.138.127:51546] AH01630: client denied by server configuration: /var/www/html/apps
But that is shown for each request in Apache2
The text was updated successfully, but these errors were encountered: