wso2-emm app management version bug

∥☆過路亽.° 提交于 2019-11-28 14:09:19

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.

WSO2 provides official patches only for paid customers through WSO2 support portal, You either have to wait for the next release (in your case, it's 1.2.0) or have to manually apply the patch yourself.

The patch diff attached may be taken from the development branch in the middle of the development for 1.2.0, so, you might not be able apply it directly to EMM 1.1.0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!