1

I'm looking for security patches for iDempiere v1.0a I found this site Category:New_Features_Security that contains the list of security patches.

My problem is, I tried to apply NF2.1_Configurable_Info_Login but MSysConfig.java is always a Failed hunk. I'm starting to think that it is not really meant for 1.0 version but for 2.1. I checked the source code for iDempiere 2.1 and I found these constants in MSysConfig.java :

APPLICATION_MAIN_VERSION_SHOWN APPLICATION_DATABASE_VERSION_SHOWN APPLICATION_IMPLEMENTATION_VENDOR_SHOWN APPLICATION_JVM_VERSION_SHOWN APPLICATION_OS_INFO_SHOWN APPLICATION_HOST_SHOWN

My questions are...

  1. Is there a way to apply NF2.1_Configurable_Info_Login to iDempiere 1.0a?
  2. Is NF2.1_Configurable_Info_Login for a higher iDempiere version?
  3. Does the number in between NF and the description of the patch in NF2.1_Configurable_Info_Login indicates the version it is supposed to be implemented?
4

1 回答 1

1
  1. 有没有办法将 NF2.1_Configurable_Info_Login 应用到 iDempiere 1.0a?

根据您的问题,您在仅集成 MSysConfig.java 时遇到问题,因此手动集成该文件上的更改似乎并不难。

正如您可以在github中查看的那样,只需在 MSysConfig.java 中添加 9 行新行 - 此外,serialVersionUID 已重新生成,因此您也可以整合该更改或生成您的赢家。

但是,由于您正在挑选将补丁集成到一个类中,请考虑到将来您很可能需要手动应用更改,直到您同步到一个正式版本。

在 1.0a 和那次提交之间,MSysConfig 类发生了很多变化。

  1. NF2.1_Configurable_Info_Login 是否适用于更高的 iDempiere 版本?
  2. NF2.1_Configurable_Info_Login中的补丁描述和NF之间的数字是否表示它应该实现的版本?

是的,该 wiki 页面的 2.1 部分意味着该补丁是在2.1 版本的维护期间集成的。

问候,

卡洛斯·鲁伊斯
http://wiki.idempiere.org/wiki/User:CarlosRuiz

于 2017-01-21T11:18:10.890 回答