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
I'm getting a flood of these warnings when running the Web UI.
[warn] - play - You are using status code '200' with flashing, which should only be used with a redirect status!
So... I guess the Web UI shouldn't use flashing with status code 200 then...
Flashing is currently used to set the browserId, sending errors/success messages etc to the templates. The "proper" way of doing it is probably to send them as arguments to the templates instead.
The text was updated successfully, but these errors were encountered:
This ensures that all browser windows get a unique browserId.
Before this, if you duplicated a tab in chromium, both tabs
would have the same browserId. As a consequence, only the first
tab would be notified of a job completion for some reason, this
seems to have fixed that. It also avoids having to use flashing
to pass the browserId to the browser, which helps
towards solving #57.
This commit also makes sure that a browser window showing a
job view only receives file uploads from that specific job.
This was an issue if you tried creating multiple jobs
simultaneously in separate browser windows.
This ensures that all browser windows get a unique browserId.
Before this, if you duplicated a tab in chromium, both tabs
would have the same browserId. As a consequence, only the first
tab would be notified of a job completion for some reason, this
seems to have fixed that. It also avoids having to use flashing
to pass the browserId to the browser, which helps
towards solving #57.
This commit also makes sure that a browser window showing a
job view only receives file uploads from that specific job.
This was an issue if you tried creating multiple jobs
simultaneously in separate browser windows.
I'm getting a flood of these warnings when running the Web UI.
So... I guess the Web UI shouldn't use flashing with status code 200 then...
Flashing is currently used to set the browserId, sending errors/success messages etc to the templates. The "proper" way of doing it is probably to send them as arguments to the templates instead.
The text was updated successfully, but these errors were encountered: