Hi All,
I notice that if you put 'widget' into the search box (on latest weekly stable build) it only returns the Giant Widget. It does this if you use '%idget' as well. I was wondering why the Tiny Chrome Widget is not returned as part of the set? Best wishes -- Ian Gilbert www.ethicalshopper.net Fair trade: the alternative choice for your everyday shopping 0845 456 2429 WHAT DO YOU DRINK AT WORK? We can supply your organisation with high quality fair trade tea and coffee. Discounts are available for regular orders. Contact us for more details. _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Probably because not all of the product in the demo data are in the search category. This could be fixed, but I've always thought it was good in a way to leave it this way just for this purpose: to bring to surface what the search categories associated with a catalog do. -David Ian Gilbert wrote: > Hi All, > > I notice that if you put 'widget' into the search box (on latest weekly stable build) it only > returns the Giant Widget. It does this if you use '%idget' as well. I was wondering why the Tiny > Chrome Widget is not returned as part of the set? > > Best wishes > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Hi,
I have been looking into why EditCommunicationEvent in partymgr doesn't send an email. Firstly I couldn't find any code that was attempting to send the email, so I added the following Index: applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml =================================================================== --- applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (revision 7342) +++ applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (working copy) @@ -55,7 +55,9 @@ <now-timestamp-to-env env-name="newEntity.entryDate"/> - <create-value value-name="newEntity"/> + <create-value value-name="newEntity"/> + <field-to-field map-name="newEntity" field- name="communicationEventId" to-map-name="args" to-field- name="communicationEventId" /> + <call-service-asynch service-name="sendCommEventAsEmail" in-map- name="args" include-user-login="true" /> </simple-method> <simple-method method-name="updateCommunicationEvent" short- description="Update a CommunicationEvent"> <check-permission permission="PARTYMGR" action="_CME_UPDATE"> Once this is applied I get an error complaining that the CommunicationEvent Entity does not have a contactMechIdFrom. This is hardly surprising since when I fill in the form, the "From Email Address" drop-down field is empty. I'm not sure if the above modification is the intended direction for this, does anyone have any suggestions? -- Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
It works out of the box already. I tested it this morning. See
http://jira.undersunconsulting.com/browse/OFBIZ-438 Andrew Sykes wrote: > Hi, > > I have been looking into why EditCommunicationEvent in partymgr doesn't > send an email. > > Firstly I couldn't find any code that was attempting to send the email, > so I added the following > > Index: > applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml > =================================================================== > --- > applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (revision 7342) > +++ > applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (working copy) > @@ -55,7 +55,9 @@ > > <now-timestamp-to-env env-name="newEntity.entryDate"/> > > - <create-value value-name="newEntity"/> > + <create-value value-name="newEntity"/> > + <field-to-field map-name="newEntity" field- > name="communicationEventId" to-map-name="args" to-field- > name="communicationEventId" /> > + <call-service-asynch service-name="sendCommEventAsEmail" > in-map- > name="args" include-user-login="true" /> > </simple-method> > <simple-method method-name="updateCommunicationEvent" short- > description="Update a CommunicationEvent"> > <check-permission permission="PARTYMGR" action="_CME_UPDATE"> > > Once this is applied I get an error complaining that the > CommunicationEvent Entity does not have a contactMechIdFrom. This is > hardly surprising since when I fill in the form, the "From Email > Address" drop-down field is empty. > > I'm not sure if the above modification is the intended direction for > this, does anyone have any suggestions? > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Si Chen wrote: >It works out of the box already. I tested it this morning. See >http://jira.undersunconsulting.com/browse/OFBIZ-438 > >Andrew Sykes wrote: > > >>Hi, >> >>I have been looking into why EditCommunicationEvent in partymgr doesn't >>send an email. >> >>Firstly I couldn't find any code that was attempting to send the email, >>so I added the following >> >>Index: >>applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml >>=================================================================== >>--- >>applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (revision 7342) >>+++ >>applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (working copy) >>@@ -55,7 +55,9 @@ >> >> <now-timestamp-to-env env-name="newEntity.entryDate"/> >> >>- <create-value value-name="newEntity"/> >>+ <create-value value-name="newEntity"/> >>+ <field-to-field map-name="newEntity" field- >>name="communicationEventId" to-map-name="args" to-field- >>name="communicationEventId" /> >>+ <call-service-asynch service-name="sendCommEventAsEmail" >>in-map- >>name="args" include-user-login="true" /> >> </simple-method> >> <simple-method method-name="updateCommunicationEvent" short- >>description="Update a CommunicationEvent"> >> <check-permission permission="PARTYMGR" action="_CME_UPDATE"> >> >>Once this is applied I get an error complaining that the >>CommunicationEvent Entity does not have a contactMechIdFrom. This is >>hardly surprising since when I fill in the form, the "From Email >>Address" drop-down field is empty. >> >>I'm not sure if the above modification is the intended direction for >>this, does anyone have any suggestions? >> >> >> > > >_______________________________________________ >Users mailing list >[hidden email] >http://lists.ofbiz.org/mailman/listinfo/users > > > > >> http://jira.undersunconsulting.com/browse/OFBIZ-438 >> I'm confused by the above. I'm using 6860 and it certainly doesn't work for me CJ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
6860 is fairly old version. Checkout the latest from SVN.
Vinay _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
In reply to this post by Andrew Sykes
Vinay Agarwal wrote: >6860 is fairly old version. Checkout the latest from SVN. >Vinay > > > > >_______________________________________________ >Users mailing list >[hidden email] >http://lists.ofbiz.org/mailman/listinfo/users > > > > showing closed in December 2005. 6869 is not *that* old is it? CJ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
In reply to this post by Charles Johnson-4
What have you tried, and what happens? Any log messages? Clues?
Charles Johnson wrote: Si Chen wrote:It works out of the box already. I tested it this morning. See http://jira.undersunconsulting.com/browse/OFBIZ-438 Andrew Sykes wrote:Hi, I have been looking into why EditCommunicationEvent in partymgr doesn't send an email. Firstly I couldn't find any code that was attempting to send the email, so I added the following Index: applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml =================================================================== --- applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (revision 7342) +++ applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (working copy) @@ -55,7 +55,9 @@ <now-timestamp-to-env env-name="newEntity.entryDate"/> - <create-value value-name="newEntity"/> + <create-value value-name="newEntity"/> + <field-to-field map-name="newEntity" field- name="communicationEventId" to-map-name="args" to-field- name="communicationEventId" /> + <call-service-asynch service-name="sendCommEventAsEmail" in-map- name="args" include-user-login="true" /> </simple-method> <simple-method method-name="updateCommunicationEvent" short- description="Update a CommunicationEvent"> <check-permission permission="PARTYMGR" action="_CME_UPDATE"> Once this is applied I get an error complaining that the CommunicationEvent Entity does not have a contactMechIdFrom. This is hardly surprising since when I fill in the form, the "From Email Address" drop-down field is empty. I'm not sure if the above modification is the intended direction for this, does anyone have any suggestions?_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/usersIt works out of the box already. I tested it this morning. See http://jira.undersunconsulting.com/browse/OFBIZ-438I'm confused by the above. I'm using 6860 and it certainly doesn't work for me CJ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Si,
I looked at this yesterday, it seemed to work (i.e. save the CommunicationEvent), but it sent no email and didn't even complain that it had tried and failed. So there was nothing to help in the logs. On Fri, 2006-04-21 at 08:23 -0700, Si Chen wrote: > What have you tried, and what happens? Any log messages? Clues? > > Charles Johnson wrote: > > Si Chen wrote: > > > > > > > It works out of the box already. I tested it this morning. See > > > http://jira.undersunconsulting.com/browse/OFBIZ-438 > > > > > > Andrew Sykes wrote: > > > > > > > > > > > > > Hi, > > > > > > > > I have been looking into why EditCommunicationEvent in partymgr doesn't > > > > send an email. > > > > > > > > Firstly I couldn't find any code that was attempting to send the email, > > > > so I added the following > > > > > > > > Index: > > > > applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml > > > > =================================================================== > > > > --- > > > > applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (revision 7342) > > > > +++ > > > > applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (working copy) > > > > @@ -55,7 +55,9 @@ > > > > > > > > <now-timestamp-to-env env-name="newEntity.entryDate"/> > > > > > > > > - <create-value value-name="newEntity"/> > > > > + <create-value value-name="newEntity"/> > > > > + <field-to-field map-name="newEntity" field- > > > > name="communicationEventId" to-map-name="args" to-field- > > > > name="communicationEventId" /> > > > > + <call-service-asynch service-name="sendCommEventAsEmail" > > > > in-map- > > > > name="args" include-user-login="true" /> > > > > </simple-method> > > > > <simple-method method-name="updateCommunicationEvent" short- > > > > description="Update a CommunicationEvent"> > > > > <check-permission permission="PARTYMGR" action="_CME_UPDATE"> > > > > > > > > Once this is applied I get an error complaining that the > > > > CommunicationEvent Entity does not have a contactMechIdFrom. This is > > > > hardly surprising since when I fill in the form, the "From Email > > > > Address" drop-down field is empty. > > > > > > > > I'm not sure if the above modification is the intended direction for > > > > this, does anyone have any suggestions? > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Users mailing list > > > [hidden email] > > > http://lists.ofbiz.org/mailman/listinfo/users > > > > > > > > > > > > > > > > > It works out of the box already. I tested it this morning. See > > > > http://jira.undersunconsulting.com/browse/OFBIZ-438 > > > > > > > > I'm confused by the above. I'm using 6860 and it certainly doesn't work > > for me > > > > CJ > > > > > > _______________________________________________ > > Users mailing list > > [hidden email] > > http://lists.ofbiz.org/mailman/listinfo/users > > > > > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Did you enable your email? framework/common/config/general.properties?
Andrew Sykes wrote: > Si, > > I looked at this yesterday, it seemed to work (i.e. save the > CommunicationEvent), but it sent no email and didn't even complain that > it had tried and failed. So there was nothing to help in the logs. > > > On Fri, 2006-04-21 at 08:23 -0700, Si Chen wrote: > >> What have you tried, and what happens? Any log messages? Clues? >> >> Charles Johnson wrote: >> >>> Si Chen wrote: >>> >>> >>> >>>> It works out of the box already. I tested it this morning. See >>>> http://jira.undersunconsulting.com/browse/OFBIZ-438 >>>> >>>> Andrew Sykes wrote: >>>> >>>> >>>> >>>> >>>>> Hi, >>>>> >>>>> I have been looking into why EditCommunicationEvent in partymgr doesn't >>>>> send an email. >>>>> >>>>> Firstly I couldn't find any code that was attempting to send the email, >>>>> so I added the following >>>>> >>>>> Index: >>>>> applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml >>>>> =================================================================== >>>>> --- >>>>> applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (revision 7342) >>>>> +++ >>>>> applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (working copy) >>>>> @@ -55,7 +55,9 @@ >>>>> >>>>> <now-timestamp-to-env env-name="newEntity.entryDate"/> >>>>> >>>>> - <create-value value-name="newEntity"/> >>>>> + <create-value value-name="newEntity"/> >>>>> + <field-to-field map-name="newEntity" field- >>>>> name="communicationEventId" to-map-name="args" to-field- >>>>> name="communicationEventId" /> >>>>> + <call-service-asynch service-name="sendCommEventAsEmail" >>>>> in-map- >>>>> name="args" include-user-login="true" /> >>>>> </simple-method> >>>>> <simple-method method-name="updateCommunicationEvent" short- >>>>> description="Update a CommunicationEvent"> >>>>> <check-permission permission="PARTYMGR" action="_CME_UPDATE"> >>>>> >>>>> Once this is applied I get an error complaining that the >>>>> CommunicationEvent Entity does not have a contactMechIdFrom. This is >>>>> hardly surprising since when I fill in the form, the "From Email >>>>> Address" drop-down field is empty. >>>>> >>>>> I'm not sure if the above modification is the intended direction for >>>>> this, does anyone have any suggestions? >>>>> >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [hidden email] >>>> http://lists.ofbiz.org/mailman/listinfo/users >>>> >>>> >>>> >>>> >>>> >>>> >>> It works out of the box already. I tested it this morning. See >>> >>> http://jira.undersunconsulting.com/browse/OFBIZ-438 >>> >>> >>> >>> I'm confused by the above. I'm using 6860 and it certainly doesn't work >>> for me >>> >>> CJ >>> >>> >>> _______________________________________________ >>> Users mailing list >>> [hidden email] >>> http://lists.ofbiz.org/mailman/listinfo/users >>> >>> >>> >>> >> _______________________________________________ >> Users mailing list >> [hidden email] >> http://lists.ofbiz.org/mailman/listinfo/users >> _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
In reply to this post by Si Chen-2
Si Chen wrote: > What have you tried, and what happens? Any log messages? Clues? > > Charles Johnson wrote: > >>Si Chen wrote: >> >> >> >>>It works out of the box already. I tested it this morning. See >>>http://jira.undersunconsulting.com/browse/OFBIZ-438 >>> >>>Andrew Sykes wrote: >>> >>> >>> >>> >>>>Hi, >>>> >>>>I have been looking into why EditCommunicationEvent in partymgr doesn't >>>>send an email. >>>> >>>>Firstly I couldn't find any code that was attempting to send the email, >>>>so I added the following >>>> >>>>Index: >>>>applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml >>>>=================================================================== >>>>--- >>>>applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (revision 7342) >>>>+++ >>>>applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (working copy) >>>>@@ -55,7 +55,9 @@ >>>> >>>> <now-timestamp-to-env env-name="newEntity.entryDate"/> >>>> >>>>- <create-value value-name="newEntity"/> >>>>+ <create-value value-name="newEntity"/> >>>>+ <field-to-field map-name="newEntity" field- >>>>name="communicationEventId" to-map-name="args" to-field- >>>>name="communicationEventId" /> >>>>+ <call-service-asynch service-name="sendCommEventAsEmail" >>>>in-map- >>>>name="args" include-user-login="true" /> >>>> </simple-method> >>>> <simple-method method-name="updateCommunicationEvent" short- >>>>description="Update a CommunicationEvent"> >>>> <check-permission permission="PARTYMGR" action="_CME_UPDATE"> >>>> >>>>Once this is applied I get an error complaining that the >>>>CommunicationEvent Entity does not have a contactMechIdFrom. This is >>>>hardly surprising since when I fill in the form, the "From Email >>>>Address" drop-down field is empty. >>>> >>>>I'm not sure if the above modification is the intended direction for >>>>this, does anyone have any suggestions? >>>> >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>Users mailing list >>>[hidden email] >>>http://lists.ofbiz.org/mailman/listinfo/users >>> >>> >>> >>> >>> >>> >>It works out of the box already. I tested it this morning. See >> >>http://jira.undersunconsulting.com/browse/OFBIZ-438 >> >> >> >> >>I'm confused by the above. I'm using 6860 and it certainly doesn't work >>for me >> >>CJ >> >> >>_______________________________________________ >>Users mailing list >>[hidden email] >>http://lists.ofbiz.org/mailman/listinfo/users >> >> >> >> >------------------------------------------------------------------------ > > >_______________________________________________ >Users mailing list >[hidden email] >http://lists.ofbiz.org/mailman/listinfo/users > This is the only suspicious-looking log message: 17:02:10,788 (http-0.0.0.0-8443-Processor4) [ PrimaryKeyFinder.java:132:INFO ] Returning null because found incomplete primary key in find: [GenericEntity:CommunicationEvent][communicationEventId,null()] CJ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
In reply to this post by David E. Jones
Thanks for the response David,
That makes sense and I'll test accordingly. Best wishes Ian On Thu, April 20, 2006 21:41, David E. Jones wrote: > > Probably because not all of the product in the demo data are in the search category. This could > be fixed, but I've always thought it was good in a way to leave it this way just for this > purpose: to bring to surface what the search categories associated with a catalog do. > > > -David > > > > Ian Gilbert wrote: > >> Hi All, >> >> >> I notice that if you put 'widget' into the search box (on latest weekly stable build) it only >> returns the Giant Widget. It does this if you use '%idget' as well. I was wondering why the >> Tiny >> Chrome Widget is not returned as part of the set? >> >> >> Best wishes >> >> > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > > -- Ian Gilbert www.ethicalshopper.net Fair trade: the alternative choice for your everyday shopping 0845 456 2429 WHAT DO YOU DRINK AT WORK? We can supply your organisation with high quality fair trade tea and coffee. Discounts are available for regular orders. Contact us for more details. _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |