Author: hansbak
Date: Thu Apr 1 09:51:41 2010 New Revision: 929897 URL: http://svn.apache.org/viewvc?rev=929897&view=rev Log: renamed 'message' field name because reserved word in ebaystore Modified: ofbiz/trunk/specialpurpose/ebaystore/entitydef/entitymodel.xml ofbiz/trunk/specialpurpose/ebaystore/servicedef/services.xml ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml Modified: ofbiz/trunk/specialpurpose/ebaystore/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/entitydef/entitymodel.xml?rev=929897&r1=929896&r2=929897&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/specialpurpose/ebaystore/entitydef/entitymodel.xml Thu Apr 1 09:51:41 2010 @@ -115,9 +115,9 @@ under the License. <entity entity-name="EBayLogMessagesInfo" package-name="org.ofbiz.ebay.store" title="eBay Log Messages Info"> <field name="productStoreId" type="id-ne"/> - <field name="ack" type="name"/> + <field name="logAck" type="name"/> <field name="functionName" type="name"/> - <field name="message" type="very-long"/> + <field name="logMessage" type="very-long"/> <field name="createDatetime" type="date-time"/> <prim-key field="productStoreId"/> <prim-key field="createDatetime"/> Modified: ofbiz/trunk/specialpurpose/ebaystore/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/servicedef/services.xml?rev=929897&r1=929896&r2=929897&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/servicedef/services.xml (original) +++ ofbiz/trunk/specialpurpose/ebaystore/servicedef/services.xml Thu Apr 1 09:51:41 2010 @@ -444,8 +444,8 @@ under the License. <service name="insertErrorMessagesFromEbay" engine="entity-auto" default-entity-name="EBayLogMessagesInfo" invoke="create" auth="true"> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> - <attribute name="ack" mode="IN" type="String" optional="false"/> + <attribute name="logAck" mode="IN" type="String" optional="false"/> <attribute name="functionName" mode="IN" type="String" optional="false"/> - <attribute name="message" mode="IN" type="String" optional="false"/> + <attribute name="logMessage" mode="IN" type="String" optional="false"/> </service> </services> \ No newline at end of file Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java?rev=929897&r1=929896&r2=929897&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java (original) +++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java Thu Apr 1 09:51:41 2010 @@ -710,9 +710,9 @@ public class EbayStoreHelper { try { Map<String, Object> newMap = FastMap.newInstance(); newMap.put("productStoreId", productStoreId); - newMap.put("ack", ack.toLowerCase()); + newMap.put("logAck", ack.toLowerCase()); newMap.put("functionName", fuction); - newMap.put("message", errorMessage); + newMap.put("logMessage", errorMessage); newMap.put("createDatetime", UtilDateTime.nowTimestamp()); dispatcher.runSync("insertErrorMessagesFromEbay", newMap); } catch (Exception ex) { Modified: ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml?rev=929897&r1=929896&r2=929897&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml (original) +++ ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml Thu Apr 1 09:51:41 2010 @@ -123,8 +123,8 @@ value="${bsh:billingAccount != null ? or <form name="errorMessageList" type="list" target="" list-name="errorMsgList" view-size="30" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="createDatetime"><display/></field> - <field name="ack"><display/></field> + <field name="logAck"><display/></field> <field name="functionName"><display/></field> - <field name="message"><display/></field> + <field name="logMessage"><display/></field> </form> </forms> \ No newline at end of file |
Free forum by Nabble | Edit this page |