Re: Separate module for custom backend code and UI

2018-06-01 Thread Taher Alkhateeb
You can simply create your own theme, that would customize the interface
heavily while utilizing the DSL that comes with OFBiz

On Fri, Jun 1, 2018, 8:11 PM gaurav...@gmail.com 
wrote:

> Thanks Rajesh! As of now I'm just looking to use my UI instead of out of
> the box, so was checking how can I do that or the best way of doing that.
>
> On 2018/06/01 15:41:46, Rajesh Mallah  wrote:
> > Hi Gaurav ,
> >
> > In my case i have built an backend application using by favorite
> > platform that communicates to OFBiz using XML/RPC .
> >
> > my backend speaks to frontend using JSON and to backend
> > ofbiz webservices using XML/RPC.
> >
> >
> > This is one of the "options" .
> >
> > Please note since XML/RPC or SOAP is language-agnostic you
> > could use your favorite backend tool/framework to talk to backend.
> >
> > Things that i miss in this approach are:
> > (1) Seamless user session handling .
> > (2) Lack of transaction control.
> >   ( eg if you do 5 things in XML/RPC and 1 to 4 commits in DB and
> your
> >5 things fails , there is no easy way to undo/rollback 1 to 4,
> this
> > is becoz
> >each webservice is running in its on transaction , there is no way
> > to bundle
> >N number of webservices call in one transaction context )
> >
> > pls note these are not limitation of OFBiz but of this approach.
> >
> >
> > regds
> > mallah.
> >
> >
> >
> > On Fri, Jun 1, 2018 at 8:52 PM, gaurav...@gmail.com  >
> > wrote:
> >
> > > I'm not quite sure at that moment but my primary goal is to build my
> own
> > > UI, can you just what might be the options for me.
> > >
> > > On 2018/05/31 19:15:06, Rajesh Mallah  wrote:
> > > > Hi Gauravjlj ,
> > > >
> > > > Senior/experienced members might suggest more.
> > > >
> > > > It would also help if you could tell us more about your primary
> > > > development setup like web-framework , frontend layer etc.
> > > >
> > > > OFBiz is a very flexible and open system hence you can apply
> > > > your own choice regarding how to integrate it, initial learning curve
> > > > is bit high.
> > > > Documentation can be seen in various links under :
> > > > http://ofbiz.apache.org/  --> DOCS
> > > >
> > > > If you are comfortable with database schemas you may
> > > > browse  ,
> > > >
> https://cwiki.apache.org/confluence/display/OFBIZ/Data+Model+Diagrams
> > > > to get idea of various entities and relationships.
> > > >
> > > > I have been playing around with OFBiz for past 6-7 months and i feel
> > > > comfortable now.
> > > >
> > > >
> > > > Regds
> > > > mallah.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Fri, Jun 1, 2018 at 12:15 AM, gaurav...@gmail.com <
> > > gaurav...@gmail.com>
> > > > wrote:
> > > >
> > > > > Thanks Rajesh. I'm kind of newbie for ofbiz, would you be kind to
> > > redirect
> > > > > me to documentation for this or something to start with and to
> > > understand
> > > > > this stuff.
> > > > >
> > > > > On 2018/05/31 15:46:17, Rajesh Mallah 
> wrote:
> > > > > > Hi Gauravjlj ,
> > > > > >
> > > > > > Its very much possible. And there are multiple solutions.
> > > > > > I am doing the same in my own way utilizing OFBiz as the core
> > > backend.
> > > > > > I use XML/RPC to interact with OFBiz webservices there 3600+ of
> them
> > > .
> > > > > >
> > > > > > regds
> > > > > > mallah.
> > > > > >
> > > > > > On Thu, May 31, 2018 at 8:38 PM, gaurav...@gmail.com <
> > > > > gaurav...@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I want to use ofbiz as an online eCommerce store at least for
> the
> > > now
> > > > > but
> > > > > > > UI seems very old and can't fit in today's time.
> > > > > > > So,
> > > > > > > I would be having many changing in business logic in
> > > backend/frontend
> > > > > and
> > > > > > > I don't want to change the existing logic rather I want to
> build a
> > > top
> > > > > > > layer which will include my new UI and custom backend code, So
> out
> > > of
> > > > > the
> > > > > > > box code remains intact in that modular approach and also if
> any
> > > new
> > > > > > > release comes then it would be very easy to upgrade my system.
> Is
> > > that
> > > > > > > possible. We do the same thing in Oracle Commerce but I can't
> > > afford
> > > > > it :)
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Separate module for custom backend code and UI

2018-06-01 Thread gauravjlj
Thanks Rajesh! As of now I'm just looking to use my UI instead of out of the 
box, so was checking how can I do that or the best way of doing that.

On 2018/06/01 15:41:46, Rajesh Mallah  wrote: 
> Hi Gaurav ,
> 
> In my case i have built an backend application using by favorite
> platform that communicates to OFBiz using XML/RPC .
> 
> my backend speaks to frontend using JSON and to backend
> ofbiz webservices using XML/RPC.
> 
> 
> This is one of the "options" .
> 
> Please note since XML/RPC or SOAP is language-agnostic you
> could use your favorite backend tool/framework to talk to backend.
> 
> Things that i miss in this approach are:
> (1) Seamless user session handling .
> (2) Lack of transaction control.
>   ( eg if you do 5 things in XML/RPC and 1 to 4 commits in DB and your
>5 things fails , there is no easy way to undo/rollback 1 to 4, this
> is becoz
>each webservice is running in its on transaction , there is no way
> to bundle
>N number of webservices call in one transaction context )
> 
> pls note these are not limitation of OFBiz but of this approach.
> 
> 
> regds
> mallah.
> 
> 
> 
> On Fri, Jun 1, 2018 at 8:52 PM, gaurav...@gmail.com 
> wrote:
> 
> > I'm not quite sure at that moment but my primary goal is to build my own
> > UI, can you just what might be the options for me.
> >
> > On 2018/05/31 19:15:06, Rajesh Mallah  wrote:
> > > Hi Gauravjlj ,
> > >
> > > Senior/experienced members might suggest more.
> > >
> > > It would also help if you could tell us more about your primary
> > > development setup like web-framework , frontend layer etc.
> > >
> > > OFBiz is a very flexible and open system hence you can apply
> > > your own choice regarding how to integrate it, initial learning curve
> > > is bit high.
> > > Documentation can be seen in various links under :
> > > http://ofbiz.apache.org/  --> DOCS
> > >
> > > If you are comfortable with database schemas you may
> > > browse  ,
> > > https://cwiki.apache.org/confluence/display/OFBIZ/Data+Model+Diagrams
> > > to get idea of various entities and relationships.
> > >
> > > I have been playing around with OFBiz for past 6-7 months and i feel
> > > comfortable now.
> > >
> > >
> > > Regds
> > > mallah.
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Fri, Jun 1, 2018 at 12:15 AM, gaurav...@gmail.com <
> > gaurav...@gmail.com>
> > > wrote:
> > >
> > > > Thanks Rajesh. I'm kind of newbie for ofbiz, would you be kind to
> > redirect
> > > > me to documentation for this or something to start with and to
> > understand
> > > > this stuff.
> > > >
> > > > On 2018/05/31 15:46:17, Rajesh Mallah  wrote:
> > > > > Hi Gauravjlj ,
> > > > >
> > > > > Its very much possible. And there are multiple solutions.
> > > > > I am doing the same in my own way utilizing OFBiz as the core
> > backend.
> > > > > I use XML/RPC to interact with OFBiz webservices there 3600+ of them
> > .
> > > > >
> > > > > regds
> > > > > mallah.
> > > > >
> > > > > On Thu, May 31, 2018 at 8:38 PM, gaurav...@gmail.com <
> > > > gaurav...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > I want to use ofbiz as an online eCommerce store at least for the
> > now
> > > > but
> > > > > > UI seems very old and can't fit in today's time.
> > > > > > So,
> > > > > > I would be having many changing in business logic in
> > backend/frontend
> > > > and
> > > > > > I don't want to change the existing logic rather I want to build a
> > top
> > > > > > layer which will include my new UI and custom backend code, So out
> > of
> > > > the
> > > > > > box code remains intact in that modular approach and also if any
> > new
> > > > > > release comes then it would be very easy to upgrade my system. Is
> > that
> > > > > > possible. We do the same thing in Oracle Commerce but I can't
> > afford
> > > > it :)
> > > > > >
> > > > >
> > > >
> > >
> >
> 


Re: Separate module for custom backend code and UI

2018-06-01 Thread Rajesh Mallah
Hi Gaurav ,

In my case i have built an backend application using by favorite
platform that communicates to OFBiz using XML/RPC .

my backend speaks to frontend using JSON and to backend
ofbiz webservices using XML/RPC.


This is one of the "options" .

Please note since XML/RPC or SOAP is language-agnostic you
could use your favorite backend tool/framework to talk to backend.

Things that i miss in this approach are:
(1) Seamless user session handling .
(2) Lack of transaction control.
  ( eg if you do 5 things in XML/RPC and 1 to 4 commits in DB and your
   5 things fails , there is no easy way to undo/rollback 1 to 4, this
is becoz
   each webservice is running in its on transaction , there is no way
to bundle
   N number of webservices call in one transaction context )

pls note these are not limitation of OFBiz but of this approach.


regds
mallah.



On Fri, Jun 1, 2018 at 8:52 PM, gaurav...@gmail.com 
wrote:

> I'm not quite sure at that moment but my primary goal is to build my own
> UI, can you just what might be the options for me.
>
> On 2018/05/31 19:15:06, Rajesh Mallah  wrote:
> > Hi Gauravjlj ,
> >
> > Senior/experienced members might suggest more.
> >
> > It would also help if you could tell us more about your primary
> > development setup like web-framework , frontend layer etc.
> >
> > OFBiz is a very flexible and open system hence you can apply
> > your own choice regarding how to integrate it, initial learning curve
> > is bit high.
> > Documentation can be seen in various links under :
> > http://ofbiz.apache.org/  --> DOCS
> >
> > If you are comfortable with database schemas you may
> > browse  ,
> > https://cwiki.apache.org/confluence/display/OFBIZ/Data+Model+Diagrams
> > to get idea of various entities and relationships.
> >
> > I have been playing around with OFBiz for past 6-7 months and i feel
> > comfortable now.
> >
> >
> > Regds
> > mallah.
> >
> >
> >
> >
> >
> >
> > On Fri, Jun 1, 2018 at 12:15 AM, gaurav...@gmail.com <
> gaurav...@gmail.com>
> > wrote:
> >
> > > Thanks Rajesh. I'm kind of newbie for ofbiz, would you be kind to
> redirect
> > > me to documentation for this or something to start with and to
> understand
> > > this stuff.
> > >
> > > On 2018/05/31 15:46:17, Rajesh Mallah  wrote:
> > > > Hi Gauravjlj ,
> > > >
> > > > Its very much possible. And there are multiple solutions.
> > > > I am doing the same in my own way utilizing OFBiz as the core
> backend.
> > > > I use XML/RPC to interact with OFBiz webservices there 3600+ of them
> .
> > > >
> > > > regds
> > > > mallah.
> > > >
> > > > On Thu, May 31, 2018 at 8:38 PM, gaurav...@gmail.com <
> > > gaurav...@gmail.com>
> > > > wrote:
> > > >
> > > > > I want to use ofbiz as an online eCommerce store at least for the
> now
> > > but
> > > > > UI seems very old and can't fit in today's time.
> > > > > So,
> > > > > I would be having many changing in business logic in
> backend/frontend
> > > and
> > > > > I don't want to change the existing logic rather I want to build a
> top
> > > > > layer which will include my new UI and custom backend code, So out
> of
> > > the
> > > > > box code remains intact in that modular approach and also if any
> new
> > > > > release comes then it would be very easy to upgrade my system. Is
> that
> > > > > possible. We do the same thing in Oracle Commerce but I can't
> afford
> > > it :)
> > > > >
> > > >
> > >
> >
>


Re: Separate module for custom backend code and UI

2018-06-01 Thread gauravjlj
I'm not quite sure at that moment but my primary goal is to build my own UI, 
can you just what might be the options for me.

On 2018/05/31 19:15:06, Rajesh Mallah  wrote: 
> Hi Gauravjlj ,
> 
> Senior/experienced members might suggest more.
> 
> It would also help if you could tell us more about your primary
> development setup like web-framework , frontend layer etc.
> 
> OFBiz is a very flexible and open system hence you can apply
> your own choice regarding how to integrate it, initial learning curve
> is bit high.
> Documentation can be seen in various links under :
> http://ofbiz.apache.org/  --> DOCS
> 
> If you are comfortable with database schemas you may
> browse  ,
> https://cwiki.apache.org/confluence/display/OFBIZ/Data+Model+Diagrams
> to get idea of various entities and relationships.
> 
> I have been playing around with OFBiz for past 6-7 months and i feel
> comfortable now.
> 
> 
> Regds
> mallah.
> 
> 
> 
> 
> 
> 
> On Fri, Jun 1, 2018 at 12:15 AM, gaurav...@gmail.com 
> wrote:
> 
> > Thanks Rajesh. I'm kind of newbie for ofbiz, would you be kind to redirect
> > me to documentation for this or something to start with and to understand
> > this stuff.
> >
> > On 2018/05/31 15:46:17, Rajesh Mallah  wrote:
> > > Hi Gauravjlj ,
> > >
> > > Its very much possible. And there are multiple solutions.
> > > I am doing the same in my own way utilizing OFBiz as the core backend.
> > > I use XML/RPC to interact with OFBiz webservices there 3600+ of them .
> > >
> > > regds
> > > mallah.
> > >
> > > On Thu, May 31, 2018 at 8:38 PM, gaurav...@gmail.com <
> > gaurav...@gmail.com>
> > > wrote:
> > >
> > > > I want to use ofbiz as an online eCommerce store at least for the now
> > but
> > > > UI seems very old and can't fit in today's time.
> > > > So,
> > > > I would be having many changing in business logic in backend/frontend
> > and
> > > > I don't want to change the existing logic rather I want to build a top
> > > > layer which will include my new UI and custom backend code, So out of
> > the
> > > > box code remains intact in that modular approach and also if any new
> > > > release comes then it would be very easy to upgrade my system. Is that
> > > > possible. We do the same thing in Oracle Commerce but I can't afford
> > it :)
> > > >
> > >
> >
> 


Re: Payment Gateway Config Error

2018-06-01 Thread Wolfgang Paul Rauchholz
Not sure what happend, but I really did not change anything. I do also have
problems with uploading XML files I had created before by exporting from
ofbiz into the empye db.
Did I do something wrong with setting up the installation? This is what I
did:
(1) Install sources:
svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11 ofbiz
cd ofbiz
svn co http://svn.apache.org/repos/asf/ofbiz/tools ofbiz-tools
svn co http://svn.apache.org/repos/asf/ofbiz/site ofbiz-website

(2) runnning on mysql  I made changes in gradle.build and entityengine.xml
accordingly.
(3) create database ofbiz
(4) ./gradlew build
(5) ./gradlew "ofbiz --load-data readers=seed,seed-initial"
loadAdminUserLogin -PuserLoginId=my_username

gradlew ran wi/o an error message. Initial data were (mostly I guess)
loaded correctly.

Wolfgang

On Thu, May 31, 2018 at 10:04 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> You certainly changed something. It works in demos
>
> https://demo-trunk.ofbiz.apache.org/accounting/control/EditP
> aymentGatewayConfig?paymentGatewayConfigId=CLEARCOMMERCE_CONFIG
>
> https://demo-stable.ofbiz.apache.org/accounting/control/Edit
> PaymentGatewayConfig?paymentGatewayConfigId=CLEARCOMMERCE_CONFIG
>
> This said and unrelated I don't see Authorize Dot Net Config <
> https://demo-stable.ofbiz.apache.org/accounting/control/Edi
> tPaymentGatewayConfig?paymentGatewayConfigId=AUTHORIZE_NET_CONFIG> in
> trunk (exists in stable)
>
> https://demo-trunk.ofbiz.apache.org/accounting/control/FindP
> aymentGatewayConfig
>
> Jacques
>
>
>
> Le 31/05/2018 à 18:25, wp.rauchh...@gmail.com a écrit :
>
>> I am in the Payment Gateway Config module.
>> When hitting the link 'Authorize Dot Net Config' ofbiz shows the
>> configuration of it.
>> but when I hit "Clear Commerce Config" it throws out an error message
>>
>> Any idea whay this happens? I did not change anything, just wanted to
>> look.
>>
>> Thanks, WOlfgang
>>
>>
>> ERROR rendering error page [/error/error.jsp], but here is the error
>> text: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error
>> rendering screen [component://accounting/widget
>> /PaymentGatewayConfigScreens.xml#EditPaymentGatewayConfig]:
>> java.lang.IllegalArgumentException: Error doing entity query by
>> condition: org.apache.ofbiz.base.util.GeneralException: Error finding
>> entity value by primary key with entity-one: 
>> org.apache.ofbiz.entity.GenericEntityException:
>> org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal'
>> with cipher instance [javax.crypto.Cipher@53a1f3aa]. (Unable to execute
>> 'doFinal' with cipher instance [javax.crypto.Cipher@53a1f3aa].)
>> (org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal'
>> with cipher instance [javax.crypto.Cipher@53a1f3aa]. (Unable to execute
>> 'doFinal' with cipher instance [javax.crypto.Cipher@53a1f3aa].)) (Error
>> doing entity query by condition: org.apache.ofbiz.base.util.GeneralException:
>> Error finding entity value by
>>   primary key with entity-one: 
>> org.apache.ofbiz.entity.GenericEntityException:
>> org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal'
>> with cipher instance [javax.crypto.Cipher@53a1f3aa]. (Unable to execute
>> 'doFinal' with cipher instance [javax.crypto.Cipher@53a1f3aa].)
>> (org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal'
>> with cipher instance [javax.crypto.Cipher@53a1f3aa]. (Unable to execute
>> 'doFinal' with cipher instance [javax.crypto.Cipher@53a1f3aa].)))
>>
>>
>>
>>
>


-- 

Wolfgang Rauchholz


RE: Adding Actual Labor to Manufacturing Process

2018-06-01 Thread james
Anyone familiar with the manufacturing process and how to add labor to
the costs of a manufactured item.

 Original Message 
Subject: Adding Actual Labor to Manufacturing Process
From: 
Date: Tue, May 29, 2018 5:02 pm
To: user@ofbiz.apache.org

Is there a way in ofbiz to add the actual labor utilized to calculate
the costs of a manufactured item? If so is this done in the production
process or is it generic on the catalog? Also is there a way in the
catalog to utilize the true costs either manufactured costs or Moving
Average from the financials as a base price that can be utilized for
creating price rules?

Thanks,

James


Re: svn commit: r1832577 - /ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java

2018-06-01 Thread Jacques Le Roux

Hi Wei,

Your mail has been moderated, please subscribe to the user ML

Normally TortoiseSvn asks you to enter a credential to commit and offers the possibility to save it. At least that's how it works here. Once done, you 
don't have to enter the credential again.


Anyway not a big deal, it's up to you to see if you want to fix this issue for 
the next commit comment change ;)

Jacques


Le 01/06/2018 à 08:49, Wei Zhang a écrit :

I checked out repository in a new folder without user/pass and updating svn log 
did not prompt me to input user/pass. I am not sure if it is caused by I didn't 
input user/pass.

在 2018/6/1 下午2:43,“Jacques Le Roux” 写入:

 BTW,
 
 We should (mostly you Wei actually) look for what is causing this issue.
 
 And maybe create an Infra Jira to fix it but be sure before that it's not on your side.
 
 I'm sure it's not ToirtoiseSvn, I use it also. Maybe check your version though, mine is 1.10.0
 
 Jacques
 
 
 Le 01/06/2018 à 08:33, Jacques Le Roux a écrit :

 > Hi Wei,
 >
 > Too bad, I forgot this point and backported before receiving your 
message :D
 >
 > I'll change them all, no worries
 >
 > Cheers
 >
 > Jacques
 >
 >
 > Le 01/06/2018 à 02:44, Wei Zhang a écrit :
 >> Hi Jacques,
 >>
 >> I have created OFBIZ-10419 on JIRA but I cannot update svn log, please 
see the error in the attachment. I am appreciated if you can help to do it.
 >>
 >> Kind Regards,
 >>
 >> Wei
 >>
 >> 在 2018/5/31 下午5:35,“Jacques Le Roux” 写入:
 >>
 >>  Create a JIRA issue for it and update SVN log fits with me
 >>   Thanks to care :)
 >>   Jacques
 >>Le 31/05/2018 à 11:10, Wei Zhang a écrit :
 >>  > Hi Jacques,
 >>  >
 >>  > Sorry for the inconvenience.
 >>  >
 >>  > Should I revert the fix or create a JIRA issue for it and update 
SVN log?
 >>  >
 >>  > Kind Regards,
 >>  >
 >>  > Wei
 >>  >
 >>  >
 >>  > 在 2018/5/31 下午5:01,“Jacques Le 
Roux” 写入:
 >>  >
 >>  >  Hi Zhang,
 >>  >
 >>  >  This is a core functionality. Even if it's an edge case, I 
believe a Jira would have been appropriate and it should be backported.
 >>  >
 >>  >  Also please follow our best practices regarding commit 
comment:
 >>  >
 >>  >
 >> 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Committers+Roles+and+Responsibilities#OFBizCommittersRolesandResponsibilities-CommittingChanges
 >>  >
 >>  > 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+commit+message+template
 >>  >
 >>  >  Thanks
 >>  >
 >>  >  Jacques
 >>  >
 >>  >  Le 31/05/2018 à 03:20, zhang...@apache.org a écrit :
 >>  >  > Author: zhangwei
 >>  >  > Date: Thu May 31 01:20:54 2018
 >>  >  > New Revision: 1832577
 >>  >  >
 >>  >  > URL: http://svn.apache.org/viewvc?rev=1832577=rev
 >>  >  > Log:
 >>  >  > A minor fix for serviceEndTime conversion
 >>  >  >
 >>  >  > Modified:
 >>  >  > 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 >>  >  >
 >>  >  > Modified: 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 >>  >  > URL:
 >> 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java?rev=1832577=1832576=1832577=diff
 >>  >  > 
==
 >>  >  > --- 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 (original)
 >>  >  > +++ 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 Thu May 31 01:20:54 2018
 >>  >  > @@ -240,7 +240,7 @@ public class CoreEvents {
 >>  >  >   endTime = ts1.getTime();
 >>  >  >   } catch (IllegalArgumentException e) {
 >>  >  >   try {
 >>  >  > -endTime = 
Long.parseLong(serviceTime);
 >>  >  > +endTime = 
Long.parseLong(serviceEndTime);
 >>  >  >   } catch (NumberFormatException nfe) {
 >>  >  >   String errMsg = 
UtilProperties.getMessage(CoreEvents.err_resource, "coreEvents.invalid_format_time", 
locale);
 >>  >  > errorBuf.append(errMsg);
 >>  >  >
 >>  >  >
 >>  >  >
 >>

Re: svn commit: r1832577 - /ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java

2018-06-01 Thread Wei Zhang
I checked out repository in a new folder without user/pass and updating svn log 
did not prompt me to input user/pass. I am not sure if it is caused by I didn't 
input user/pass.

在 2018/6/1 下午2:43,“Jacques Le Roux” 写入:

BTW,

We should (mostly you Wei actually) look for what is causing this issue.

And maybe create an Infra Jira to fix it but be sure before that it's not 
on your side.

I'm sure it's not ToirtoiseSvn, I use it also. Maybe check your version 
though, mine is 1.10.0

Jacques


Le 01/06/2018 à 08:33, Jacques Le Roux a écrit :
> Hi Wei,
>
> Too bad, I forgot this point and backported before receiving your message 
:D
>
> I'll change them all, no worries
>
> Cheers
>
> Jacques
>
>
> Le 01/06/2018 à 02:44, Wei Zhang a écrit :
>> Hi Jacques,
>>
>> I have created OFBIZ-10419 on JIRA but I cannot update svn log, please 
see the error in the attachment. I am appreciated if you can help to do it.
>>
>> Kind Regards,
>>
>> Wei
>>
>> 在 2018/5/31 下午5:35,“Jacques Le Roux” 写入:
>>
>>  Create a JIRA issue for it and update SVN log fits with me
>>   Thanks to care :)
>>   Jacques
>>Le 31/05/2018 à 11:10, Wei Zhang a écrit :
>>  > Hi Jacques,
>>  >
>>  > Sorry for the inconvenience.
>>  >
>>  > Should I revert the fix or create a JIRA issue for it and update 
SVN log?
>>  >
>>  > Kind Regards,
>>  >
>>  > Wei
>>  >
>>  >
>>  > 在 2018/5/31 下午5:01,“Jacques Le 
Roux” 写入:
>>  >
>>  >  Hi Zhang,
>>  >
>>  >  This is a core functionality. Even if it's an edge case, I 
believe a Jira would have been appropriate and it should be backported.
>>  >
>>  >  Also please follow our best practices regarding commit 
comment:
>>  >
>>  > 
>> 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Committers+Roles+and+Responsibilities#OFBizCommittersRolesandResponsibilities-CommittingChanges
>>  >
>>  > 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+commit+message+template
>>  >
>>  >  Thanks
>>  >
>>  >  Jacques
>>  >
>>  >  Le 31/05/2018 à 03:20, zhang...@apache.org a écrit :
>>  >  > Author: zhangwei
>>  >  > Date: Thu May 31 01:20:54 2018
>>  >  > New Revision: 1832577
>>  >  >
>>  >  > URL: http://svn.apache.org/viewvc?rev=1832577=rev
>>  >  > Log:
>>  >  > A minor fix for serviceEndTime conversion
>>  >  >
>>  >  > Modified:
>>  >  > 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
>>  >  >
>>  >  > Modified: 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
>>  >  > URL: 
>> 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java?rev=1832577=1832576=1832577=diff
>>  >  > 
==
>>  >  > --- 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 (original)
>>  >  > +++ 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 Thu May 31 01:20:54 2018
>>  >  > @@ -240,7 +240,7 @@ public class CoreEvents {
>>  >  >   endTime = ts1.getTime();
>>  >  >   } catch (IllegalArgumentException e) {
>>  >  >   try {
>>  >  > -endTime = Long.parseLong(serviceTime);
>>  >  > +endTime = 
Long.parseLong(serviceEndTime);
>>  >  >   } catch (NumberFormatException nfe) {
>>  >  >   String errMsg = 
UtilProperties.getMessage(CoreEvents.err_resource, 
"coreEvents.invalid_format_time", locale);
>>  >  > errorBuf.append(errMsg);
>>  >  >
>>  >  >
>>  >  >
>>  >
>>  >
>>  >
>>  >
>>  > 
>>  >
>>  > Shinetech Software Inc. (Microsoft Gold Certified Partner)
>>  > - Software Development Solutions.
>>  > - Web Development Solutions.
>>  > - Volume Licensing Solutions.
>>  > 
===
>>  >
>>  > Think green- please don't print this e-mail unless you really 
need to!
>>  >
 

Re: Separate module for custom backend code and UI

2018-06-01 Thread Rajesh Mallah
Hi Aditya ,
Thanks for the link to Service Engine Guide , looks nice at a cursory
glance.

Regds
mallah.

On Fri, Jun 1, 2018 at 11:10 AM, Aditya Sharma <
aditya.sha...@hotwaxsystems.com> wrote:

> Hi Gauravjlj,
>
> You can have your own custom plugin with custom UI. Refer the following
> link
>
> https://cwiki.apache.org/confluence/display/OFBIZ/
> OFBiz+Tutorial+-+A+Beginners+Development+Guide+for+16.11#OFBizTutorial-
> ABeginnersDevelopmentGuidefor16.11-CustomizingUserInterface
>
> You can override core services & events according to your custom needs in
> your component.
>
> Refer the following link:
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Service+Engine+Guide
>
> HTH
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Commerce  by HotWax Systems
> 
>
> 
>
>
> On Fri, Jun 1, 2018 at 5:44 AM Charles LC So 
> wrote:
>
> > May be I can be more specific in the ideal implementation.
> >
> > As there are lots of commercial templates (some are of decent quality,
> but
> > still quite buggy) for various carts in the marketplace, may be we can
> have
> > most of the up-front front end work done by buying these templates and
> just
> > work on integrating the template into OFBiz.
> >
> > This should reduce a substantial portion of effort needed to have a
> modern
> > front end (without being an expert in CSS, JavaScript, JQuery, blah blah
> > blah).
> >
> > Charles
> >
> > > On 1 Jun 2018, at 8:08 AM, Charles LC So 
> wrote:
> > >
> > > Hello all
> > >
> > > I’m evaluating the same aspect of OFBiz too.
> > >
> > > I evaluated OFBiz 10 years ago. At that time the front end was not
> > easily changed, and we need to have our Store online ASAP, so the only
> > choice we have is OpenCart.
> > >
> > > Gosh, as some of us swear, OC is total crap.
> > >
> > > Now our shop has been live for almost 6 years, and we want to take a
> > look at OFBiz again, and hopefully re-implement what we need in our shop
> > within OFBiz.
> > >
> > > Is there a templating framework (or something that enables us to handle
> > the needs of B2C) within OFBiz for the DIYers now, or do we need to pay a
> > services company to do a modern front end for us?
> > >
> > > Much thx!
> > > Charles
> > >
> > >> On 1 Jun 2018, at 2:45 AM, gaurav...@gmail.com 
> > wrote:
> > >>
> > >> Thanks Rajesh. I'm kind of newbie for ofbiz, would you be kind to
> > redirect me to documentation for this or something to start with and to
> > understand this stuff.
> > >>
> > >>> On 2018/05/31 15:46:17, Rajesh Mallah 
> > wrote:
> > >>> Hi Gauravjlj ,
> > >>>
> > >>> Its very much possible. And there are multiple solutions.
> > >>> I am doing the same in my own way utilizing OFBiz as the core
> backend.
> > >>> I use XML/RPC to interact with OFBiz webservices there 3600+ of them
> .
> > >>>
> > >>> regds
> > >>> mallah.
> > >>>
> > >>> On Thu, May 31, 2018 at 8:38 PM, gaurav...@gmail.com <
> > gaurav...@gmail.com>
> > >>> wrote:
> > >>>
> >  I want to use ofbiz as an online eCommerce store at least for the
> now
> > but
> >  UI seems very old and can't fit in today's time.
> >  So,
> >  I would be having many changing in business logic in
> backend/frontend
> > and
> >  I don't want to change the existing logic rather I want to build a
> top
> >  layer which will include my new UI and custom backend code, So out
> of
> > the
> >  box code remains intact in that modular approach and also if any new
> >  release comes then it would be very easy to upgrade my system. Is
> that
> >  possible. We do the same thing in Oracle Commerce but I can't afford
> > it :)
> > 
> > >>>
> > >
> >
> >
>


Re: svn commit: r1832577 - /ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java

2018-06-01 Thread Wei Zhang
I checked out repository in a new folder without user/pass and updating svn log 
did not prompt me to input user/pass. I am not sure if it is caused by I didn't 
input user/pass.

在 2018/6/1 下午2:43,“Jacques Le Roux” 写入:

BTW,

We should (mostly you Wei actually) look for what is causing this issue.

And maybe create an Infra Jira to fix it but be sure before that it's not 
on your side.

I'm sure it's not ToirtoiseSvn, I use it also. Maybe check your version 
though, mine is 1.10.0

Jacques


Le 01/06/2018 à 08:33, Jacques Le Roux a écrit :
> Hi Wei,
>
> Too bad, I forgot this point and backported before receiving your message 
:D
>
> I'll change them all, no worries
>
> Cheers
>
> Jacques
>
>
> Le 01/06/2018 à 02:44, Wei Zhang a écrit :
>> Hi Jacques,
>>
>> I have created OFBIZ-10419 on JIRA but I cannot update svn log, please 
see the error in the attachment. I am appreciated if you can help to do it.
>>
>> Kind Regards,
>>
>> Wei
>>
>> 在 2018/5/31 下午5:35,“Jacques Le Roux” 写入:
>>
>>  Create a JIRA issue for it and update SVN log fits with me
>>   Thanks to care :)
>>   Jacques
>>Le 31/05/2018 à 11:10, Wei Zhang a écrit :
>>  > Hi Jacques,
>>  >
>>  > Sorry for the inconvenience.
>>  >
>>  > Should I revert the fix or create a JIRA issue for it and update 
SVN log?
>>  >
>>  > Kind Regards,
>>  >
>>  > Wei
>>  >
>>  >
>>  > 在 2018/5/31 下午5:01,“Jacques Le 
Roux” 写入:
>>  >
>>  >  Hi Zhang,
>>  >
>>  >  This is a core functionality. Even if it's an edge case, I 
believe a Jira would have been appropriate and it should be backported.
>>  >
>>  >  Also please follow our best practices regarding commit 
comment:
>>  >
>>  > 
>> 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Committers+Roles+and+Responsibilities#OFBizCommittersRolesandResponsibilities-CommittingChanges
>>  >
>>  > 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+commit+message+template
>>  >
>>  >  Thanks
>>  >
>>  >  Jacques
>>  >
>>  >  Le 31/05/2018 à 03:20, zhang...@apache.org a écrit :
>>  >  > Author: zhangwei
>>  >  > Date: Thu May 31 01:20:54 2018
>>  >  > New Revision: 1832577
>>  >  >
>>  >  > URL: http://svn.apache.org/viewvc?rev=1832577=rev
>>  >  > Log:
>>  >  > A minor fix for serviceEndTime conversion
>>  >  >
>>  >  > Modified:
>>  >  > 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
>>  >  >
>>  >  > Modified: 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
>>  >  > URL: 
>> 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java?rev=1832577=1832576=1832577=diff
>>  >  > 
==
>>  >  > --- 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 (original)
>>  >  > +++ 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 Thu May 31 01:20:54 2018
>>  >  > @@ -240,7 +240,7 @@ public class CoreEvents {
>>  >  >   endTime = ts1.getTime();
>>  >  >   } catch (IllegalArgumentException e) {
>>  >  >   try {
>>  >  > -endTime = Long.parseLong(serviceTime);
>>  >  > +endTime = 
Long.parseLong(serviceEndTime);
>>  >  >   } catch (NumberFormatException nfe) {
>>  >  >   String errMsg = 
UtilProperties.getMessage(CoreEvents.err_resource, 
"coreEvents.invalid_format_time", locale);
>>  >  > errorBuf.append(errMsg);
>>  >  >
>>  >  >
>>  >  >
>>  >
>>  >
>>  >
>>  >
>>  > 
>>  >
>>  > Shinetech Software Inc. (Microsoft Gold Certified Partner)
>>  > - Software Development Solutions.
>>  > - Web Development Solutions.
>>  > - Volume Licensing Solutions.
>>  > 
===
>>  >
>>  > Think green- please don't print this e-mail unless you really 
need to!
>>  >
 

Re: svn commit: r1832577 - /ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java

2018-06-01 Thread Jacques Le Roux

BTW,

We should (mostly you Wei actually) look for what is causing this issue.

And maybe create an Infra Jira to fix it but be sure before that it's not on 
your side.

I'm sure it's not ToirtoiseSvn, I use it also. Maybe check your version though, 
mine is 1.10.0

Jacques


Le 01/06/2018 à 08:33, Jacques Le Roux a écrit :

Hi Wei,

Too bad, I forgot this point and backported before receiving your message :D

I'll change them all, no worries

Cheers

Jacques


Le 01/06/2018 à 02:44, Wei Zhang a écrit :

Hi Jacques,

I have created OFBIZ-10419 on JIRA but I cannot update svn log, please see the 
error in the attachment. I am appreciated if you can help to do it.

Kind Regards,

Wei

在 2018/5/31 下午5:35,“Jacques Le Roux” 写入:

 Create a JIRA issue for it and update SVN log fits with me
  Thanks to care :)
  Jacques
   Le 31/05/2018 à 11:10, Wei Zhang a écrit :
 > Hi Jacques,
 >
 > Sorry for the inconvenience.
 >
 > Should I revert the fix or create a JIRA issue for it and update SVN log?
 >
 > Kind Regards,
 >
 > Wei
 >
 >
 > 在 2018/5/31 下午5:01,“Jacques Le Roux” 写入:
 >
 >  Hi Zhang,
 >
 >  This is a core functionality. Even if it's an edge case, I believe 
a Jira would have been appropriate and it should be backported.
 >
 >  Also please follow our best practices regarding commit comment:
 >
 > 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Committers+Roles+and+Responsibilities#OFBizCommittersRolesandResponsibilities-CommittingChanges

 >
 > 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+commit+message+template
 >
 >  Thanks
 >
 >  Jacques
 >
 >  Le 31/05/2018 à 03:20, zhang...@apache.org a écrit :
 >  > Author: zhangwei
 >  > Date: Thu May 31 01:20:54 2018
 >  > New Revision: 1832577
 >  >
 >  > URL: http://svn.apache.org/viewvc?rev=1832577=rev
 >  > Log:
 >  > A minor fix for serviceEndTime conversion
 >  >
 >  > Modified:
 >  > 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 >  >
 >  > Modified: 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 >  > URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java?rev=1832577=1832576=1832577=diff

 >  > 
==
 >  > --- 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 (original)
 >  > +++ 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 Thu May 31 01:20:54 2018
 >  > @@ -240,7 +240,7 @@ public class CoreEvents {
 >  >   endTime = ts1.getTime();
 >  >   } catch (IllegalArgumentException e) {
 >  >   try {
 >  > -    endTime = Long.parseLong(serviceTime);
 >  > +    endTime = Long.parseLong(serviceEndTime);
 >  >   } catch (NumberFormatException nfe) {
 >  >   String errMsg = 
UtilProperties.getMessage(CoreEvents.err_resource, "coreEvents.invalid_format_time", 
locale);
 >  > errorBuf.append(errMsg);
 >  >
 >  >
 >  >
 >
 >
 >
 >
 > 
 >
 > Shinetech Software Inc. (Microsoft Gold Certified Partner)
 > - Software Development Solutions.
 > - Web Development Solutions.
 > - Volume Licensing Solutions.
 > 
===
 >
 > Think green- please don't print this e-mail unless you really need to!
 >
 > Shinetech Disclaimer:
 > The information contained in this electronic message and any attached documents may contain confidential and privileged information that is 
for the sole use of the intended recipient(s). If you are not the intended recipient, note that any unauthorized review, disclosure, copying, 
distribution, or use of the contents of this electronic message or any attached documents is prohibited. If you have received this communication in 
error, please destroy it and notify Shinetech immediately.









Re: svn commit: r1832577 - /ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java

2018-06-01 Thread Jacques Le Roux

Hi Wei,

Too bad, I forgot this point and backported before receiving your message :D

I'll change them all, no worries

Cheers

Jacques


Le 01/06/2018 à 02:44, Wei Zhang a écrit :

Hi Jacques,

I have created OFBIZ-10419 on JIRA but I cannot update svn log, please see the 
error in the attachment. I am appreciated if you can help to do it.

Kind Regards,

Wei

在 2018/5/31 下午5:35,“Jacques Le Roux” 写入:

 Create a JIRA issue for it and update SVN log fits with me
 
 Thanks to care :)
 
 Jacques
 
 
 Le 31/05/2018 à 11:10, Wei Zhang a écrit :

 > Hi Jacques,
 >
 > Sorry for the inconvenience.
 >
 > Should I revert the fix or create a JIRA issue for it and update SVN log?
 >
 > Kind Regards,
 >
 > Wei
 >
 >
 > 在 2018/5/31 下午5:01,“Jacques Le Roux” 写入:
 >
 >  Hi Zhang,
 >
 >  This is a core functionality. Even if it's an edge case, I believe 
a Jira would have been appropriate and it should be backported.
 >
 >  Also please follow our best practices regarding commit comment:
 >
 >  
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Committers+Roles+and+Responsibilities#OFBizCommittersRolesandResponsibilities-CommittingChanges
 >
 >  
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+commit+message+template
 >
 >  Thanks
 >
 >  Jacques
 >
 >  Le 31/05/2018 à 03:20, zhang...@apache.org a écrit :
 >  > Author: zhangwei
 >  > Date: Thu May 31 01:20:54 2018
 >  > New Revision: 1832577
 >  >
 >  > URL: http://svn.apache.org/viewvc?rev=1832577=rev
 >  > Log:
 >  > A minor fix for serviceEndTime conversion
 >  >
 >  > Modified:
 >  >  
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 >  >
 >  > Modified: 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 >  > URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java?rev=1832577=1832576=1832577=diff
 >  > 
==
 >  > --- 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 (original)
 >  > +++ 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/event/CoreEvents.java
 Thu May 31 01:20:54 2018
 >  > @@ -240,7 +240,7 @@ public class CoreEvents {
 >  >   endTime = ts1.getTime();
 >  >   } catch (IllegalArgumentException e) {
 >  >   try {
 >  > -endTime = Long.parseLong(serviceTime);
 >  > +endTime = Long.parseLong(serviceEndTime);
 >  >   } catch (NumberFormatException nfe) {
 >  >   String errMsg = 
UtilProperties.getMessage(CoreEvents.err_resource, "coreEvents.invalid_format_time", 
locale);
 >  >   errorBuf.append(errMsg);
 >  >
 >  >
 >  >
 >
 >
 >
 >
 > 
 >
 > Shinetech Software Inc. (Microsoft Gold Certified Partner)
 > - Software Development Solutions.
 > - Web Development Solutions.
 > - Volume Licensing Solutions.
 > 
===
 >
 > Think green- please don't print this e-mail unless you really need to!
 >
 > Shinetech Disclaimer:
 > The information contained in this electronic message and any attached 
documents may contain confidential and privileged information that is for the sole 
use of the intended recipient(s). If you are not the intended recipient, note that 
any unauthorized review, disclosure, copying, distribution, or use of the contents 
of this electronic message or any attached documents is prohibited. If you have 
received this communication in error, please destroy it and notify Shinetech 
immediately.