Skip to content

Conversation

@kesselb
Copy link
Contributor

@kesselb kesselb commented Feb 17, 2019

Exception if an activity created for app "core". Does not happen if "settings" is used as app 🤔

{"reqId":"ZRBJc0pB1nEnzqjy2eDX","level":3,"time":"2019-02-17T22:27:47+00:00","remoteAddr":"192.168.10.1","user":"admin","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/cloud\/activity?start=0&count=100&format=json","message":"TypeError: Return value of OC\\Activity\\Manager::getRequirePNG() must be of the type boolean, null returned at \/home\/vagrant\/code\/nextcloud\/lib\/private\/Activity\/Manager.php#328","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"16.0.0.0"}

INSERT INTO nextcloud.oc_activity (activity_id, timestamp, priority, type, user, affecteduser, app, subject, subjectparams, message, messageparams, file, link, object_type, object_id) VALUES (45, 1550442423, 30, 'security', 'admin', 'admin', 'core', 'app_token_created', '{"name":"Mozilla\\/5.0 (Linux) mirall\\/2.5.1git (Nextcloud)"}', '', '[]', 'App Password', '', 'app_token', 107);

Signed-off-by: Daniel Kesselberg <[email protected]>
@kesselb kesselb added bug 3. to review Waiting for reviews labels Feb 17, 2019
@kesselb kesselb added this to the Nextcloud 16 milestone Feb 17, 2019
@rullzer rullzer merged commit 8bd8b54 into master Feb 19, 2019
@rullzer rullzer deleted the null-is-not-a-boolean branch February 19, 2019 10:26
@nickvergessen
Copy link
Member

/backport to stable15

@backportbot-nextcloud
Copy link

backport to stable15 in #14292

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants