We're testing JIRA 4.4.5 with JMLCS 2.5. We've found that if you edit an issue that has a JMLCS field on the Edit screen then only the first level is defaulted to the existing saved value and all other levels forget their saved values.
This means that data can be lost without the user realising when the edited issue is saved.
This doesn't happen if the screen is shown during a transition, only when clicking on the issue Edit link.
Any chance of a fix any time soon?
(It seems a bit weird to raise plugin bugs here but this is where the Plugin Exchange directs you.)
This is an issue with jquery execution order. Edit multilevelcascadingUtil.js (in ATLASSIANHOME/includes) and place the code below (based on clickFirstVisible) in place of the call to clickFirstVisible(slaveSelector) in the dynamicMultiLevelSelect function. This makes it execute the jquery calls in the correct order for the plugin to work as expected.
change from:
$(slaveSelector).show();
clickFirstVisible(slaveSelector);
To:
$("option:first", slaveSelector).each(
function() {
$(slaveSelector).attr("selectedIndex", this.index);
$(slaveSelector).trigger("change");
}
);
$(slaveSelector).show();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.