i encounter the bug EMM-686 and i've seen the answer by Nira pointing to the jira and the github, but i don' find how i can apply the fix on my production (downloaded binaries from the website), is there a documentation for that ? I don't understand why the binaries on the website don't include an up to date version of wso2-emm is there somewhere where i can found that ?
Obvisiously i already tried to apply manually the changes in the 2 files mentioned, and restart the server but no luck.
This is how you apply the update they included in the patch attached to EMM-686:
Open an explorer window and nagivate to [EMM_HOME]\repository\deployment\server\jaggeryapps\publisher\themes\mobileapp. There are two files we will need to modify in different folders found in this directory.
In \js\mobileapp, open create.mobileapp.js in your text editor of choice. Notepad++ is my preference.
Find this line of code: $("#txtOSHidden").val($("#txtOS").val());
Now, create an empty line directly after it and paste this: $("#version").val($("#txtVersion").val());
Now go back to \mobileapp and navigate to the \partials folder. In your text editor, open add-mobileapp.hbs.
Find the following line of code and delete it: <input type="hidden" name="version" value="1.0">
In its place, add this line: <input type="hidden" id="version" name="version" value="1.0">
You should now be able to upload new versions of your apps without issue.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments