Error ?
Hi All, Not sure if ti's an error, I found this in a log Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/content/search.bsh : Error in method invocation: Method add( org.apache.lucene.search.TermQuery, boolean, boolean ) not found in class'org. apache.lucene.search.BooleanQuery' : at Line: 76 : in file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/content/search.bsh : combQuery .add ( termQuery , true , false ) I have not time to investigate, so I post this question here before opening a Jira issue Thanks Jacques
[jira] Closed: (OFBIZ-1737) Two Australian states missing from drop-down list
[ https://issues.apache.org/jira/browse/OFBIZ-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-1737. -- Resolution: Fixed Fix Version/s: Release Branch 4.0 SVN trunk Assignee: Jacques Le Roux Thans Anne, Your patch in in trunk rev. 644629 , release4.0 644631 Two Australian states missing from drop-down list --- Key: OFBIZ-1737 URL: https://issues.apache.org/jira/browse/OFBIZ-1737 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Anne Jessel Assignee: Jacques Le Roux Priority: Minor Fix For: SVN trunk, Release Branch 4.0 Attachments: territory.patch Original Estimate: 0.25h Remaining Estimate: 0.25h Two Australian states, namely the Australian Capital Territory (AU-ACT) and Northern Territory (AU-NT) are not included in the dropdown list of states shown in many places when entering an address. They are included in the Geo entity, but as type TERRITORY, which is technically correct. The dropdown list only shows STATEs and PROVINCEs. I am attaching a patch which includes TERRITORYs in the drop down list. This approach seemed more correct than changing the ACT and NT records from TERRITORY to STATE, even though they seem to be the only TERRITORY records in the included data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Implementation of a service to compute the product average cost
Hi Jacopo, I have similar needs to yours. I want to create jira issue and then to implement the service that you proposed, but I am not sure if I am not missing something that has changed until now. First I wanted to implement the service and to use it in a report - similar to Inventory Item Totals. Then I intend to make suggested changes to the ProductAverageCost entity and to persist the result of the metioned service there. Any suggestions are velcome. Regards, Rashko Rejmer Jacopo Cappellato wrote: Hi all, I have to implement a service that computes the inventory average cost of a product (based on current QOH and inventory items' unit costs) and stores it somewhere... Do you think that storing it in the ProductAverageCost entity is a good idea? However I think that it is important to give the ability to maintain a separate cost for each facility (for example the items in a facility in US and the ones in a facility in China could have very different inventory costs); the key of the ProductAverageCost is now composed by productId, organizationPartyId, fromDate so I think we should add to it also the facilityId and possibly a productAverageCostTypeId field (to maintain different types of averages). I don't see any code that is using this entity right now but, if I well remember, it is used by some code in the external Financial component... so I guess that Si could have some good advices :-) Jacopo -- View this message in context: http://www.nabble.com/Implementation-of-a-service-to-compute-the-product-average-cost-tp7891049p16490988.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.
[jira] Created: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat
Add support for running one instance of OfBiz under Tomcat -- Key: OFBIZ-1738 URL: https://issues.apache.org/jira/browse/OFBIZ-1738 Project: OFBiz Issue Type: New Feature Components: framework Affects Versions: SVN trunk Environment: Mac OS X 10.5.2, JDK 1.5.0_13 Reporter: Ludovic Maître Priority: Minor This issue provide templates and patchs to run one instance of OfBiz under Tomcat. The templates are used to: - setup the classpath of Tomcat, (catalina.properties) - declare the ofbiz webapps in the server configuration The files generated from the templates, with the command 'java -jar ofbiz.jar -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat. IIRC there is also some setup to perform in the first loaded webapp, and a few other modifications in the code, i will digg into it this evening (French riviera time) and create a patch which will be added to this issue. (the full code is also published on my subversion server: http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good luck to find the relveant parts :-)) Best regards, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat
[ https://issues.apache.org/jira/browse/OFBIZ-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ludovic Maître updated OFBIZ-1738: -- Attachment: tomcat.zip Templates for Ofbiz integration into Tomcat configuration files. Unzip in $OFBIZ_ROOT/framework/appserver/templates and run `java -jar ofbiz.jar -setup tomcat` to generate the files. Add support for running one instance of OfBiz under Tomcat -- Key: OFBIZ-1738 URL: https://issues.apache.org/jira/browse/OFBIZ-1738 Project: OFBiz Issue Type: New Feature Components: framework Affects Versions: SVN trunk Environment: Mac OS X 10.5.2, JDK 1.5.0_13 Reporter: Ludovic Maître Priority: Minor Attachments: tomcat.zip Original Estimate: 8h Remaining Estimate: 8h This issue provide templates and patchs to run one instance of OfBiz under Tomcat. The templates are used to: - setup the classpath of Tomcat, (catalina.properties) - declare the ofbiz webapps in the server configuration The files generated from the templates, with the command 'java -jar ofbiz.jar -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat. IIRC there is also some setup to perform in the first loaded webapp, and a few other modifications in the code, i will digg into it this evening (French riviera time) and create a patch which will be added to this issue. (the full code is also published on my subversion server: http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good luck to find the relveant parts :-)) Best regards, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.