You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/02/03 23:42:47 UTC
svn commit: r740494 - in /ofbiz/trunk:
applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Author: jleroux
Date: Tue Feb 3 22:42:46 2009
New Revision: 740494
URL: http://svn.apache.org/viewvc?rev=740494&view=rev
Log:
Some more or less randow deprecated tags fixes
Modified:
ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Tue Feb 3 22:42:46 2009
@@ -342,7 +342,7 @@
<set from-field="parameters.workEffortId" field="newValue.workEffortId"/>
<set-nonpk-fields map="parameters" value-field="newValue"/>
<field-to-result field="contactMechId" result-name="newValue"/>
- <field-to-request field="contactMechId" request-name="newValue"/>
+ <field-to-request field="newValue.contactMechId"/>
<create-value value-field="newValue"/>
</simple-method>
@@ -380,7 +380,7 @@
</if-compare-field>
<field-to-result field="contactMechId" result-name="newWorkEffortContactMech"/>
- <field-to-request field="contactMechId" request-name="newWorkEffortContactMech"/>
+ <field-to-request field="newWorkEffortContactMech.contactMechId"/>
</simple-method>
<simple-method method-name="deleteWorkEffortContactMech" short-description="Delete a WorkEffortContactMech">
@@ -421,7 +421,7 @@
<call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
<default-message>WorkEffort Contact Mechanism successfully created</default-message>
</call-service>
- <field-to-request field="contactMechId" request-name="newValue"/>
+ <field-to-request field="newValue.contactMechId"/>
<field-to-result field="contactMechId" result-name="newValue"/>
</simple-method>
@@ -441,7 +441,7 @@
<call-service in-map-name="context2" service-name="updateWorkEffortContactMech">
<default-message>WorkEffort Contact Mechanism successfully updated</default-message>
</call-service>
- <field-to-request field="contactMechId" request-name="newValue"/>
+ <field-to-request field="newValue.contactMechId"/>
<field-to-result field="contactMechId" result-name="newValue"/>
</simple-method>
@@ -472,7 +472,7 @@
<call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
<default-message>WorkEffort Contact Mechanism successfully created</default-message>
</call-service>
- <field-to-request field="contactMechId" request-name="newValue"/>
+ <field-to-request field="newValue.contactMechId"/>
<field-to-result field="contactMechId" result-name="newValue"/>
</simple-method>
@@ -494,7 +494,7 @@
<default-message>Party Contact Mechanism successfully updated</default-message>
</call-service>
<log level="info" message="Setting result id: ${newValue.contactMechId}"/>
- <field-to-request field="contactMechId" request-name="newValue"/>
+ <field-to-request field="newValue.contactMechId"/>
<field-to-result field="contactMechId" result-name="newValue"/>
</simple-method>
Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
@@ -178,6 +178,6 @@
<!-- set the partyId in the request -->
<field-to-request field="workEffortId" request-name="workEffortId"/>
<field-to-request field="projectId" request-name="projectId"/>
- <field-to-request field="contentId" request-name="context"/>
+ <field-to-request field="context.contentId"/>
</simple-method>
</simple-methods>
Re: svn commit: r740494 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Posted by Jacques Le Roux <ja...@les7arts.com>.
Looking at both of them...
Jacques
From: "David E Jones" <de...@me.com>
>
> Jacques,
>
> Please see my other message right away! I think each of these is breaking things...
>
> -David
>
>
> On Feb 3, 2009, at 3:42 PM, jleroux@apache.org wrote:
>
>> Author: jleroux
>> Date: Tue Feb 3 22:42:46 2009
>> New Revision: 740494
>>
>> URL: http://svn.apache.org/viewvc?rev=740494&view=rev
>> Log:
>> Some more or less randow deprecated tags fixes
>>
>> Modified:
>> ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml
>> ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml
>>
>> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/workeffort/WorkEffortSimpleServices.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
>> = = = = = = = = ======================================================================
>> --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml (original)
>> +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml Tue Feb 3 22:42:46
>> 2009
>> @@ -342,7 +342,7 @@
>> <set from-field="parameters.workEffortId" field="newValue.workEffortId"/>
>> <set-nonpk-fields map="parameters" value-field="newValue"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <create-value value-field="newValue"/>
>> </simple-method>
>>
>> @@ -380,7 +380,7 @@
>> </if-compare-field>
>>
>> <field-to-result field="contactMechId" result- name="newWorkEffortContactMech"/>
>> - <field-to-request field="contactMechId" request- name="newWorkEffortContactMech"/>
>> + <field-to-request field="newWorkEffortContactMech.contactMechId"/>
>> </simple-method>
>>
>> <simple-method method-name="deleteWorkEffortContactMech" short- description="Delete a WorkEffortContactMech">
>> @@ -421,7 +421,7 @@
>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>> </call-service>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>> @@ -441,7 +441,7 @@
>> <call-service in-map-name="context2" service- name="updateWorkEffortContactMech">
>> <default-message>WorkEffort Contact Mechanism successfully updated</default-message>
>> </call-service>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>> @@ -472,7 +472,7 @@
>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>> </call-service>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>> @@ -494,7 +494,7 @@
>> <default-message>Party Contact Mechanism successfully updated</default-message>
>> </call-service>
>> <log level="info" message="Setting result id: $ {newValue.contactMechId}"/>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>>
>> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ProjectSimpleEvents.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
>> = = = = = = = = ======================================================================
>> --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml (original)
>> +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
>> @@ -178,6 +178,6 @@
>> <!-- set the partyId in the request -->
>> <field-to-request field="workEffortId" request- name="workEffortId"/>
>> <field-to-request field="projectId" request-name="projectId"/>
>> - <field-to-request field="contentId" request-name="context"/>
>> + <field-to-request field="context.contentId"/>
>> </simple-method>
>> </simple-methods>
>>
>>
>
Re: svn commit: r740494 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Posted by Jacques Le Roux <ja...@les7arts.com>.
It's worse than that I will look at it tomorrow...
I took care to put in commits's comments the RegEx I used.
So it should not be too hard to revert to <<field-name="(.*)" map-name="(.*)>>...
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> Reverted in 740505 for now
>
> Thanks to care (a bit tired...bed...)
>
> Jacques
>
> From: "David E Jones" <de...@me.com>
>>
>> Jacques,
>>
>> Please see my other message right away! I think each of these is breaking things...
>>
>> -David
>>
>>
>> On Feb 3, 2009, at 3:42 PM, jleroux@apache.org wrote:
>>
>>> Author: jleroux
>>> Date: Tue Feb 3 22:42:46 2009
>>> New Revision: 740494
>>>
>>> URL: http://svn.apache.org/viewvc?rev=740494&view=rev
>>> Log:
>>> Some more or less randow deprecated tags fixes
>>>
>>> Modified:
>>> ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml
>>> ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml
>>>
>>> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/workeffort/WorkEffortSimpleServices.xml
>>> URL:
>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
>>> = = = = = = = = ======================================================================
>>> --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml (original)
>>> +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml Tue Feb 3 22:42:46
>>> 2009
>>> @@ -342,7 +342,7 @@
>>> <set from-field="parameters.workEffortId" field="newValue.workEffortId"/>
>>> <set-nonpk-fields map="parameters" value-field="newValue"/>
>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <create-value value-field="newValue"/>
>>> </simple-method>
>>>
>>> @@ -380,7 +380,7 @@
>>> </if-compare-field>
>>>
>>> <field-to-result field="contactMechId" result- name="newWorkEffortContactMech"/>
>>> - <field-to-request field="contactMechId" request- name="newWorkEffortContactMech"/>
>>> + <field-to-request field="newWorkEffortContactMech.contactMechId"/>
>>> </simple-method>
>>>
>>> <simple-method method-name="deleteWorkEffortContactMech" short- description="Delete a WorkEffortContactMech">
>>> @@ -421,7 +421,7 @@
>>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>>> </call-service>
>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>> </simple-method>
>>>
>>> @@ -441,7 +441,7 @@
>>> <call-service in-map-name="context2" service- name="updateWorkEffortContactMech">
>>> <default-message>WorkEffort Contact Mechanism successfully updated</default-message>
>>> </call-service>
>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>> </simple-method>
>>>
>>> @@ -472,7 +472,7 @@
>>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>>> </call-service>
>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>> </simple-method>
>>>
>>> @@ -494,7 +494,7 @@
>>> <default-message>Party Contact Mechanism successfully updated</default-message>
>>> </call-service>
>>> <log level="info" message="Setting result id: $ {newValue.contactMechId}"/>
>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>> </simple-method>
>>>
>>>
>>> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ProjectSimpleEvents.xml
>>> URL:
>>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
>>> = = = = = = = = ======================================================================
>>> --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml (original)
>>> +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
>>> @@ -178,6 +178,6 @@
>>> <!-- set the partyId in the request -->
>>> <field-to-request field="workEffortId" request- name="workEffortId"/>
>>> <field-to-request field="projectId" request-name="projectId"/>
>>> - <field-to-request field="contentId" request-name="context"/>
>>> + <field-to-request field="context.contentId"/>
>>> </simple-method>
>>> </simple-methods>
>>>
>>>
>>
>
Re: svn commit: r740494 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Posted by Jacques Le Roux <ja...@les7arts.com>.
Yep, working on it...
Shouls be ok soon roots are not to deep...
From: "David E Jones" <da...@hotwaxmedia.com>
>
> Did those two commits revert all of these changes? I think there were around half a dozen that made this sort of change (ie that
> is not functionally equivalent).
>
> -David
>
>
> On Feb 3, 2009, at 4:16 PM, Jacques Le Roux wrote:
>
>> Reverted in 740505 for now
>>
>> Thanks to care (a bit tired...bed...)
>>
>> Jacques
>>
>> From: "David E Jones" <de...@me.com>
>>>
>>> Jacques,
>>>
>>> Please see my other message right away! I think each of these is breaking things...
>>>
>>> -David
>>>
>>>
>>> On Feb 3, 2009, at 3:42 PM, jleroux@apache.org wrote:
>>>
>>>> Author: jleroux
>>>> Date: Tue Feb 3 22:42:46 2009
>>>> New Revision: 740494
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=740494&view=rev
>>>> Log:
>>>> Some more or less randow deprecated tags fixes
>>>>
>>>> Modified:
>>>> ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml
>>>> ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml
>>>>
>>>> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/workeffort/WorkEffortSimpleServices.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
>>>> = = = = = = = = = = ====================================================================
>>>> --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/ workeffort/WorkEffortSimpleServices.xml (original)
>>>> +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/ workeffort/WorkEffortSimpleServices.xml Tue Feb 3
>>>> 22:42:46 2009
>>>> @@ -342,7 +342,7 @@
>>>> <set from-field="parameters.workEffortId" field="newValue.workEffortId"/>
>>>> <set-nonpk-fields map="parameters" value-field="newValue"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <create-value value-field="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -380,7 +380,7 @@
>>>> </if-compare-field>
>>>>
>>>> <field-to-result field="contactMechId" result- name="newWorkEffortContactMech"/>
>>>> - <field-to-request field="contactMechId" request- name="newWorkEffortContactMech"/>
>>>> + <field-to-request field="newWorkEffortContactMech.contactMechId"/>
>>>> </simple-method>
>>>>
>>>> <simple-method method-name="deleteWorkEffortContactMech" short- description="Delete a WorkEffortContactMech">
>>>> @@ -421,7 +421,7 @@
>>>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>>>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>>>> </call-service>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -441,7 +441,7 @@
>>>> <call-service in-map-name="context2" service- name="updateWorkEffortContactMech">
>>>> <default-message>WorkEffort Contact Mechanism successfully updated</default-message>
>>>> </call-service>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -472,7 +472,7 @@
>>>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>>>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>>>> </call-service>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -494,7 +494,7 @@
>>>> <default-message>Party Contact Mechanism successfully updated</default-message>
>>>> </call-service>
>>>> <log level="info" message="Setting result id: $ {newValue.contactMechId}"/>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>>
>>>> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ProjectSimpleEvents.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
>>>> = = = = = = = = = = ====================================================================
>>>> --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ ProjectSimpleEvents.xml (original)
>>>> +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
>>>> @@ -178,6 +178,6 @@
>>>> <!-- set the partyId in the request -->
>>>> <field-to-request field="workEffortId" request- name="workEffortId"/>
>>>> <field-to-request field="projectId" request- name="projectId"/>
>>>> - <field-to-request field="contentId" request- name="context"/>
>>>> + <field-to-request field="context.contentId"/>
>>>> </simple-method>
>>>> </simple-methods>
>>>>
>>>>
>>
>
Re: svn commit: r740494 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Posted by Jacques Le Roux <ja...@les7arts.com>.
David,
It should be ok now. I will double-check tomorrow morning...
Cheers
Jacques
From: "David E Jones" <da...@hotwaxmedia.com>
>
> Did those two commits revert all of these changes? I think there were around half a dozen that made this sort of change (ie that
> is not functionally equivalent).
>
> -David
>
>
> On Feb 3, 2009, at 4:16 PM, Jacques Le Roux wrote:
>
>> Reverted in 740505 for now
>>
>> Thanks to care (a bit tired...bed...)
>>
>> Jacques
>>
>> From: "David E Jones" <de...@me.com>
>>>
>>> Jacques,
>>>
>>> Please see my other message right away! I think each of these is breaking things...
>>>
>>> -David
>>>
>>>
>>> On Feb 3, 2009, at 3:42 PM, jleroux@apache.org wrote:
>>>
>>>> Author: jleroux
>>>> Date: Tue Feb 3 22:42:46 2009
>>>> New Revision: 740494
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=740494&view=rev
>>>> Log:
>>>> Some more or less randow deprecated tags fixes
>>>>
>>>> Modified:
>>>> ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml
>>>> ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml
>>>>
>>>> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/workeffort/WorkEffortSimpleServices.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
>>>> = = = = = = = = = = ====================================================================
>>>> --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/ workeffort/WorkEffortSimpleServices.xml (original)
>>>> +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/ workeffort/WorkEffortSimpleServices.xml Tue Feb 3
>>>> 22:42:46 2009
>>>> @@ -342,7 +342,7 @@
>>>> <set from-field="parameters.workEffortId" field="newValue.workEffortId"/>
>>>> <set-nonpk-fields map="parameters" value-field="newValue"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <create-value value-field="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -380,7 +380,7 @@
>>>> </if-compare-field>
>>>>
>>>> <field-to-result field="contactMechId" result- name="newWorkEffortContactMech"/>
>>>> - <field-to-request field="contactMechId" request- name="newWorkEffortContactMech"/>
>>>> + <field-to-request field="newWorkEffortContactMech.contactMechId"/>
>>>> </simple-method>
>>>>
>>>> <simple-method method-name="deleteWorkEffortContactMech" short- description="Delete a WorkEffortContactMech">
>>>> @@ -421,7 +421,7 @@
>>>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>>>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>>>> </call-service>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -441,7 +441,7 @@
>>>> <call-service in-map-name="context2" service- name="updateWorkEffortContactMech">
>>>> <default-message>WorkEffort Contact Mechanism successfully updated</default-message>
>>>> </call-service>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -472,7 +472,7 @@
>>>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>>>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>>>> </call-service>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>> @@ -494,7 +494,7 @@
>>>> <default-message>Party Contact Mechanism successfully updated</default-message>
>>>> </call-service>
>>>> <log level="info" message="Setting result id: $ {newValue.contactMechId}"/>
>>>> - <field-to-request field="contactMechId" request- name="newValue"/>
>>>> + <field-to-request field="newValue.contactMechId"/>
>>>> <field-to-result field="contactMechId" result- name="newValue"/>
>>>> </simple-method>
>>>>
>>>>
>>>> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ProjectSimpleEvents.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
>>>> = = = = = = = = = = ====================================================================
>>>> --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ ProjectSimpleEvents.xml (original)
>>>> +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
>>>> @@ -178,6 +178,6 @@
>>>> <!-- set the partyId in the request -->
>>>> <field-to-request field="workEffortId" request- name="workEffortId"/>
>>>> <field-to-request field="projectId" request- name="projectId"/>
>>>> - <field-to-request field="contentId" request- name="context"/>
>>>> + <field-to-request field="context.contentId"/>
>>>> </simple-method>
>>>> </simple-methods>
>>>>
>>>>
>>
>
Re: svn commit: r740494 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Posted by David E Jones <da...@hotwaxmedia.com>.
Did those two commits revert all of these changes? I think there were
around half a dozen that made this sort of change (ie that is not
functionally equivalent).
-David
On Feb 3, 2009, at 4:16 PM, Jacques Le Roux wrote:
> Reverted in 740505 for now
>
> Thanks to care (a bit tired...bed...)
>
> Jacques
>
> From: "David E Jones" <de...@me.com>
>>
>> Jacques,
>>
>> Please see my other message right away! I think each of these is
>> breaking things...
>>
>> -David
>>
>>
>> On Feb 3, 2009, at 3:42 PM, jleroux@apache.org wrote:
>>
>>> Author: jleroux
>>> Date: Tue Feb 3 22:42:46 2009
>>> New Revision: 740494
>>>
>>> URL: http://svn.apache.org/viewvc?rev=740494&view=rev
>>> Log:
>>> Some more or less randow deprecated tags fixes
>>>
>>> Modified:
>>> ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/
>>> workeffort/WorkEffortSimpleServices.xml
>>> ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/
>>> ProjectSimpleEvents.xml
>>>
>>> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/
>>> workeffort/workeffort/WorkEffortSimpleServices.xml
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
>>> = = = = = = = =
>>> =
>>> =
>>> ====================================================================
>>> --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/
>>> workeffort/ workeffort/WorkEffortSimpleServices.xml (original)
>>> +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/
>>> workeffort/ workeffort/WorkEffortSimpleServices.xml Tue Feb 3
>>> 22:42:46 2009
>>> @@ -342,7 +342,7 @@
>>> <set from-field="parameters.workEffortId"
>>> field="newValue.workEffortId"/>
>>> <set-nonpk-fields map="parameters" value-field="newValue"/>
>>> <field-to-result field="contactMechId" result-
>>> name="newValue"/>
>>> - <field-to-request field="contactMechId" request-
>>> name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <create-value value-field="newValue"/>
>>> </simple-method>
>>>
>>> @@ -380,7 +380,7 @@
>>> </if-compare-field>
>>>
>>> <field-to-result field="contactMechId" result-
>>> name="newWorkEffortContactMech"/>
>>> - <field-to-request field="contactMechId" request-
>>> name="newWorkEffortContactMech"/>
>>> + <field-to-request
>>> field="newWorkEffortContactMech.contactMechId"/>
>>> </simple-method>
>>>
>>> <simple-method method-name="deleteWorkEffortContactMech" short-
>>> description="Delete a WorkEffortContactMech">
>>> @@ -421,7 +421,7 @@
>>> <call-service in-map-name="context2" break-on-error="true"
>>> service-name="createWorkEffortContactMech">
>>> <default-message>WorkEffort Contact Mechanism
>>> successfully created</default-message>
>>> </call-service>
>>> - <field-to-request field="contactMechId" request-
>>> name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result-
>>> name="newValue"/>
>>> </simple-method>
>>>
>>> @@ -441,7 +441,7 @@
>>> <call-service in-map-name="context2" service-
>>> name="updateWorkEffortContactMech">
>>> <default-message>WorkEffort Contact Mechanism
>>> successfully updated</default-message>
>>> </call-service>
>>> - <field-to-request field="contactMechId" request-
>>> name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result-
>>> name="newValue"/>
>>> </simple-method>
>>>
>>> @@ -472,7 +472,7 @@
>>> <call-service in-map-name="context2" break-on-error="true"
>>> service-name="createWorkEffortContactMech">
>>> <default-message>WorkEffort Contact Mechanism
>>> successfully created</default-message>
>>> </call-service>
>>> - <field-to-request field="contactMechId" request-
>>> name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result-
>>> name="newValue"/>
>>> </simple-method>
>>>
>>> @@ -494,7 +494,7 @@
>>> <default-message>Party Contact Mechanism successfully
>>> updated</default-message>
>>> </call-service>
>>> <log level="info" message="Setting result id: $
>>> {newValue.contactMechId}"/>
>>> - <field-to-request field="contactMechId" request-
>>> name="newValue"/>
>>> + <field-to-request field="newValue.contactMechId"/>
>>> <field-to-result field="contactMechId" result-
>>> name="newValue"/>
>>> </simple-method>
>>>
>>>
>>> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/
>>> project/ProjectSimpleEvents.xml
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
>>> = = = = = = = =
>>> =
>>> =
>>> ====================================================================
>>> --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/
>>> project/ ProjectSimpleEvents.xml (original)
>>> +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/
>>> project/ ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
>>> @@ -178,6 +178,6 @@
>>> <!-- set the partyId in the request -->
>>> <field-to-request field="workEffortId" request-
>>> name="workEffortId"/>
>>> <field-to-request field="projectId" request-
>>> name="projectId"/>
>>> - <field-to-request field="contentId" request-
>>> name="context"/>
>>> + <field-to-request field="context.contentId"/>
>>> </simple-method>
>>> </simple-methods>
>>>
>>>
>
Re: svn commit: r740494 - in /ofbiz/trunk: applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Posted by Jacques Le Roux <ja...@les7arts.com>.
Reverted in 740505 for now
Thanks to care (a bit tired...bed...)
Jacques
From: "David E Jones" <de...@me.com>
>
> Jacques,
>
> Please see my other message right away! I think each of these is breaking things...
>
> -David
>
>
> On Feb 3, 2009, at 3:42 PM, jleroux@apache.org wrote:
>
>> Author: jleroux
>> Date: Tue Feb 3 22:42:46 2009
>> New Revision: 740494
>>
>> URL: http://svn.apache.org/viewvc?rev=740494&view=rev
>> Log:
>> Some more or less randow deprecated tags fixes
>>
>> Modified:
>> ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml
>> ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml
>>
>> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/ workeffort/workeffort/WorkEffortSimpleServices.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
>> = = = = = = = = ======================================================================
>> --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml (original)
>> +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/ workeffort/WorkEffortSimpleServices.xml Tue Feb 3 22:42:46
>> 2009
>> @@ -342,7 +342,7 @@
>> <set from-field="parameters.workEffortId" field="newValue.workEffortId"/>
>> <set-nonpk-fields map="parameters" value-field="newValue"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <create-value value-field="newValue"/>
>> </simple-method>
>>
>> @@ -380,7 +380,7 @@
>> </if-compare-field>
>>
>> <field-to-result field="contactMechId" result- name="newWorkEffortContactMech"/>
>> - <field-to-request field="contactMechId" request- name="newWorkEffortContactMech"/>
>> + <field-to-request field="newWorkEffortContactMech.contactMechId"/>
>> </simple-method>
>>
>> <simple-method method-name="deleteWorkEffortContactMech" short- description="Delete a WorkEffortContactMech">
>> @@ -421,7 +421,7 @@
>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>> </call-service>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>> @@ -441,7 +441,7 @@
>> <call-service in-map-name="context2" service- name="updateWorkEffortContactMech">
>> <default-message>WorkEffort Contact Mechanism successfully updated</default-message>
>> </call-service>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>> @@ -472,7 +472,7 @@
>> <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
>> <default-message>WorkEffort Contact Mechanism successfully created</default-message>
>> </call-service>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>> @@ -494,7 +494,7 @@
>> <default-message>Party Contact Mechanism successfully updated</default-message>
>> </call-service>
>> <log level="info" message="Setting result id: $ {newValue.contactMechId}"/>
>> - <field-to-request field="contactMechId" request- name="newValue"/>
>> + <field-to-request field="newValue.contactMechId"/>
>> <field-to-result field="contactMechId" result- name="newValue"/>
>> </simple-method>
>>
>>
>> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/ project/ProjectSimpleEvents.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
>> = = = = = = = = ======================================================================
>> --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml (original)
>> +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
>> @@ -178,6 +178,6 @@
>> <!-- set the partyId in the request -->
>> <field-to-request field="workEffortId" request- name="workEffortId"/>
>> <field-to-request field="projectId" request-name="projectId"/>
>> - <field-to-request field="contentId" request-name="context"/>
>> + <field-to-request field="context.contentId"/>
>> </simple-method>
>> </simple-methods>
>>
>>
>
Re: svn commit: r740494 - in /ofbiz/trunk:
applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml
Posted by David E Jones <de...@me.com>.
Jacques,
Please see my other message right away! I think each of these is
breaking things...
-David
On Feb 3, 2009, at 3:42 PM, jleroux@apache.org wrote:
> Author: jleroux
> Date: Tue Feb 3 22:42:46 2009
> New Revision: 740494
>
> URL: http://svn.apache.org/viewvc?rev=740494&view=rev
> Log:
> Some more or less randow deprecated tags fixes
>
> Modified:
> ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/
> workeffort/WorkEffortSimpleServices.xml
> ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/
> ProjectSimpleEvents.xml
>
> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/
> workeffort/workeffort/WorkEffortSimpleServices.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=740494&r1=740493&r2=740494&view=diff
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/
> workeffort/WorkEffortSimpleServices.xml (original)
> +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/
> workeffort/WorkEffortSimpleServices.xml Tue Feb 3 22:42:46 2009
> @@ -342,7 +342,7 @@
> <set from-field="parameters.workEffortId"
> field="newValue.workEffortId"/>
> <set-nonpk-fields map="parameters" value-field="newValue"/>
> <field-to-result field="contactMechId" result-
> name="newValue"/>
> - <field-to-request field="contactMechId" request-
> name="newValue"/>
> + <field-to-request field="newValue.contactMechId"/>
> <create-value value-field="newValue"/>
> </simple-method>
>
> @@ -380,7 +380,7 @@
> </if-compare-field>
>
> <field-to-result field="contactMechId" result-
> name="newWorkEffortContactMech"/>
> - <field-to-request field="contactMechId" request-
> name="newWorkEffortContactMech"/>
> + <field-to-request
> field="newWorkEffortContactMech.contactMechId"/>
> </simple-method>
>
> <simple-method method-name="deleteWorkEffortContactMech" short-
> description="Delete a WorkEffortContactMech">
> @@ -421,7 +421,7 @@
> <call-service in-map-name="context2" break-on-error="true"
> service-name="createWorkEffortContactMech">
> <default-message>WorkEffort Contact Mechanism
> successfully created</default-message>
> </call-service>
> - <field-to-request field="contactMechId" request-
> name="newValue"/>
> + <field-to-request field="newValue.contactMechId"/>
> <field-to-result field="contactMechId" result-
> name="newValue"/>
> </simple-method>
>
> @@ -441,7 +441,7 @@
> <call-service in-map-name="context2" service-
> name="updateWorkEffortContactMech">
> <default-message>WorkEffort Contact Mechanism
> successfully updated</default-message>
> </call-service>
> - <field-to-request field="contactMechId" request-
> name="newValue"/>
> + <field-to-request field="newValue.contactMechId"/>
> <field-to-result field="contactMechId" result-
> name="newValue"/>
> </simple-method>
>
> @@ -472,7 +472,7 @@
> <call-service in-map-name="context2" break-on-error="true"
> service-name="createWorkEffortContactMech">
> <default-message>WorkEffort Contact Mechanism
> successfully created</default-message>
> </call-service>
> - <field-to-request field="contactMechId" request-
> name="newValue"/>
> + <field-to-request field="newValue.contactMechId"/>
> <field-to-result field="contactMechId" result-
> name="newValue"/>
> </simple-method>
>
> @@ -494,7 +494,7 @@
> <default-message>Party Contact Mechanism successfully
> updated</default-message>
> </call-service>
> <log level="info" message="Setting result id: $
> {newValue.contactMechId}"/>
> - <field-to-request field="contactMechId" request-
> name="newValue"/>
> + <field-to-request field="newValue.contactMechId"/>
> <field-to-result field="contactMechId" result-
> name="newValue"/>
> </simple-method>
>
>
> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/
> project/ProjectSimpleEvents.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.xml?rev=740494&r1=740493&r2=740494&view=diff
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/
> ProjectSimpleEvents.xml (original)
> +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/
> ProjectSimpleEvents.xml Tue Feb 3 22:42:46 2009
> @@ -178,6 +178,6 @@
> <!-- set the partyId in the request -->
> <field-to-request field="workEffortId" request-
> name="workEffortId"/>
> <field-to-request field="projectId" request-name="projectId"/>
> - <field-to-request field="contentId" request-name="context"/>
> + <field-to-request field="context.contentId"/>
> </simple-method>
> </simple-methods>
>
>