IDEMPIERE-656 ViewLog shows AppsServerOK=false in the the error tab of the about window.
This commit is contained in:
parent
ed5fcfd04a
commit
cc0d7302cb
|
@ -1108,9 +1108,17 @@ public class CConnection implements Serializable, Cloneable
|
|||
{
|
||||
StringBuilder sb = new StringBuilder (m_info[0] != null ? m_info[0] : "");
|
||||
sb.append (" - ").append (m_info[1] != null ? m_info[1] : "")
|
||||
.append ("\n").append (getDatabase ().toString ())
|
||||
.append ("\nAppsServerOK=").append (isAppsServerOK (false))
|
||||
.append (", DatabaseOK=").append (isDatabaseOK ());
|
||||
.append ("\n").append (getDatabase ().toString ());
|
||||
|
||||
if (Ini.isClient())
|
||||
{
|
||||
sb.append ("\nAppsServerOK=").append (isAppsServerOK (false))
|
||||
.append (", DatabaseOK=").append (isDatabaseOK ());
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.append ("\nDatabaseOK=").append (isDatabaseOK ());
|
||||
}
|
||||
return sb.toString ();
|
||||
} // getInfo
|
||||
|
||||
|
|
|
@ -559,8 +559,8 @@ public class CLogMgt
|
|||
sb.append(getMsg("ImplementationVendor")).append(eq).append(org.compiere.Adempiere.getImplementationVendor()).append(NL);
|
||||
sb.append(getMsg("ImplementationVersion")).append(eq).append(org.compiere.Adempiere.getImplementationVersion()).append(NL);
|
||||
//
|
||||
sb.append("AdempiereHome = ").append(Adempiere.getAdempiereHome()).append(NL);
|
||||
sb.append("AdempiereProperties = ").append(Ini.getPropertyFileName()).append(NL);
|
||||
sb.append("iDempiereHome = ").append(Adempiere.getAdempiereHome()).append(NL);
|
||||
sb.append("iDempiereProperties = ").append(Ini.getPropertyFileName()).append(NL);
|
||||
sb.append(Env.getLanguage(Env.getCtx())).append(NL);
|
||||
MClient client = MClient.get(Env.getCtx());
|
||||
sb.append(client).append(NL);
|
||||
|
@ -686,15 +686,20 @@ public class CLogMgt
|
|||
StringBuilder sb = new StringBuilder();
|
||||
CConnection cc = CConnection.get();
|
||||
// Host
|
||||
sb.append(cc.getAppsHost()).append(" (");
|
||||
sb.append(cc.getAppsHost());
|
||||
|
||||
if (Ini.isClient())
|
||||
{
|
||||
sb.append(" (");
|
||||
|
||||
// Server
|
||||
if (!cc.getAppsHost().equalsIgnoreCase("MyAppsServer") && cc.isAppsServerOK(false))
|
||||
sb.append(CConnection.get().getServerVersion());
|
||||
else
|
||||
sb.append(getMsg("NotActive"));
|
||||
//
|
||||
sb.append(")\n ");
|
||||
// Server
|
||||
if (!cc.getAppsHost().equalsIgnoreCase("MyAppsServer") && cc.isAppsServerOK(false))
|
||||
sb.append(CConnection.get().getServerVersion());
|
||||
else
|
||||
sb.append(getMsg("NotActive"));
|
||||
//
|
||||
sb.append(")\n ");
|
||||
}
|
||||
//
|
||||
return sb.toString();
|
||||
} // getServerInfo
|
||||
|
|
Loading…
Reference in New Issue