You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After creating a notification using announcementcenter I can't list notifications anymore #103
if the response is empty - then there is no notification. you need to generate a notification.
e.g. by using #104 - this adds an occ command to generate notifications
I had generated a notification (from admin) to my user using announcement center.
Now today I suddenly get the notification in mirall and in API curl result.
Just as if the thing only got the notificaton after I log in via webinterface or so? will test..
(Also looked like the Ajax cron did not work, only system cron worked. Maybe because ajax only executes one job? Or ajax only executes for another user or so.. )
Activity
DeepDiver1975 commentedon Aug 2, 2017
might be a general problem in the ocs v2 handling in core .... will investigate
Properly set the status text in the ocs response for v2 calls - fixes o…
guruz commentedon Aug 3, 2017
@DeepDiver1975 FYI this is about the response being EMPTY, not only the 200 vs failure.
(havent tested your patch yet if it magically fixes it anyway)
DeepDiver1975 commentedon Aug 3, 2017
if the response is empty - then there is no notification. you need to generate a notification.
e.g. by using #104 - this adds an occ command to generate notifications
./occ notifications:generate -u guruz hello "long message"guruz commentedon Aug 3, 2017
I had generated a notification (from admin) to my user using announcement center.
Now today I suddenly get the notification in mirall and in API curl result.
Just as if the thing only got the notificaton after I log in via webinterface or so? will test..
guruz commentedon Aug 3, 2017
Aaaaaaahhh! it is done via cron, it works after manual cron invocation (hi @SamuAlfageme ;-)
guruz commentedon Aug 3, 2017
@DeepDiver1975 related when i try your command:
But there is the
apps/notificationsapp in the directory and it's enabled obviously.Is that a bug?
DeepDiver1975 commentedon Aug 3, 2017
yes - this confuses people all the times ....
DeepDiver1975 commentedon Aug 3, 2017
the commend it there - https://github.com/owncloud/notifications/pull/104/files#diff-61f5888c7ffa138eb53ad8f8feaf5409R54
did you switch over to this branch?
Properly set the status text in the ocs response for v2 calls - fixes o…
guruz commentedon Aug 3, 2017
Closing as this was related to a bad cron setup
guruz commentedon Aug 3, 2017
(Also looked like the Ajax cron did not work, only system cron worked. Maybe because ajax only executes one job? Or ajax only executes for another user or so.. )
DeepDiver1975 commentedon Aug 3, 2017
ajax executes only one job at a time - cron executes all at once.
so it take a few ajax calls until all jobs are executed
[stable10] Properly set the status text in the ocs response for v2 ca…
[stable9.1] Properly set the status text in the ocs response for v2 c…