Re: Entity-engine Unique constraint definition?

2023-06-22 Thread Scott Gray
Hi Rick, Yes, see the index element: If you search the code base for 'unique="true"' you should find some examples. Regards Scott On Thu, 22 Jun 2023 at 17:23, Richard Fleming wrote: > Hi all, > Is there a way to define a database unique constraint when defining an > entity > in the ent

Re: Help required in Ofbiz development - Unable to retrieve parameter using HTTPRequest

2022-05-03 Thread Scott Gray
Your form contains duplicate inputs for each of your field names, one hidden for each and one visible (date, number etc.). When this is submitted, the duplicates will be combined into an array of values for the given parameter name. ServletRequest#getParameter will only return the FIRST value in

Re: Scheduled job problem

2022-04-13 Thread Scott Gray
I don't think that would cause this problem, the next occurrence of a job is scheduled when the current job is queued (or started, I can't remember exactly) so generally the runTime values should be roughly 5 minutes apart regardless of how long the job takes to run. Some time is lost between crea

[CVE-2020-9496] Apache OFBiz unsafe deserialization of XMLRPC arguments

2020-11-16 Thread Scott Gray
Hi everyone, I was recently made aware of an attack on an OFBiz deployment using the vulnerability described below. The attackers were able to exploit the xmlrpc endpoint to initiate a full export of the database. Fortunately this deployment had an extremely large database and the attempt set of

Re: Price Rule Engine

2018-04-16 Thread Scott Gray
Have you tried setting the list price to zero? Alternatively, if you want to maintain a value in list price then use two price rule actions: 1. Percentage of list price: -100 2. Percentage of average cost: 130 That should set the first modifier to effectively zero the starting price, and then can

Re: A bug in 16.11.04

2018-04-01 Thread Scott Gray
My knowledge is a little bit out of date but the code used to be able to fallback through to the default locale and if it still didn't find anything then it would simply output the key instead. For example if the user's locale was zh_cn and the default locale was en_US then it would look for a val

Re: Difference between "id" and "id-ne" field type

2017-05-03 Thread Scott Gray
gt; 1- removing id-ne > 2- reintroducing validation > > On May 4, 2017 3:10 AM, "Scott Gray" wrote: > > > Took a while to dig it out but here it is: > > http://ofbiz.markmail.org/thread/c6ee3ewyo6jpik7k > > > > It's not as in-depth as I'd ho

Re: Difference between "id" and "id-ne" field type

2017-05-03 Thread Scott Gray
> > > attributes and how they apply. > > > > > > > > > Thanks & Regards, > > Aditya Sharma > > Enterprise Software Engineer > > HotWax Systems Pvt. Ltd. > > http://www.hotwaxsystems.com/ > > > > <https://www.linkedin.com

Re: Difference between "id" and "id-ne" field type

2017-05-01 Thread Scott Gray
It was removed purposefully and there was a discussion about it. I'd suggest we all need to go back and look at that discussion before deciding how to proceed. Regards Scott On 1/05/2017 19:03, "Taher Alkhateeb" wrote: > I don't have the historical context, so please excuse if I'm off. > > My r

Re: Strange OfBiz List Message

2017-04-11 Thread Scott Gray
I get those notifications from the user list maybe once a month on my personal gmail, not sure of the cause. Regards Scott On 12/04/2017 02:44, wrote: > > Hi, > > I think I receive messages from the list, but sometimes I get a copy of > what I'm forwarding below...my email has never stopped wor

Re: Default key size

2017-04-05 Thread Scott Gray
Perhaps lookup performance isn't the only consideration? A few things come to mind: - screen realestate when PKs need to be displayed - bandwidth for syncing to slaves and transporting data to/from the client - file size for export/import be it XML or whatever Given that PKs shouldn't perform any

Re: performance

2017-03-21 Thread Scott Gray
Is there any indication it consumes anything other than some small amount of RAM after startup? Regards Scott On 19 March 2017 at 22:23, Pierre Smits wrote: > With respect to gradle that is not entirely true. As you use it to run > OFBiz it will continue to consume hardware resources. > > Best

Re: send events from ofbiz

2017-02-21 Thread Scott Gray
Hi Milan, You may want to consider implementing your own service engine implementation, there really isn't much to it and from there you can send the events however you like to wherever you like. Take a look at the HttpEngine as an example. Once you've defined an engine you then need to define a

Re: MySQL Deadlocks in OfBiz 12.04

2017-02-18 Thread Scott Gray
if they stumble upon. Else if you think it's confusing, please feel free to change the summary and description, maybe by adding your comment below? Jacques Le 18/02/2017 à 11:37, Scott Gray a écrit : > There was no bug report in this thread, just some vague details. Deadlocks > a

Re: MySQL Deadlocks in OfBiz 12.04

2017-02-18 Thread Scott Gray
itially reported in this thread. I > understand that we should rather refactor FinAccount services and I have > opened a Jira for that > > https://issues.apache.org/jira/browse/OFBIZ-9221 > > Jacques > > > > Le 18/02/2017 à 08:06, Scott Gray a écrit : > >> Which bug

Re: MySQL Deadlocks in OfBiz 12.04

2017-02-17 Thread Scott Gray
18/02/2017 01:52, "Jacques Le Roux" wrote: > Hi Scott, > > Should we not open a Jira and try to fix this bug? > > Jacques > > > Le 16/02/2017 à 04:04, Scott Gray a écrit : > >> For example, a current project has some heavily used FinAccount rows and >

Re: MySQL Deadlocks in OfBiz 12.04

2017-02-15 Thread Scott Gray
rote: > Thanks Scott. Since I am new to OfBiz can you provide a code example? I.e. > by what means are you issuing an arbitrary no-op update statement on a > parent row? > > On Wed, Feb 15, 2017 at 1:02 PM Scott Gray > wrote: > > Hi Robb, > > I've encountered

Re: MySQL Deadlocks in OfBiz 12.04

2017-02-15 Thread Scott Gray
Hi Robb, I've encountered similar deadlocks in the past and have simply issued an update statement on the main row before attempting to work with any child rows. That has the same effect as the FOR UPDATE statement but without needing to enhance the framework. Regards Scott On 16/02/2017 08:03,

Re: Journals & GL useability

2017-01-16 Thread Scott Gray
Hi David, In my personal experience I'm yet to fully implement GL functionality for a client, although that isn't saying much because most of the contracts I've been involved in span multiple years so we're only talking a few projects really. We'll often start working on it by mapping transaction

Re: MySQL connector

2017-01-12 Thread Scott Gray
Hi Craig, Based on the output, you probably don't want to be including the .jar suffix, looks like gradle adds that itself. Regards Scott On 13 January 2017 at 14:51, Craig Parker wrote: > I added this: > > runtime 'mysql:mysql-connector-java-5.1.40-bin.jar' > > to build.gradle, and tried a fe

Re: [ANNOUNCE] Directions to limit excessive or unfair marketing messages in the OFBiz mailing lists

2016-12-19 Thread Scott Gray
I don't personally recall seeing Pierre break any of the linked guidelines aside from cross posting to dev/private. IMO his marketing messages are neither excessive or unfair. So maybe, just maybe, this isn't about Pierre. And maybe we should stop worrying about who/what triggered it and instead t

Re: [ANNOUNCE] Plugin components for OFBiz and OFBizBase

2016-11-30 Thread Scott Gray
It may have been a side-effect of cross-posting. The other replies may not have been visible if they were replying from a different list (due to filtering or whatever). It's not uncommon for people to only see pieces of a conversation when cross-posting is involved. I don't see it as a personal

Re: [ANNOUNCE] Plugin components for OFBiz and OFBizBase

2016-11-30 Thread Scott Gray
Actually, I asked Pierre not to cross post less than a week ago and this is the 2nd time he's done it since. Perhaps a few more requests are warranted since he seems to ignore them. These recent instances aren't the first time we've been through this with Pierre either. I get the feeling he sees

Re: [ANNOUNCE] Plugin components for OFBiz and OFBizBase

2016-11-30 Thread Scott Gray
Hi Pierre, Could you please stop cross-posting? http://apache.org/dev/contrib-email-tips.html#rightlist http://directory.apache.org/mailing-lists-and-irc.html I understand you're a PMC member of the Apache Directory project so I would assume you're familiar with ASF email etiquette. Many thanks

Re: OFBiz setup process can't be completed

2016-10-12 Thread Scott Gray
It was an unreasonable proposition and I think you know that. I've never looked at the tarpit code to be honest, it was just the first example of an old contribution from you that came to mind. Regards Scott On 12/10/2016 19:13, "Jacques Le Roux" wrote: > Le 11/10/2016 à 2

Re: OFBiz setup process can't be completed

2016-10-11 Thread Scott Gray
> I hope the committer who introduced this feature will take care of the rest. Else maybe we should remove it... Jacques I think you've been around long enough to know that a committer's responsibility to a contribution doesn't extend to years of support. If I found a bug in your tarpit/Protected

Re: Blank DB

2016-10-11 Thread Scott Gray
Another possible option (which I've never tried), is to use the multi tenancy functionality to allow two different sets of data without needing to restart OFBiz or run multiple instances. Regards Scott On 12 October 2016 at 07:40, Craig Parker wrote: > I was initially thinking of having two xml

Re: Issue using a GenericRequester with persistent async services

2016-09-13 Thread Scott Gray
Hi Mirko, I had a quick look at the code and it looks to me like the GenericRequester is used if passed in but only if the job is run in memory instead of being persisted to the database. Are you seeing something different or are you expecting that it would be serialized and stored with the job?

RE: Ofbiz Cookbook

2016-08-09 Thread Scott Gray
I'm certainly no fan of minilang. I prefer something I can step through with a debugger. Regards Scott On 9/08/2016 20:55, "Paul Piper" wrote: > Skip, > > I fear that you may be right with regards to minilang and the community, > though luckily with your own projects you can set your own standa

Re: Why create transaction in Event?

2016-07-26 Thread Scott Gray
You can leave your code mostly the same, but just require a new transaction for createOrder, you'll see the option available in the runSync overloaded methods. I've been working with an older version of OFBiz for the last few years so I wasn't aware of this change, but I believe it is better than

Re: OFBiz trunk + Apache DBCP2 + MySQL connectivity issues

2016-03-08 Thread Scott Gray
Jain a écrit : > >> Thanks, shouldn't this be committed in SVN then? >> >> -- >> Vyom >> >> On 29 February 2016 at 14:51, Scott Gray >> wrote: >> >> Actually yes, I have encountered this. I fixed it with the following >>> class, which

Re: OFBiz trunk + Apache DBCP2 + MySQL connectivity issues

2016-02-29 Thread Scott Gray
Actually yes, I have encountered this. I fixed it with the following class, which you would then use in the DBCPConnectionFactory class in place of the PoolableManagedConnectionFactory. /** * An extension to the DBCP2 PoolableManagedConnectionFactory that ensures that * PoolableConnections ar

Re: An index number appended to utilCacheTable names when there are conflicts?

2016-01-20 Thread Scott Gray
It's most likely a race condition in the UtilCache getOrCreate method (the exact name escapes me without looking). Does it a actually cause any issues or is it just strange? On 20 Jan 2016 11:41, "Len Shein" wrote: > All, > > There have been instances where one or more of the entitycache store ge

Re: ofbiz cannot generate pdf invoices

2016-01-02 Thread Scott Gray
That error looks like a bug in CompanyHeader.groovy, it's not check that an address was retrieved before trying to access it. You can work around that issue by adding a "General Location" postal address for the company party. It might not help your currency issue, but will get you one step furthe

Re: Question about data model

2015-12-29 Thread Scott Gray
That's incorrect, there is no foreign-key dependency between SecurityGroupPermission and SecurityPermission and this is done on purpose. Here's an old discussion on the topic: http://ofbiz.135035.n4.nabble.com/security-permission-td154203.html#a154208 Regards Scott On 29 December 2015 at 05:06,

Re: JobPoller: Problems reading values from serviceengine.xml file

2015-12-15 Thread Scott Gray
That's a problem in the older versions caused by concurrent access to the cached dom model of the serviceengine.xml file. The dom doesn't support concurrent reads and you'll intermittently see this problem. The only solution is to store the serviceengine configuration in POJOs rather than caching

Re: OFBiz on read only database

2015-05-07 Thread Scott Gray
I've seen it done with a separate Delegator but it needed a code change since there's no configurable way to disable the JobManager. Main issues to be aware of: - Transaction isolation, you can't see uncommitted modifications made in same call chain - If the read replica lags too far behind then y

Re: Are purchase orders supposed to calculate taxes?

2014-12-29 Thread Scott Gray
http://markmail.org/message/mzbu3i336uu6csps As always, there's plenty of previous discussion if you search for purchase order tax on ofbiz.markmail.org Regards Scott On Tue, Dec 30, 2014 at 3:41 PM, Christian Carlow < christian.car...@gmail.com> wrote: > If Accounting->Tax Authorities->Product

Re: WEBPOS

2014-12-09 Thread Scott Gray
> GSM :0485/22 35 80 > > E-mail : info.ola...@gmail.com > > http://www.olagos.eu > > http://www.olagos.com > > http://www.olagos.be > > http://www.olagos.nl > > > > > > > > 2014-12-09 4:13 GMT+01:00 Scott Gray : > > > >>

Re: WEBPOS

2014-12-08 Thread Scott Gray
You'd probably need to consider looking into browser extension. VendHQ is a web-based POS SaaS and their solution to this problem is documented here: http://support.vendhq.com/hc/en-us/articles/201378390-Enable-kiosk-silent-printing-for-Google-Chrome-on-Windows-Video- Regards Scott On Sat, Dec 6,

Re: OFBiz and Attitude & Trust

2014-10-21 Thread Scott Gray
How is it that you are able to extract so many paragraphs out of the few sentences I wrote? What are you trying to achieve here? As far as I can tell you're the only one who has questions about how a contributor becomes a committer. How much detail is required for something that requires a no

Re: OFBiz and Attitude & Trust

2014-10-21 Thread Scott Gray
ng the growth of our project. > > My advice to you is to relax your viewpoint on this and any contributor > showing commitment to the project. > > Regards, > > Pierre Smits > > *ORRTIZ.COM <http://www.orrtiz.com>* > Services & Solutions for Cloud- >

Re: OFBiz and Attitude & Trust

2014-10-18 Thread Scott Gray
#x27; sounds a lot like 'must follow'. I trust that wasn't your > intention... > > Or am I misinterpreting this? > > Regards, > > Pierre Smits > > *ORRTIZ.COM <http://www.orrtiz.com>* > Services & Solutions for Cloud- > Based Manufactur

Re: OFBiz and Attitude & Trust

2014-10-17 Thread Scott Gray
they can make their own interests subordinate to those of the > community? > > Regards, > > Pierre Smits > > *ORRTIZ.COM <http://www.orrtiz.com>* > Services & Solutions for Cloud- > Based Manufacturing, Professional > Services and Retail & Trade > h

Re: OFBiz and Attitude & Trust

2014-10-17 Thread Scott Gray
is own feelings but about the collective perception. > > Regards, > > Pierre Smits > > *ORRTIZ.COM <http://www.orrtiz.com>* > Services & Solutions for Cloud- > Based Manufacturing, Professional > Services and Retail & Trade > http://www.orrtiz.com > &g

Re: OFBiz and Attitude & Trust

2014-10-17 Thread Scott Gray
Hi Pierre, Jacopo's first words in that email were "In my opinion". That's an extremely important point. There are no guidelines because each PMC member is free to vote however they feel would best serve the project. Any of us could provide our own personal guidelines but they would still ju

Re: [VOTE] PROJECTMGR in upcoming release

2014-10-03 Thread Scott Gray
eed to promote to get the attention of > contributors. Downplaying etc. does the opposite. > > Regards, > > Pierre Smits > > *ORRTIZ.COM <http://www.orrtiz.com>* > Services & Solutions for Cloud- > Based Manufacturing, Professional > Services and Retail &a

Re: Measurement & Report on Community interest

2014-10-03 Thread Scott Gray
urely help in gaining consensus about the liveliness of > components. > > Regards, > > Pierre Smits > > *ORRTIZ.COM <http://www.orrtiz.com>* > Services & Solutions for Cloud- > Based Manufacturing, Professional > Services and Retail & Trade > http://ww

Re: [VOTE] PROJECTMGR in upcoming release

2014-10-03 Thread Scott Gray
of > interest. > PROJECTMGR seems to have some life in it but without a formal sub-project > structure it is hard to judge except from ML discussions and recent activity. > > Ron > > On 02/10/2014 3:02 PM, Scott Gray wrote: >> Surely the first step in considering a sp

Re: [VOTE] PROJECTMGR in upcoming release

2014-10-02 Thread Scott Gray
Surely the first step in considering a specialized component for sub-project creation would be the level of activity surrounding the component? Looking at the history of the projectmgr component I see 12 commits in the last TWO years 8 of which were global changes that coincidentally happened to

Re: OFBIZ project health (was: Re: Latest OFBiz board report to the ASF about the health of the project)

2014-09-19 Thread Scott Gray
Quite a novel you've written there Piere. There's so many things I'd like to clarify in your rant but you're so far detached from the reality of how this community works that it's gotten to the point of being pointless. Regards Scott On 19 September 2014 20:59:48 GMT+12:00, Pierre Smits wro

Re: OFBIZ project health (was: Re: Latest OFBiz board report to the ASF about the health of the project)

2014-09-18 Thread Scott Gray
I guess it's the strange way that you word some of your emails. Instead of directing the question to someone who could answer it, the mailing list moderators, you directed your question to the community at large. Doing so can give the impression that there is something wrong with the health o

Re: Deadlock issue with OFBiz tranactions

2014-05-19 Thread Scott Gray
GlAccountOrganization looks like it could be contentious for locks due to the postedBalance field (lots of separate long running transactions trying to update multiple rows at the same time). The service updating it probably needs refactoring so that the update is moved to a smaller transaction

Re: The future of OFBiz - Open Discussion

2014-03-13 Thread Scott Gray
, Mar 12, 2014 at 11:52 PM, Scott Gray > wrote: > >> >> I won't be attending simply because it is organized by Pierre (and because >> the genesis of this meeting seems to have come from a very negative >> perspective). Those of you who are new to the community

Re: The future of OFBiz - Open Discussion

2014-03-12 Thread Scott Gray
I won't be attending simply because it is organized by Pierre (and because the genesis of this meeting seems to have come from a very negative perspective). Those of you who are new to the community or who he is polite to may not be aware of how rude Pierre can be. While he does do some good w

Re: Multiple server setup (HAFO)

2014-01-02 Thread Scott Gray
Check that resource URLs aren't html encoded, some browsers fail to send cookie information in that situation which causes a new session to be created. Scott On 2/01/2014, at 12:16 PM, Pierre Smits wrote: > 1) > In the backend, when having logged in a tenant, we experience that when > having lo

Re: Freemarke, printing number with no commas

2013-07-29 Thread Scott Gray
Check first that the "days" variable is actually a number in the freemarker context. It could be that the formatting is happening earlier which would explain why your efforts to change the formatting aren't working (because the value may already be a string). Regards Scott On 30/07/2013, at 5

Re: [CVE-2013-2250] Apache OFBiz Nested expression evaluation allows remote users to execute arbitrary UEL functions in OFBiz

2013-07-22 Thread Scott Gray
I just want to bump this on the lists since that Douglas Cook idiot was causing a distraction. It's very important that everyone with the OFBiz versions mentioned below (and trunk checkouts prior to r1500772) either upgrade or patch their installations as soon as possible. I cannot stress this

Re: Virtual variant products with quantity in product association

2013-06-20 Thread Scott Gray
Atul Vani wrote: > There are quantity fields in ProductAssoc and ProductCategoryMember entities, > I wonder what they are for. Didn't dig into the code, thought someone might > already know and can help. > > > On Thu, 20 Jun 2013 06:04:59 +0530, Scott Gray > wrote:

Re: Virtual variant products with quantity in product association

2013-06-19 Thread Scott Gray
Hi Robert, I don't believe the quantity field has a use in virtual/variant associations (but I could be wrong). I think you'd want a setup similar to the following: - A product for the supplier that sells double packs (Product A) - A product for the suppler that sells single packs (Product B) -

Re: Looking for an experience Java programmer with OFBiz experience

2013-06-01 Thread Scott Gray
sed for clients and > internal projects only, not really distributed publicly either open source or > commercial). > > Such extensions made public do more to help OFBiz than harm it, by a big > amount IMO. Even Moqui/Mantle/etc do more to drive traffic to OFBiz than the >

Re: Looking for an experience Java programmer with OFBiz experience

2013-05-31 Thread Scott Gray
u need project management that > requires active PMC members. I will send my resignation request to the pmc > list where this conversation should probably take place. > > -Al > > > On Fri, May 31, 2013 at 4:03 AM, Scott Gray wrote: > >> Al, >> >> Private

Re: Looking for an experience Java programmer with OFBiz experience

2013-05-31 Thread Scott Gray
Al, Privately or not, if this is how you intend to interact with OFBiz users by actively encouraging them to switch to the competing framework that you're currently working with, then I'd strongly encourage you to resign from the OFBiz PMC. It's really not the type of project management we nee

Re: ajax-window

2013-03-24 Thread Scott Gray
Oh hi Pierre, how did things go at ApacheCon Europe? Regards Scott On 21/03/2013, at 6:01 AM, Pierre Smits wrote: > Hi All, > > In a screen.xml I can have a pop-up window with following > code: > > "ajax-window" width="1000" height="400" style="buttontext create"/> > > How can I achieve the

Re: Bigdecimal divide causes not terminating decimal

2013-01-11 Thread Scott Gray
Doubles have no place in financial transactions, the correct fix is to set a scale on the divide operation. Regards Scott On 11/01/2013, at 11:30 PM, Deepak Agarwal wrote: > InvoiceServices.java : > > billingAmount = > billingAmount.subtract(amountAlreadyIncluded.divide(billingQuantity)); >

Re: How to run service some time after another service?

2013-01-10 Thread Scott Gray
That is not a valid example, you should never modify the JobSandbox directly. Use dispatcher.schedule(...) Regards Scott On 9/01/2013, at 6:21 AM, mohd Viqar wrote: > Here is an example > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Regards > Mohd Viq

Re: Auto Set unique.instanceId

2012-08-06 Thread Scott Gray
Keep in mind that if your machine IP address ever changes then any jobs queued or running at shutdown won't get picked up on restarting. Regards Scott On 6/08/2012, at 3:06 PM, Sam Hamilton wrote: > Many thanks Jacques - off to do some testing! > > Cheers > Sam > > On 4 Aug 2012, at 00:11, J

Re: Ofbiz with MySQL or PostgreSQL

2012-06-25 Thread Scott Gray
It can also be a problem in tables like InventoryItemStatus or basically anywhere in the system that depends on being able to retrieve the latest record when it's possible for two records to have been created within the same second. Also anywhere that depends on a timestamp as part of the prima

Re: Multitenant, EncryptionKey

2012-05-17 Thread Scott Gray
Hi Carsten, That kek stuff is a very new addition done by Adam, I'm not sure how closely he follows the user list so you may want to raise this up on the dev list or in jira. My understanding though was that kek was an optional feature so this most likely is a bug of some sort. Regards Scott

Re: browse category problem..

2012-05-08 Thread Scott Gray
Hi Indela, You need to set a Facility on your Product Store. Data: ProductStore.facilityId Screen: Catalog -> Stores Regards Scott On 9/05/2012, at 12:17 AM, indela wrote: > hi all, > i added catalog, categories and product. but when i was browse products > throw exception is like below. Why th

Re: Help OFBiz Help - day

2012-05-07 Thread Scott Gray
> mailing list. > > Some community members may have chosen to only read the dev mail. I want to > invite them as well to pariticpate in the "Help OFBiz Help"-day. > > Pierre > > > 2012/5/7 Scott Gray > >> Please stop posting to both lists. >

Re: Help OFBiz Help - day

2012-05-07 Thread Scott Gray
Please stop posting to both lists. Thanks Scott On 8/05/2012, at 1:54 AM, Pierre Smits wrote: > Dear All, > > Did you know that OFBiz contains a solution delivering a help to each > screen accessed? And do you use it? > > Currently for following applications/components help is available: > >

Re: Performance of Ofbiz

2012-05-02 Thread Scott Gray
Exactly, you need to perform (or have on performed on your behalf) analysis of the site. There are plenty of OFBiz sites out there that perform just fine with nothing much more than correctly configured cache settings. Regards Scott On 3/05/2012, at 1:06 AM, Adrian Crum wrote: > This thread i

Re: Performance of Ofbiz

2012-05-02 Thread Scott Gray
In regards to one part of that post, I wouldn't recommend disabling Visit tracking for ecommerce unless you have some other type of analytics in place. It can be an invaluable resource for tracking down slow pages and also aid in locating requests are causing errors in the logs. Regards Scott

Re: Official demos

2012-04-27 Thread Scott Gray
a link > to trunk demo from main page on http://ofbiz.apache.org/ > This because it has not been released. So only released branches will figure > on main page of http://ofbiz.apache.org/ > The idea is to not confuse users about not released things. > > Jacques > > From: &

Re: Official demos

2012-04-27 Thread Scott Gray
What exactly does "evolving branch" mean? Regards Scott On 27/04/2012, at 7:27 PM, Jacques Le Roux wrote: > Hi, > > It seems, though he did not annouce it (yet?), Christian finished the demos > rotation. So now we have: > > demo-trunk.ofbiz.apache.org running trunk > demo-stable.ofbiz.apache.

Re: OFBiz / BigFish eCommerce Updates

2012-04-10 Thread Scott Gray
suitable for aslv2. > More tomorrow when we've made the changes. > > Best regards, > > Nick Rosser > nros...@salmonllc.com > 516.901.1720 > > Sent from my iPad > > On Apr 9, 2012, at 7:25 PM, Scott Gray wrote: > >> That's great Nick, if y

Re: OFBiz / BigFish eCommerce Updates

2012-04-09 Thread Scott Gray
n Apache License, v2.0? >> >> Jacopo >> >> On Apr 5, 2012, at 8:25 PM, Nick Rosser wrote: >> >>> Apache open license. Interested in your thoughts. >>> >>> Nick >>> C: 516.901.1720 >>> nros...@salmonllc.com >>> >

Re: Dangerous security hole?

2012-04-05 Thread Scott Gray
The main issue regardless of the URL being hit is that JSON responses return the entire request attribute map. It is IMO a problem that we've always used the request attributes directly to pass data from events to views. Regards Scott On 6/04/2012, at 10:09 AM, Jacques Le Roux wrote: > OK, yo

Re: OFBiz / BigFish eCommerce Updates

2012-04-05 Thread Scott Gray
Hi Nick, Any progress on the licensing situation for the project? As an OFBiz committer I can't really look at your code without fear of tainting my open source work until I know what the license is. Regards Scott On 30/03/2012, at 4:19 AM, Nick Rosser wrote: > OFBiz users, > > Over the las

Re: Default security or how to make all request to a web app to require security by default.

2012-04-04 Thread Scott Gray
Hi Boris, You could consider implementing a custom preprocessor event that does its own auth check and redirects as appropriate. Regards Scott On 4/04/2012, at 6:45 AM, Boris Hamanov wrote: > Hi guys and gals, > > My case is that I need to make the default ecommerce app to be accesible to >

Re: version 11.4 or 10.4 most stable?

2012-01-30 Thread Scott Gray
IMO, each release/version is a balance of stability vs. new features. The older a release is, the more deployments it has seen and the more likely it is that most major bugs have been fixed. If you don't need the features in the newer versions (most don't) then the older versions are a better

Re: SECA on invoke, and error handling

2011-09-06 Thread Scott Gray
end continuing through ServiceDispatcher and friends tomorrow. > Once I'm done, I'll write up something that will hopefully help the > next person who has questions about secas and errors/failures. > > Cheers, > Anne. > > On 6 September 2011 17:47, Scott Gray wrote: &g

Re: SECA on invoke, and error handling

2011-09-06 Thread Scott Gray
run-on-error="true", run this eca service even when the main service flow contains an error condition ignore-error="true", do not allow an error return from this service to cause an error condition in the main service flow For example if you have a "validate" event eca with ignore-error="false"

Re: new product type: service product

2011-08-29 Thread Scott Gray
If this and the rental item topic are things that you plan on committing then the discussion really belongs in the dev list. Regards Scott On 30/08/2011, at 4:30 PM, Hans Bakker wrote: > this is the service to a product the customer delivers adhoc, not the > products owned by the company. so no

Re: Scope of context

2011-08-24 Thread Scott Gray
"context" in groovy typically refers to a screen context (that's where the bulk of the groovy scripts in OFBiz are run from). There is no context for request events so you need to put your data in the request attributes, anything placed in there will end up in the screen context. Regards Scott

Re: HTML markup in database

2011-08-02 Thread Scott Gray
${StringUtil.wrapString(custRequestItem.story)} Regards Scott On 3/08/2011, at 3:43 AM, Gavin Mabie wrote: > Hi > > > > I have added a visual-editor-enable="true" element to the story field in the > EditCustRequestItem form. The HTML markup is now saved in the database - > but when I want t

Re: Response status problem

2011-07-27 Thread Scott Gray
If you're trying to do this from within the screen widget then it is too late at that point because the response has moved past that point. You'll need to do it from a request event. Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/07/2011, at 7:53 PM, Ajay Lashkari wrote: > Hi Al

Re: Best way to remove demo data?

2011-07-25 Thread Scott Gray
d I conclusively agree that it makes the most sense. For the most > part, I believe trunk IS stable enough for production. > > On Mon, Jul 25, 2011 at 5:48 PM, Scott Gray > wrote: >> I'd definitely encourage early adopters to go for 11.04, but at the end of >> the day th

Re: Best way to remove demo data?

2011-07-25 Thread Scott Gray
d a junit test to check it what we did > for the shopping cart and checkout? > > That is the best assurance an error does not come back.. > > On Tue, 2011-07-26 at 14:33 +1200, Scott Gray wrote: >> If people are willing to believe that the trunk carries minimal extra risks

Re: Best way to remove demo data?

2011-07-25 Thread Scott Gray
every 3 months > when the upgrade efforts are minimal. > > Regards, > Hans > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > ofbiz.info on twitter: http://twitter.com/ofbiz_info > Antwebsystems.com: Quality services for competitive rates. > > > On Tue, 2011

Re: Best way to remove demo data?

2011-07-25 Thread Scott Gray
> Why 10.04 vs 11.04 at this point? 11.04 is way better (blogging > actually works). > > Also, as long as you have gone through the initial trouble of setting > up your own vendor branch (real important) using trunk is feasible. > > On Mon, Jul 25, 2011 at 3:44 AM, Scott Gray

Re: Best way to remove demo data?

2011-07-25 Thread Scott Gray
Just to put out an opposing point of view, I recommend using the latest stable release and not the trunk. The trunk is susceptible to new bugs whereas 10.04 is not and in fact has seen nothing but bug fixes for the past 15 months. So imagine taking the trunk and spending 15 months only fixing

Re: Issue with ajax and json response

2011-07-17 Thread Scott Gray
Yeah, checking for the _ERROR_MESSAGE* keys is the right way to go, would be great if you could create a jira issue so this doesn't get lost. Regards Scott HotWax Media http://www.hotwaxmedia.com On 17/07/2011, at 7:56 AM, Jonatan Soto wrote: > Well, I did a little read on the jquery ajax docu

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
old jobs from the database by hand. I was up to 2.6 > million rows. Ofbiz was pretty much unusable. > > If you have any other suggestions I'd love Yo hear them. > > On Wednesday, July 13, 2011, Scott Gray wrote: >> Ah okay, that is entirely dependent on the number of jo

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
0 PM, Josh Jacobson wrote: > Thanks again. I actually meant a suggestion for the transaction > timeout. In any case I am grateful for your explanation. > > > On Wednesday, July 13, 2011, Scott Gray wrote: >> As best I can tell there shouldn't be any need to increase the

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
the next poll. Regards Scott On 14/07/2011, at 1:02 PM, Josh Jacobson wrote: > Scott, > > Thanks! That is very precise advise. Do you have a suggestion on > interval time? 60 seconds? 120? > > Thanks, > > On Wed, Jul 13, 2011 at 5:34 PM, Scott Gray > wrote: >

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
That configuration is for the frequency of job polls. There isn't any ability to specify the transaction timeout via configuration so you'll need to modify the code directly: JobManager.java (line 148): beganTransaction = TransactionUtil.begin(); needs to be changed to use TransactionUtil.begin(

Re: Problem: mysql with ofbiz 10.4

2011-06-29 Thread Scott Gray
If someone hasn't suggested it already then get rid of this section: > entity-group-reader="main" entity-eca-reader="main"> > > You don't have a localpostgres datasource defined so you're going to get errors there. Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/06/201

Re: GenericValue and nulls

2011-06-28 Thread Scott Gray
atus == Boolean.FALSE) { > GenericValue denylistrcd = (GenericValue) denylistitr.next(); > I am getting a > java.lang.NullPointerException on this line > String remoteHoststr =denylistrcd.getString("remoteHost"); > > it works find it the field is not null > > Scott Gray se

  1   2   3   4   5   6   7   8   9   10   >