本文介绍了wso2-emm 应用管理版本bug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我遇到了错误 EMM-686 我已经看到了 Nira 的答案指向 jira 和 github,但我不知道如何在我的产品中应用修复程序(从网站下载的二进制文件),是否有相关文档?我不明白为什么网站上的二进制文件不包含最新版本的 wso2-emm,我可以在某个地方找到它吗?

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 ?

显然我已经尝试手动应用提到的 2 个文件中的更改,然后重新启动服务器但没有运气.

Obvisiously i already tried to apply manually the changes in the 2 files mentioned, and restart the server but no luck.

推荐答案

这就是您如何应用它们包含在附加到 EMM-686:

This is how you apply the update they included in the patch attached to EMM-686:

打开资源管理器窗口并导航到 [EMM_HOME]epositorydeploymentserverjaggeryappspublisherhemesmobileapp.我们需要修改此目录中不同文件夹中的两个文件.

Open an explorer window and nagivate to [EMM_HOME]epositorydeploymentserverjaggeryappspublisherhemesmobileapp. There are two files we will need to modify in different folders found in this directory.

jsmobileapp 中,在您选择的文本编辑器中打开 create.mobileapp.js.Notepad++ 是我的首选.

In jsmobileapp, open create.mobileapp.js in your text editor of choice. Notepad++ is my preference.

找到这行代码:$("#txtOSHidden").val($("#txtOS").val()); 现在,在它后面直接创建一个空行并粘贴这个:$("#version").val($("#txtVersion").val());

Find this line of code: $("#txtOSHidden").val($("#txtOS").val()); Now, create an empty line directly after it and paste this: $("#version").val($("#txtVersion").val());

现在返回 mobileapp 并导航到 partials 文件夹.在您的文本编辑器中,打开 add-mobileapp.hbs.

Now go back to mobileapp and navigate to the partials folder. In your text editor, open add-mobileapp.hbs.

找到下面这行代码并删除:<input type="hidden" name="version" value="1.0">

Find the following line of code and delete it: <input type="hidden" name="version" value="1.0">

在其位置添加以下行:<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-emm 应用管理版本bug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 01:26