Advanced options broken by icu-project link
-
Hello,
Thank you for the great plugin.
With the update on 1.7.2 the Advanced chart options don’t work anymore. All options below “Series settings” are not usable because each element opens the site http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details. It seems, that a link isn’t closed correctly.
Can you fix that? Thank you.
Regards, Kristian
-
Hi Kristian,
We tried to investigate this issue but weren’t able to reproduce it. Can you give us a video cast of the issue if possible? Thank you. 🙂
Hello,
thank you for your reply. I have created a screenshot for you:
As you can see, the options “Color”, “Temeparture” or even the section “Layout & Chart Area” is not usable because all this elements are linked to the icu page.
We reverted our plugin installation to 1.7.1 and now everything is fine again.
Thank you for your support.
- This reply was modified 7 years, 4 months ago by Kristian.
Hi,
I don’t know if you resolve the problem yet, but I ran into the same bug and found out where the problem where.
In Render>Sidebar.php, in the function _renderFormatField :sprintf( esc_html__( 'Enter custom format pattern to apply to this series value, similar to the %1$sICU pattern set%1$s. Use something like #,### to get 1,234 as output, or $# to add dollar sign before digits. Pay attention that if you use % percentage format then your values will be multiplied by 100.', 'visualizer' ), '<a href="http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details" target="_blank">', '</a>' )
There’s
%1$sICU pattern set%1$s
which adds the opening tag both times and never closes it. Just change the last%1$s
by%2$s
and everything goes back to normal.Hope it’ll help!
@kmorpain, many thanks for sharing! Fixed the issue
Thank you @kmorpain for your fix.
Any news about that, when it get fixed in the release version?
You’re a hero, it works perfecly again! Thank you!
- The topic ‘Advanced options broken by icu-project link’ is closed to new replies.