-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with checkout system #13120
Comments
As far as I am aware it is not possible to prevent someone closing a
browser tab/window and force the display of a message. Even if it was I'm
not convinced it would be a good idea.
…On 7 Dec 2016 5:28 p.m., "Samuel Mehrbrodt" ***@***.***> wrote:
When editing an article, it gets the status "Checked out". That prevents
any other user to edit the same article at the same time.
The status will be reset when closing the article.
However, when closing the window/tab with the edit form, the checked out
status is not being reset.
This can lead to many checked out articles, and users not knowing what
causes this.
Maybe we can add some warning message, or release the lock before closing
the window.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13120>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPH8e1osVza9FZbDxaDn0RzBslx5lWkks5rFuzJgaJpZM4LG3qu>
.
|
It is possible: https://developer.mozilla.org/de/docs/Web/API/WindowEventHandlers/onbeforeunload
As I said, it must not be that we display a warning message, a ping to the Joomla backend "please release this content" would be enough. |
This comment was marked as abuse.
This comment was marked as abuse.
That link to mozilla.org shows that even if possible it is only supported by a small number of the browsers we use making it functionally useless. I am closing this at this time as expected behaviour. It could be re-opened if you find a solution that will work with all supported browser. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13120. |
@smehrbrodt could you use #4773 as your base and provide a |
That page is called WebAPI - not Firefox API. It's just hosted by mozilla. And the page states that it works in all major browsers, even in IE since version 4.
What benefit does one have by that "design" decision? The problem is, that there is no easy way to just "view" an article in the backend - to do that, you need to go to the edit view. And if you just cared about viewing, you usually do not care to save or close the article using the Joomla buttons - but might just close the window/tab. Maybe another possibility would be to take the lock only when starting to actually edit something? Or have the locks automatically been reset after a period of inactivity? Or something else? |
Check the links at the bottom and it shows all the browsers it does not
work on including mobile
…On 8 Dec 2016 10:13 a.m., "Samuel Mehrbrodt" ***@***.***> wrote:
That link to mozilla.org shows that even if possible it is only supported
by a small number of the browsers we use making it functionally useless.
That page is called WebAPI - not Firefox API. It's just hosted by mozilla.
And the page states that it works in all major browsers, even in IE since
version 4.
If you close the browser then it quite rightly remains checked out. This
is by design.
What benefit does one have by that "design" decision?
The problem is, that there is no easy way to just "view" an article in the
backend - to do that, you need to go to the edit view. And if you just
cared about viewing, you usually do not care to save or close the article
using the Joomla buttons - but might just close the window/tab.
Maybe another possibility would be to take the lock only when starting to
actually edit something? Or have the locks automatically been reset after a
period of inactivity? Or something else?
There must be some solution for this.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#13120 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPH8W18xVhnk7VewxdPGdkb0auuBz9cks5rF9hZgaJpZM4LG3qu>
.
|
When editing an article, it gets the status "Checked out". That prevents any other user to edit the same article at the same time.
The status will be reset when closing the article.
However, when closing the window/tab with the edit form, the checked out status is not being reset.
This can lead to many checked out articles, and users not knowing what causes this.
Maybe we can add some warning message, or release the lock before closing the window.
The text was updated successfully, but these errors were encountered: