-
Notifications
You must be signed in to change notification settings - Fork 287
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
Creating / Renaming Card Title JS Errors #754
Comments
Testing on a similar setups (Ubuntu/Postgres/LDAP), but installed onto a base OS, one on 15RC1 and the other on 14.03, both accessed via an Apache reverse proxy, I cannot reproduce this issue. Tried Click on title of existing card and amend then press enter; In both cases the title updates in both the "main" view and the details pane, no delay. Maybe an Nginx config? |
Can you check your nextcloud log during the failing requests? They should contain more information on what's going wrong. |
This error shows in the Nextcloud log when attempting to edit a title. Could this be related to a on my database user with not enough permissions to create the table? Or is this something else? |
I tried switching to the root Postgres root user, and saw the same behavior, so it doesn't seem like the problem is related to the DB user permissions. |
It is probably #705 again, as a dbtableprefix other than "oc_" is set in config. @joshfleming Try to apply the fix proposed in #705. |
Yes, Modifying that line fixed it. However that issue is closed and states that bug only exists in NC 13 and I'm running NC14. Is this fix queued up for an upcoming release? |
@joshfleming AFAIK the bugfix will be shipped in 0.5.1 |
Steps to reproduce
Steps to reproduce the behavior:
Expected behaviour
Title changes on the screen, with no JS errors.
Actual behaviour
The title doesn't change on the screen until the browser is reloaded.
Server configuration detail
Operating system: Linux 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64
Webserver: Apache/2.4.25 (Debian) (apache2handler)
Database: pgsql PostgreSQL 11.1 (Debian 11.1-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
PHP version:
7.2.12
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, exif, gd, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 14.0.4 - 14.0.4.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
This is a Docker container from https://hub.docker.com/_/nextcloud/
It's behind an Nginx reverse proxy container.
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: 1
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Operating system: Debian 9
Logs
Browser log
Nextcloud log
Browser log
Insert your browser log here, this could for example include:
Creating a new card POST
Title doesn't change until reloading the page. The following Errors show in JS console:
vendor.js?v=aac0bf61-12:7
/apps/deck/cards:1 Failed to load resource: the server responded with a status of 500 ()
vendor.js?v=aac0bf61-12:7 Possibly unhandled rejection: Fetchingcards failed
(anonymous) @ vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
-- | -- | -- | --
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| $digest | @ | vendor.js?v=aac0bf61-12:7
| $apply | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| dispatch | @ | core.js?v=aac0bf61-12:3
| r.handle | @ | core.js?v=aac0bf61-12:3
Renaming a Card PUT
vendor.js?v=aac0bf61-12:7 PUT https://domain.tld/apps/deck/cards/7 500
(anonymous) @ vendor.js?v=aac0bf61-12:7
(anonymous) @ vendor.js?v=aac0bf61-12:7
(anonymous) @ vendor.js?v=aac0bf61-12:7
(anonymous) @ vendor.js?v=aac0bf61-12:7
(anonymous) @ vendor.js?v=aac0bf61-12:7
$digest @ vendor.js?v=aac0bf61-12:7
$apply @ vendor.js?v=aac0bf61-12:7
(anonymous) @ vendor.js?v=aac0bf61-12:7
dispatch @ core.js?v=aac0bf61-12:3
r.handle @ core.js?v=aac0bf61-12:3
vendor.js?v=aac0bf61-12:7
Possibly unhandled rejection: Updating cards failed
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
-- | -- | -- | --
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| $digest | @ | vendor.js?v=aac0bf61-12:7
| $apply | @ | vendor.js?v=aac0bf61-12:7
| (anonymous) | @ | vendor.js?v=aac0bf61-12:7
| dispatch | @ | core.js?v=aac0bf61-12:3
| r.handle | @ | core.js?v=aac0bf61-12:3
Network Request for /apps/deck/cards
Request URL: https://readyroom.revoltmedia.com/apps/deck/cards
Request Method: POST
Status Code: 500
Remote Address: 68.183.248.67:443
Referrer Policy: no-referrer
cache-control: no-store, no-cache, must-revalidate
content-length: 5485
content-security-policy: default-src 'self'; script-src 'self' 'unsafe-eval' 'nonce-UkxaMUxIS2lJaVRhbGkyWGU4SjgvT2VoZ0xidElFOHpXZmp6WVFvYVAxOD06TU1NdFl3cU5WVVhwNUZqVFZMZ3lpSkR6OVlLVVNDaFNQNzZ4VW5rcVJ5az0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';
content-type: text/html; charset=UTF-8
date: Sun, 02 Dec 2018 02:27:58 GMT
expires: Thu, 19 Nov 1981 08:52:00 GMT
pragma: no-cache
server: nginx
status: 500
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-powered-by: PHP/7.2.12
x-robots-tag: none
x-xss-protection: 1; mode=block
:authority: readyroom.revoltmedia.com
:method: POST
:path: /apps/deck/cards
:scheme: https
accept: application/json, text/plain, /
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
content-length: 46
content-type: application/json;charset=UTF-8
cookie: oc_sessionPassphrase=TMkYCnShZJba%2BvHwooLENQxJDCzyuHDkmNLGFtfabnfj6lZEaui%2FlARwxZGgelTIwrapHBChCDbFzi4R8KY%2FEjIuKhejOUJtMdQEFiqwiQEGaThdaCCq0RsMlIBTizYk; __Host-nc_sameSiteCookielax=true; __Host-nc_sameSiteCookiestrict=true; oc67z4et1xsz=9ae6d500100775ead0fb63d6ca71d35f; nc_username=operador; nc_token=dPoLD%2FdtE1FRVY4AApbeLHj0SxQlfmOE; nc_session_id=9ae6d500100775ead0fb63d6ca71d35f
origin: https://readyroom.revoltmedia.com
requesttoken: YIZyyZKhft/HRluyx6NEHwVZRPHX3YgEmBWxHGLX4dU=:FPMqhuqOCb70NC726NkKa3ILMcWute9l/lPzLxHnmaM=
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
{title: "asdfas3", stackId: 4, type: "plain"}
stackId: 4
title: "asdfas3"
type: "plain"
The text was updated successfully, but these errors were encountered: