owncloud / notes

:notebook_with_decorative_cover: Notes app for ownCloud
GNU Affero General Public License v3.0
195 stars 46 forks source link

owncloud.log issues #120

Open jancborchardt opened 9 years ago

jancborchardt commented 9 years ago

With ownCloud core master and the Notes app master, I see these issues:

{"reqId":"QnGl4tn\/WyfFtMcbMF6w","remoteAddr":"127.0.0.1","app":"PHP","message":"Missing argument 2 for OC\\Files\\Storage\\Wrapper\\Wrapper::file_put_contents(), called in \/home\/jan\/owncloud\/lib\/private\/files\/view.php on line 1006 and defined at \/home\/jan\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php#241","level":0,"time":"2015-07-09T16:31:25+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/notes\/notes"}
{"reqId":"QnGl4tn\/WyfFtMcbMF6w","remoteAddr":"127.0.0.1","app":"PHP","message":"Undefined variable: data at \/home\/jan\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php#242","level":0,"time":"2015-07-09T16:31:25+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/notes\/notes"}

@Raydiation @Henni @LukasReschke

Henni commented 9 years ago

@jancborchardt Does this issue still occur?

jancborchardt commented 9 years ago

Yep. Always when creating a new note:

{"reqId":"df93LcI0rBnWC8zzNXTw","remoteAddr":"127.0.0.1","app":"PHP","message":"Missing argument 2 for OC\\Files\\Storage\\Wrapper\\Wrapper::file_put_contents(), called in \/home\/jan\/owncloud\/lib\/private\/files\/view.php on line 1006 and defined at \/home\/jan\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php#241","level":0,"time":"2015-07-24T15:27:02+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/notes\/notes"}
{"reqId":"df93LcI0rBnWC8zzNXTw","remoteAddr":"127.0.0.1","app":"PHP","message":"Undefined variable: data at \/home\/jan\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php#242","level":0,"time":"2015-07-24T15:27:02+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/notes\/notes"}
Henni commented 9 years ago

I can't reproduce this. @jancborchardt do you get the same error if you create an empty file in the files app?

jancborchardt commented 9 years ago

No, new text files work fine. And the issue still occurs with latest Notes app master.

@LukasReschke @Raydiation can you reproduce?