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
Tooltip for image field in article shows wrong path #6799
Comments
There is #5871 which corrects this problem but will not be available before 3.5, unless @phproberto decides otherwise. PS: the problem is fixed #5871 only for the bootstrap layout not for the classic mootools js. |
@dgt41 Thank you, I didn't know this PR. I just applied it and the bug here is not really fixed, but the tooltip for the path is removed completely in Isis instead. I'm not sure if this is desireable. Also, as you wrote, the bug still exists in Hathor. |
@Harmageddon I just tested it again here and it looks ok: Also in article (multiple media fields): But yes the mootols is still wrong |
@dgt41 I re-tested and commented on the PR. |
@Harmageddon I had a quick look at the code and I have to say that tips don’t respect the current field because the code behind them doesn’t care about the field id, so the tip in a multiple fields page will always show the first field... |
Note this is also true on ANY page that has two media fields as reported #7285 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6799. |
So, do we have code fix for this issue? I guess Yes as far as I read the above conversation. But we have that for Joomla 3.5 series. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6799. |
The issue is basically coming from this line: https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/form/field/media.php#L260 |
@gunjanpatel It’s half solved, meaning the code for media layouts that used jquery+bootstrap is working fine but the old one with mootools still buggy. @Bakual is right with the comment above. Now someone needs to code that as well... |
@gunjanpatel @Bakual @dgt41 Do you know if this issue will be fix for the version 3.5?? Thanks. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6799. |
@luisorozoli @Harmageddon @gunjanpatel can you test #8100 ? |
Thanks @dgt41 for fix. Tested and works fine. |
Closing as we have a now RTC PR here: #8100 Thanks. |
Steps to reproduce the issue
Expected result
The path for the fulltext image should be displayed when hovering over the respective field.
Actual result
Instead, the tooltip always shows the path for the intro image.
Additional comments
Reported by user Cartho on joomla-bugs.de (original post), confirmed by @zero-24 and me. The JavaScript for this behavior comes from /libraries/cms/form/field/media.php (JFormFieldMedia class), but I wasn't able to fix it yet.
The text was updated successfully, but these errors were encountered: