green banner with event creation status is missing
Steps to reproduce
Steps to reproduce:
1. The green banner that showed up, when I created a new event (uploaded a larger video), but this still needed some time to process, is now missing.
2. I uploaded a large file that took some minutes to upload, and it took some minutes for the event to show up in the table. But I did not see the information that this job has being created.
This issue was related to the initialization of the notifications list for a page. If the list was empty, the notifications service simply returned "undefined". The problem is that Angular JS could not bind this value (used then in the templates) with the list created later in the services as soon as the first notification was added. This is why changing the page make it worked, the binding was then done on the existing list. The solution was simply to always initialize the list even if empty instead of returning "undefined".
I've investigated this issue and here are my findings. Basically, after a page refresh, no notification are displayed. I could reproduce this consistently like this:
Go to the Events page
Reload the page
Create a new Event
Create a second Event
Current behaviour: No notifications are displayed
Now, navigate to the Series page (using the Series link in the top nav) and you should see the new event Notification being displayed on the Series page.
At this point, come back to the Events page, create a new event and you will see that both "Upload" and "Success" notifications are being displayed.