ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tushar Abhyankar" <tushar.abhyan...@amicontech.com>
Subject RE: Error while updating
Date Wed, 04 Oct 2006 06:30:44 GMT
Hi Scott,
	   Thanks for the solution, it worked when I changed the fromDate of
contactMech to a previous date.  

Regards,
Tushar
-----Original Message-----
From: Scott Gray [mailto:lektran@gmail.com] 
Sent: Wednesday, October 04, 2006 12:51 AM
To: ofbiz-user@incubator.apache.org
Subject: Re: Error while updating

Ok, problem solved!  Note your server's log time compared to the fromDate of
the contactMech, the contactMech is not yet valid.

Regards
Scott

On 04/10/06, Tushar Abhyankar <tushar.abhyankar@amicontech.com> wrote:
>
> Hello Everyone,
>
> In partyContactMechServices.xml   before
>
> <filter-list-by-date list-name="partyContactMechs"
> to-list-name="validPartyContactMechs"/> statement. I get the log info of
>
> partyContactMechs  as
>
> 2006-10-03 18:08:34,515 (http-0.0.0.0-8080-Processor4) [
> Log.java:95 :INFO ] The vali
> d contact partyContactMech
> is:[[GenericEntity:PartyContactMech][allowSolicitation,null()][comments,n
> ull()][contactMechId,10510(java.lang.String)][createdStamp,2006-10-03
> 18:37:34.156(java.sql.Timestam
> p)][createdTxStamp,2006-10-03
> 18:37:33.468(java.sql.Timestamp)][extension,null()][fromDate,2006-10-0
> 3 18:37:34.156(java.sql.Timestamp)][lastUpdatedStamp,2006-10-03
> 18:37:34.156(java.sql.Timestamp)][la
> stUpdatedTxStamp,2006-10-03
> 18:37:33.468(java.sql.Timestamp)][monthsWithContactMech,null()][partyId,
> 10510(java.lang.String
> )][roleTypeId,null()][thruDate,null()][yearsWithContac
> tMech,null()]]
>
>
> And after the filter statement "validPartyContactMechs" list  is an empty
> list in the log statement.
>
> Does someone have any idea on why the list is empty?
>
>
>
> -----Original Message-----
> From: Scott Gray [mailto:lektran@gmail.com]
> Sent: Tuesday, October 03, 2006 3:16 PM
> To: ofbiz-user@incubator.apache.org
> Subject: Re: Error while updating
>
> Hi Tushar
>
> I get the feeling that the set field below isn't working, I'm not much
> with miniLang but try from-field="parameters.partyId" or something like
> that.  Also, move the log operation below the set field, that way you
> can see if it's working.  If that doesn't work I'm out of ideas.
>
> Regards
> Scott
>
> Tushar Abhyankar wrote:
> > Scott,
> >       I am calling a service through own code, the code below is part
> > service(simple method) itself.
> >
> > The Code snippet is:
> >
> >               <log level="info" message="MapIn:${mapIn}"/>
> >               <set field="mapIn.partyId" from-field="partyId"/>
> >
>
>
>



Mime
View raw message