solve [ 1653664 ] Error when try upload Libero.zip
http://sourceforge.net/tracker/index.php?func=detail&aid=1653664&group_id=176962&atid=879332
This commit is contained in:
parent
febc4d164d
commit
8417e41564
|
@ -589,6 +589,10 @@ log.info("After Column Name ->"+colname); }
|
|||
+ " and Name = '"+tabname +"'"
|
||||
+ " and AD_Table_ID = ?");
|
||||
int tabid = DB.getSQLValue(null, sqlB.toString (), tableid);
|
||||
|
||||
if (tabid > 0 )
|
||||
{
|
||||
|
||||
sqlB = new StringBuffer ("select AD_Field_ID from AD_Field where AD_Column_ID = "+columnid
|
||||
+ " and AD_Tab_ID = ?");
|
||||
int id = DB.getSQLValue(null, sqlB.toString (), tabid);
|
||||
|
@ -628,6 +632,9 @@ log.info("After Column Name ->"+colname); }
|
|||
else{
|
||||
record_log (0, m_Field.getName(),"Field", m_Field.get_ID(),AD_Backup_ID, Object_Status,"AD_Field",get_IDWithColumn("AD_Table", "TableName", "AD_Field"));
|
||||
}
|
||||
}
|
||||
else
|
||||
log.severe("Tab do not exist to field Name: "+ name);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue