details: https://code.openbravo.com/erp/devel/pi/rev/ac5a01fde1a7
changeset: 22119:ac5a01fde1a7
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Thu Feb 20 17:19:02 2014 +0100
summary: fixed bug 25773: error in xml REST ws when adding a row with a
computed column
diffstat:
src/org/openbravo/dal/xml/XMLEntityConverter.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r eab50f372e8f -r ac5a01fde1a7
src/org/openbravo/dal/xml/XMLEntityConverter.java
--- a/src/org/openbravo/dal/xml/XMLEntityConverter.java Thu Feb 20 15:33:08
2014 +0000
+++ b/src/org/openbravo/dal/xml/XMLEntityConverter.java Thu Feb 20 17:19:02
2014 +0100
@@ -11,7 +11,7 @@
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2008-2011 Openbravo SLU
+ * All portions are Copyright (C) 2008-2014 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************
@@ -221,7 +221,8 @@
// TODO: make this option controlled
final boolean isNotImportableProperty = p.isTransient(bob)
|| (p.isAuditInfo() && !isOptionImportAuditInfo()) ||
p.isInactive() || p.isProxy()
- || p.getEntity().isVirtualEntity();
+ || p.getEntity().isVirtualEntity() || p.isComputedColumn();
+
if (isNotImportableProperty) {
log.debug("Property " + p + " is inactive, transient or auditinfo,
" + "ignoring it");
continue;
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits