Install current Staging (3.7.0).
See that all categories (com_content) are checked-in (not locked).
Module Manager > New > "Articles - Categories"
Enter Title
Field "Parent Category" > Click on button "Create" and create a new category > Save & close category
Save & close module.
Go to Category Manager (com_content): Newly created category is checked-out/locked
Labels |
Added:
?
|
The issue is only present when I use button "Save & Close". Not when I first "Save" and then "Close".
With "Save & Close" I see for a short moment a nearly empty modal (no form, just headline) that closes. Afterwards I see just for a short moment that a new modal appears (complete edit form for created category).
there are now 3 different Issues about locked Items created in Modal.
Any chance to get a "release-blocker" label then here or there? In a multi user Joomla there will be too many locked items that cannot be unlocked by some user groups.
While annoying, this does not constitute a release blocker IMO. If it were consistently reproducible every time someone used the feature, maybe. But as it seems to be limited to the use of one browser, its severity is downgraded massively.
@tonypartridge Test new Article in Modal at Menu Item Type "Single Article":
Read-more
-Button: TypeError: b is undefined. admin-article-readmore.min.js:1:160
Save
-Button: Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery-migrate.min.js:2:1714
Save & Close
-Button: TypeError: n.getComputedStyle(...) is null. tinymce.min.js
I confirm the issue for all modals displayed after using a Create and it is consistent. (Firefox)
@Fedik @dgt41
This looks related to the modals themselves. The fact that the modal is limited to the buttons once using Save and Close is a totally new behavior. That aspect is also the case for Safari, although Safari does not save the item as locked.
The modal approach has a few problems:
// For Save & Close (save task) when creating we need to replace the task as apply because of redirects after submit and hide the iframe.
if (task === 'save')
{
submittedTask = 'apply';
jQuery('#' + modalId + ' iframe').addClass('hidden');
}
document.getElementById('Frame_' + modalId).contentWindow.Joomla.submitbutton(itemType.toLowerCase() + '.' + submittedTask);
So to prevent the redirect you have this odd behaviour...
I think we HAVE to solve this in 3.7.0. It's really bad.
I agree with @infograf768 it's a UX pain and can come across as buggy from an end users perspective.
Closed as we have a PR
Title |
|
||||||
Status | New | ⇒ | Closed | ||||
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-12 16:01:44 | ||||
Closed_By | ⇒ | bertmert |
Confirmed. Similar #14192