B09
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] MLA Modal Window Terms assigned to PostThanks for taking the time to look into this and solving the issue. The Development Version
Media Library Assistant v2.84 (20200916)
did fix the issue both on the isolated WordPress test installation and the installation on which the issue first occured.Forum: Plugins
In reply to: [Media Library Assistant] MLA Modal Window Terms assigned to PostHello David,
thanks again for your quick reply and looking into this issue. And also big thanks for making this plugin freely available and supporting it!The Video uses this versions:
Wordpress 5.5.0
Classic Editor 1.6
Media Library Assistant 2.84I could reproduce this on macOS with Chrome 85.0.4183.102 and FF 80.0.1
Second, I noticed something unusual in the video. At 25 seconds into the video you click “Add Media…” a second time, select the image and click the “click to toggle” link. You click the “MLA Category” twice (leaving it selected) and then click “Insert into post”.
Yes, i could not reproduce the problem every time without doing it this way. First time clicking the Add Media button the MLA Modal window will be injected to the DOM the second time only the
display: none css
style is toggled.At 30 seconds in the display returns to the “Edit Post” screen, and the MLA Category box is already checked! This happens before you click “Update” for the post itself.
Yes.
My question is – if you abandon the Edit Post screen without saving/updating the post, is the MLA Category term still assigned to the post? If it is, that suggests a server-side issue. If not, it’s possible that a front-end JavaScript issue is checking the wrong box in the UI. Does that make sense?
No, if the Post Edit screen is abandoned the category is not checked when revisted. So this should be a frontend issue.
Any other details you can provide will help guide me.
Looking at the MLA Category Checkbox HTML Elements i did notice that both, the WordPress Category List Modal and the MLA Category List use the same ID for the corresponding <input> element. In my case this is
#in-category-4
for the “MLA Category” category.Best Ove
Forum: Plugins
In reply to: [Media Library Assistant] MLA Modal Window Terms assigned to PostHello David,
just wanted to follow up on this. I’ve created a video to better illustrate the problem.This is a serious bug that causes data corruption when an attachment category is also assigned to a post. In our case this over 1500 Posts which we are currently checking for wrong category assigments.
Forum: Plugins
In reply to: [Media Library Assistant] MLA Modal Window Terms assigned to PostHello David,
thanks for your quick reply and having a look at the issue reported.I followed the steps you suggested on my own system. For your third step you wrote “Create a new Category from the Categories Meta Box“. I interpreted this to mean clicking on the “+ Add New Category” link in the Categories metabox in the “Edit Post” screen; is that right?
This step was just included to have more categories than the default ?Uncategorized? category.
While creating a screen recording to better illustrate the issue, we noticed it’s not that straight forward to reproduce and we are currently struggling to reproduce it 100% after trying different approaches for one hour. It’s still happening though.
In short: assigning an already created term from inside the MLA Modal Window to a media asset will sometimes also assign this term to the Post from which the MLA Modal Window has been opened.
Assigning term to media asset from MLA Modal Window
Term is also assigned to WordPress Post on which the MLA Modal was opened.Please note and this it where it gets a bit weird: when the issue was not reproduced on first image upload, we did upload another one and assigned the term. Sometimes saving the post and uploading/ assigning term from inside the MLA Window would cause the issue.
Forum: Plugins
In reply to: [B09 Link to Existing Content] B09 Link to existing contentHi,
yes, the plugin should work with every possible post type.