Re: OFBiz Statistics in monthly blog entries

2019-05-20 Thread Aditya Sharma
Indeed! Looks Great. Thanks Pierre for your efforts. We will see to it if
we can utilize some information from it.

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>



On Mon, May 20, 2019 at 10:30 AM Pritam Kute 
wrote:

> That's cool Pierre. Thanks for your efforts.
>
> Kind Regards,
> --
> Pritam Kute
>
>
> On Sat, May 18, 2019 at 12:37 PM Pierre Smits 
> wrote:
>
> > Hi all,
> >
> > I finally got an OFBiz dashboard working. See
> >
> https://issues.apache.org/jira/secure/Dashboard.jspa?selectPageId=12310603
> >
> > Best regards,
> >
> > Pierre Smits
> >
> > *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> > *Apache Directory <https://directory.apache.org>, PMC Member*
> > Apache Incubator <https://incubator.apache.org>, committer
> > *Apache OFBiz <https://ofbiz.apache.org>, contributor (without
> privileges)
> > since 2008*
> > Apache Steve <https://steve.apache.org>, committer
> >
> >
> > On Mon, May 6, 2019 at 9:22 AM Aditya Sharma 
> > wrote:
> >
> > > Thank you Suraj for your input!
> > >
> > > Thank you Jacques for sharing the insights.
> > >
> > > Thank you Pierre for your inputs. Initially, we will be adding basic
> > > statistics (just like February 2018 blog) but definitely, we will look
> > into
> > > the possibility of enriching it with more useful information.
> > >
> > > Thank you Sharan for your inputs. We will definitely ensure that it
> > doesn't
> > > get into that direction. Thank you for your efforts in Kibble. Indeed,
> > It's
> > > an amazing tool.
> > >
> > > --
> > > Thanks and Regards,
> > > Aditya Sharma
> > >
> > > On Sun, May 5, 2019 at 4:57 PM Pierre Smits 
> > > wrote:
> > >
> > > > I truly appreciate initiatives like kibble, the various reporter
> > > functions
> > > > and other stuff that work towards showing the health of projects.
> > > > Unfortunately these initiatives still have miles to go towards
> > providing
> > > > more meaning. Showing number of tickets opened and closed is nice,
> but
> > > that
> > > > has been available since the availability of JIRA. Showing the number
> > of
> > > > mails threads started (and or continued) and number of people
> involved
> > is
> > > > also nice.
> > > >
> > > > But what I deem more important are the various engagement factors
> when
> > > > talking about the health of the project, like
> > > >
> > > >- when looking at the number of subscribers per mailing list, how
> is
> > > the
> > > >diversity (meaning how many PMC Members, Committers,
> non-privileged
> > > >contributors and others have subscribed);
> > > >- when looking the threads per mailing list, how is the diversity
> > > among
> > > >the participants - and who are in the top 5/10 of each segment
> > (again
> > > > PMC
> > > >Member, Committers, no-privileged contributors)
> > > >- When looking at tickets and commits, again showing insights per
> > > >diversity segments and interactions between ;
> > > >
> > > >
> > > > I would say all the data is there, yet very much still in silos.
> > > >
> > > > Best regards,
> > > >
> > > > Pierre Smits
> > > >
> > > > *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> > > > *Apache Directory <https://directory.apache.org>, PMC Member*
> > > > Apache Incubator <https://incubator.apache.org>, committer
> > > > *Apache OFBiz <https://ofbiz.apache.org>, contributor (without
> > > privileges)
> > > > since 2008*
> > > > Apache Steve <https://steve.apache.org>, committer
> > > >
> > > >
> > > > On Sun, May 5, 2019 at 12:19 PM Jacques Le Roux <
> > > > jacques.le.r...@les7arts.com> wrote:
> > > >
> > > > > Le 05/05/2019 à 11:58, Sharan Foga a écrit :
> > > > > > You can probably see that I'm a little Kibble focussed at the
> > > moment:-)
> > > > > >
> > > > > > Thanks
> > > > > > Sharan
> > > > >
> > > > > Yes I know that Sharan, I also follow Kibble
> > > > >
> > > > > Thanks for your efforts there and elsewhere :)
> > > > >
> > > > > Jacques
> > > > >
> > > > >
> > > >
> > >
> >
>


Re: [jira] [Updated] (OFBIZ-11031) Improve SalesOrderItemFact table

2019-05-16 Thread Aditya Sharma
Hi Pierre,
It seems work is related to Business Intelligence[1] work. Thanks for your
efforts in this direction.

I would suggest that it would be much better if you could have a parent
ticket for all these tasks that define the plan and purpose. It would quite
easy to track the progress if the tickets are grouped together.

1. https://cwiki.apache.org/confluence/display/OFBIZ/Business+Intelligence

On Thu, May 16, 2019 at 4:12 PM Pierre Smits (JIRA)  wrote:

>
>  [
> https://issues.apache.org/jira/browse/OFBIZ-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Pierre Smits updated OFBIZ-11031:
> -
> Labels: Fact SalesOrder SalesOrderItemFact birt dwh  (was: dwh)
>
> > Improve SalesOrderItemFact table
> > 
> >
> > Key: OFBIZ-11031
> > URL: https://issues.apache.org/jira/browse/OFBIZ-11031
> > Project: OFBiz
> >  Issue Type: Improvement
> >  Components: bi
> >Affects Versions: Trunk, Release Branch 17.12, Release Branch 18.12
> >Reporter: Pierre Smits
> >Priority: Major
> >  Labels: Fact, SalesOrder, SalesOrderItemFact, birt, dwh
> >
> > Improve the SalesOrderFactTable to include additional dimensions
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v7.6.3#76005)
>


Re: OFBiz Statistics in monthly blog entries

2019-05-06 Thread Aditya Sharma
Thank you Suraj for your input!

Thank you Jacques for sharing the insights.

Thank you Pierre for your inputs. Initially, we will be adding basic
statistics (just like February 2018 blog) but definitely, we will look into
the possibility of enriching it with more useful information.

Thank you Sharan for your inputs. We will definitely ensure that it doesn't
get into that direction. Thank you for your efforts in Kibble. Indeed, It's
an amazing tool.

--
Thanks and Regards,
Aditya Sharma

On Sun, May 5, 2019 at 4:57 PM Pierre Smits  wrote:

> I truly appreciate initiatives like kibble, the various reporter functions
> and other stuff that work towards showing the health of projects.
> Unfortunately these initiatives still have miles to go towards providing
> more meaning. Showing number of tickets opened and closed is nice, but that
> has been available since the availability of JIRA. Showing the number of
> mails threads started (and or continued) and number of people involved is
> also nice.
>
> But what I deem more important are the various engagement factors when
> talking about the health of the project, like
>
>- when looking at the number of subscribers per mailing list, how is the
>diversity (meaning how many PMC Members, Committers, non-privileged
>contributors and others have subscribed);
>- when looking the threads per mailing list, how is the diversity among
>the participants - and who are in the top 5/10 of each segment (again
> PMC
>Member, Committers, no-privileged contributors)
>- When looking at tickets and commits, again showing insights per
>diversity segments and interactions between ;
>
>
> I would say all the data is there, yet very much still in silos.
>
> Best regards,
>
> Pierre Smits
>
> *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> *Apache Directory <https://directory.apache.org>, PMC Member*
> Apache Incubator <https://incubator.apache.org>, committer
> *Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges)
> since 2008*
> Apache Steve <https://steve.apache.org>, committer
>
>
> On Sun, May 5, 2019 at 12:19 PM Jacques Le Roux <
> jacques.le.r...@les7arts.com> wrote:
>
> > Le 05/05/2019 à 11:58, Sharan Foga a écrit :
> > > You can probably see that I'm a little Kibble focussed at the moment:-)
> > >
> > > Thanks
> > > Sharan
> >
> > Yes I know that Sharan, I also follow Kibble
> >
> > Thanks for your efforts there and elsewhere :)
> >
> > Jacques
> >
> >
>


OFBiz Statistics in monthly blog entries

2019-05-03 Thread Aditya Sharma
Hi everyone,

I think we should also add monthly statistics in Apache OFBiz blog entries.
In February 2018
<https://blogs.apache.org/ofbiz/entry/apache-ofbiz-news-february-2018> we
have added similar stats.

These stats are already available with Apache Kibble demo
<https://demo.kibble.apache.org/dashboard.html?page=mail> instance setup.

WDYT?

--
Thanks and regards,
Aditya Sharma


Re: Security alerts on monthly blog entries?

2019-05-03 Thread Aditya Sharma
+1

--
Thanks and regards,
Aditya Sharma

On Fri, May 3, 2019 at 12:38 PM Swapnil M Mane 
wrote:

> +1
>
>
> - Best Regards,
> Swapnil M Mane,
> ofbiz.apache.org
>
>
>
> On Thu, May 2, 2019 at 8:09 PM Jacopo Cappellato <
> jacopo.cappell...@hotwaxsystems.com> wrote:
>
> > +1
> >
> > Jacopo
> >
> > On Thu, May 2, 2019 at 4:18 PM Jacques Le Roux <
> > jacques.le.r...@les7arts.com>
> > wrote:
> >
> > > Hi,
> > >
> > > I was wondering: would it not be good to use the blog to alert about
> > > resolved security issues (both w/ and w/o CVE) when it applies?
> > >
> > > Jacques
> > >
> > >
> >
>


Re: Hello3-error while loading seed data

2019-04-29 Thread Aditya Sharma
Hi Arshitha,

It would be better if you could please subscribe to user ML first.
See also why here http://ofbiz.apache.org/mailing-lists.html


Please check the database for the table definition.

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>



On Mon, Apr 29, 2019 at 6:35 PM Arshitha K M  wrote:

> Hello Aditya Sharma,
>  thank you for your email, I have checked the entity definition nothing
> found as you mentioned in your mail.
> Best regards,
> Arshitha K.M
>
>
>
>
> On Mon 29 Apr, 2019, 3:47 PM Aditya Sharma, <
> aditya.sha...@hotwaxsystems.com> wrote:
>
>> Hi Arshitha,
>>
>> I suspect that either you have defined the entity at two places or maybe
>> previously you had an entity with the same name but with field
>> HelloHobbyId as "not null".
>>
>> HTH
>>
>> Thanks and Regards,
>> *Aditya Sharma* | Enterprise Software Engineer
>> HotWax Systems <http://www.hotwaxsystems.com/>
>> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
>> Indore, M.P 452010
>> Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>
>>
>>
>>
>> On Mon, Apr 29, 2019 at 3:30 PM Jacques Le Roux <
>> jacques.le.r...@les7arts.com> wrote:
>>
>>> Hi,
>>>
>>> Your message has been moderated.
>>>
>>> Please subscribe to the user ML for such questions and then use your
>>> email client
>>> See also why here http://ofbiz.apache.org/mailing-lists.html
>>>
>>> You will get a better support , it's more fair to share with everybody
>>> and people can answer you on the ML rather than directly to you
>>> The wider the audience the better the answers you might get
>>>
>>> Also it's more work for moderators who have to accept your messages as
>>> long as you have not subscribed.
>>> I'll personally no longer accept them (other moderators still could)
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>> Le 29/04/2019 à 09:45, Arshitha K M a écrit :
>>> > hi,
>>> > I am new to ofbiz. I  met trouble during loading the seed data(hello3),
>>> >
>>> > The Following Errors Occurred:
>>> > ERROR: parsing file: ERROR parsing Entity Xml file:
>>> > org.xml.sax.SAXException: A transaction error occurred reading
>>> > dataorg.ofbiz.entity.GenericEntityException:
>>> > org.ofbiz.entity.GenericEntityException:
>>> > org.ofbiz.entity.GenericEntityException: Error while inserting:
>>> > [GenericEntity:HelloHobby][createdStamp,2019-04-29
>>> > 12:59:49.86(java.sql.Timestamp)][createdTxStamp,2019-04-29
>>> >
>>> 12:59:49.82(java.sql.Timestamp)][description,Reading(java.lang.String)][helloHobbyId,READING(java.lang.String)][lastUpdatedStamp,2019-04-29
>>> > 12:59:49.86(java.sql.Timestamp)][lastUpdatedTxStamp,2019-04-29
>>> > 12:59:49.82(java.sql.Timestamp)] (SQL Exception while executing the
>>> > following:INSERT INTO OFBIZ.HELLO_HOBBY (HELLO_HOBBY_ID, DESCRIPTION,
>>> > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,
>>> CREATED_TX_STAMP)
>>> > VALUES (?, ?, ?, ?, ?, ?) (Column 'HELLO_PERSON_ID' cannot accept a
>>> NULL
>>> > value.))
>>> > the entity i want to load seed data is having only two columns
>>> HelloHobbyId
>>> > and Description,i did'nt get that,why error message showing as
>>> > 'HelloPersonId' cannot accept a null value.
>>> >
>>> > I tried to load seed data into another entity HelloPerson and that was
>>> > successful.
>>> > Could you please help me to fix the error.
>>> >
>>>
>>


Re: Unusual logging pattern in Visit Handler

2019-04-27 Thread Aditya Sharma
Here is the link of the image:

https://drive.google.com/file/d/0B27ZznUMte3BbWkxZVdsMU54NVNBTVBuSU9wczVwWVdaOVpn/view?usp=sharing

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>



On Sat, Apr 27, 2019 at 2:15 PM Aditya Sharma <
aditya.sha...@hotwaxsystems.com> wrote:

> Hello everyone,
>
> While exploring VisitHander.java, I observed that for logging the pattern
> followed is:
>
> Debug.logInfo(new Exception(), Error Message, module);
>
> due to which we get a long stack trace like this:
>
> [image: image.png]
>
>
>
> Is there a specific reason for using such a pattern?
>
> I think we should follow the standard pattern only as this may populate
> log files with hefty logs. Though I can only find 3 such traces. I propose
> to replace this with the standard pattern:
>
> Debug.logInfo( Error Message, module);
>
> WDYT?
>
> --
> Thanks and Regards,
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Systems <http://www.hotwaxsystems.com/>
> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> Indore, M.P 452010
> Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>
>
>


Unusual logging pattern in Visit Handler

2019-04-27 Thread Aditya Sharma
Hello everyone,

While exploring VisitHander.java, I observed that for logging the pattern
followed is:

Debug.logInfo(new Exception(), Error Message, module);

due to which we get a long stack trace like this:

[image: image.png]



Is there a specific reason for using such a pattern?

I think we should follow the standard pattern only as this may populate log
files with hefty logs. Though I can only find 3 such traces. I propose to
replace this with the standard pattern:

Debug.logInfo( Error Message, module);

WDYT?

--
Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>


Re: ReturnContactMech is not used

2019-04-27 Thread Aditya Sharma
+1

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>



On Sat, Apr 27, 2019 at 2:02 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Le 27/04/2019 à 09:41, Pawan Verma a écrit :
> > Yes, We should add a workflow to add associated parties of return in
> > ReturnContactMech entity.
> +1
>
> Jacques
>
>


Re: ***UNCHECKED*** Marital Status not managed properly in Person entity

2019-04-09 Thread Aditya Sharma
+1

Best Regards,
Aditya Sharma,
http://ofbiz.apache.org


On Tue, Apr 9, 2019 at 1:09 PM Swapnil M Mane 
wrote:

> +1
>
>
> - Best Regards,
> Swapnil M Mane,
> ofbiz.apache.org
>
>
>
> On Tue, Apr 9, 2019 at 12:51 PM Suraj Khurana 
> wrote:
>
> > Hello,
> >
> > Currently, *maritalStatus* is managed as an indicator (Y/N) in *Person*
> > entity. I think we can enhance it and make it derived from *Enumeration*
> > pattern.
> >
> > *Classification of legal marital status*
> >
> >- 1 - Married (and not separated) ...
> >- 2 - Widowed (including living common law) ...
> >- 3 - Separated (and not Divorced) ...
> >- 4 - Divorced (including living common law) ...
> >- 5 - Single (including living common law)
> >
> > Please share your thoughts.
> >
> > --
> > Best regards,
> > Suraj Khurana
> > TECHNICAL CONSULTANT
> > mobile: +91 9669750002
> > email: suraj.khur...@hotwax.co
> > *www.hotwax.co <http://www.hotwax.co/>*
> >
>


Re: [PROPOSAL] Using code128 instead of code39 for barcode generation

2019-03-30 Thread Aditya Sharma
+1

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>



On Sat, Mar 30, 2019 at 2:14 PM Rishi Solanki 
wrote:

> +1
>
> Best,
> --
> *Rishi Solanki* | Sr Manager, Enterprise Software Development
> HotWax Systems <http://www.hotwaxsystems.com/>
> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> Indore,
> M.P 452010
> Linkedin: *Rishi Solanki*
> <https://www.linkedin.com/in/rishi-solanki-62271b7/>
> Direct: +91-9893287847
>
>
> On Sat, Mar 30, 2019 at 12:19 PM Pawan Verma <
> pawan.ve...@hotwaxsystems.com>
> wrote:
>
> > Hello All,
> >
> > While researching on OFBIZ-10743, I have found that currently, we are
> using
> > code39 to generate barcodes but there are some limitations of code39 as
> it
> > only able to encrypt letters from A to Z, digits from 0 to 9 and an
> > additional set of special characters – “. $ % + – / *”.
> >
> > To enhance the support for more characters in barcode I would suggest
> using
> > code128 instead of code39.
> >
> > Below are some of the advantages of code128:
> >
> >1. code128 supports all the 128 ASCII symbols.
> >2. code128 standard is more concise and space-efficient. It also
> >provides its users with higher degrees of data security.
> >
> >
> > Thank You *Pritam Kute* for suggesting code128.
> >
> > Everyone, Please share your thoughts on this. Thanks!
> >
> > --
> > Kind Regards,
> > *Pawan Verma* | Technical Consultant
> > HotWax Systems <http://www.hotwaxsystems.com/>
> > Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> > Indore,
> > M.P. 452010
> > Linkedin: *Pawan Verma <
> https://www.linkedin.com/in/pawan-verma-aa1053a2/
> > >*
> >
>


Re: Welcome to Mathieu Lirzin as new committer!

2019-02-19 Thread Aditya Sharma
Felicitations Mathieu :)

Welcome Aboard..!!

Regards,
Aditya Sharma


On Wed, Feb 20, 2019 at 10:13 AM Ashish Vijaywargiya <
ashish.vijaywarg...@hotwaxsystems.com> wrote:

> Welcome and congratulations Mathieu! :-)
>
> --
> Kind Regards
> Ashish Vijaywargiya
> HotWax Systems - est. 1997 <http://www.hotwaxsystems.com/>
>
>
>
> On Tue, Feb 19, 2019 at 10:46 PM Taher Alkhateeb  wrote:
>
> > The OFBiz PMC has invited Mathieu Lirzin to become a new committer and
> > we are happy to announce that he has accepted this role.
> >
> > Some of the reasons for inviting Mathieu include:
> >
> > - He is invested in the OFBiz project and has delivered substantial
> > work to the code base.
> > - He has demonstrated solid technical skills.
> > - He adopts a professional attitude towards coding and software
> > development.
> > - He engages thoughtfully with others and likes to work with the
> community.
> >
> > Please join me in welcoming and congratulating Mathieu!
> >
> > Cheers,
> > Taher Alkhateeb
> >
>


Re: Successor for elRTE

2019-01-16 Thread Aditya Sharma
Thanks Benjamin for sharing the links. The link states that  The Lite
version is currently in Beta. Though I can see 2 releases since
it's inception from release 0.8.9
<https://github.com/summernote/summernote/releases/tag/v0.8.9> dated 25 Dec
2017 but before we proceed we need to ensure if there are no known issues
with it that may cause a breakdown in future.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Thu, Jan 17, 2019 at 10:39 AM Aditya Sharma <
aditya.sha...@hotwaxsystems.com> wrote:

> Thanks Pierre for sharing the links. Though I feel handling
> Freemarker with JavaScript editor may be beyond its scope (I may be wrong
> here, need some research) but we will definitely try to address that.
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> <http://www.hotwaxsystems.com/>
> [image: https://www.linkedin.com/in/aditya-p-sharma/]
> <https://www.linkedin.com/in/aditya-p-sharma/>
>
>
> On Thu, Jan 17, 2019 at 2:21 AM Pierre Smits 
> wrote:
>
>> The ticket the ftl issue can be found here:
>> https://issues.apache.org/jira/browse/OFBIZ-5537.
>>
>> The applicability regarding dynamic templating in Content can be seen at:
>> OFBIZ-5759 <https://issues.apache.org/jira/browse/OFBIZ-5759>
>> <https://issues.apache.org/jira/browse/OFBIZ-5759>OFBIZ-10186
>> <https://issues.apache.org/jira/browse/OFBIZ-10186>
>>
>> Best regards,
>>
>> Pierre Smits
>>
>> *Apache Trafodion <https://trafodion.apache.org>, Vice President*
>> *Apache Directory <https://directory.apache.org>, PMC Member*
>> Apache Incubator <https://incubator.apache.org>, committer
>> *Apache OFBiz <https://ofbiz.apache.org>, contributor (without
>> privileges)
>> since 2008*
>> Apache Steve <https://steve.apache.org>, committer
>>
>>
>> On Wed, Jan 16, 2019 at 2:46 PM Benjamin Jugl 
>> wrote:
>>
>> > Hi,
>> >
>> >  1. Summernote is usable without bootstrap (see this link)
>> > <https://summernote.org/getting-started/#without-bootstrap>. But
>> > thank you for this overview, Aditya. Trumbowyg does seem like a good
>> > candidate as well.
>> >  2. The use-case for ftl-support is not entirely clear to me, but if you
>> > have demand for this, we can include it, of course, Pierre.
>> >  3. I have updated the Coonfluence Page
>> > <
>> https://cwiki.apache.org/confluence/display/OFBIZ/Successor+for+elRTE
>> > >
>> > accordingly. You are all welcome to participate there.
>> >
>> > Best regards,
>> >
>> > Benjamin Jugl
>> >
>> > On 16.01.19 13:19, Pierre Smits wrote:
>> > > I would say that the successor should be able to work with ftl code,
>> as
>> > we
>> > > have functionalities in content regarding  templates for invoices,
>> orders
>> > > etc. If I remember correctly Nicolas worked on such a feature.  I
>> > (vaguely)
>> > > remember there is a ticket that brings that issue to the foreground
>> with
>> > > respect to elRTE.
>> > >
>> > > Best regards,
>> > >
>> > > Pierre Smits
>> > >
>> > > *Apache Trafodion <https://trafodion.apache.org>, Vice President*
>> > > *Apache Directory <https://directory.apache.org>, PMC Member*
>> > > Apache Incubator <https://incubator.apache.org>, committer
>> > > *Apache OFBiz <https://ofbiz.apache.org>, contributor (without
>> > privileges)
>> > > since 2008*
>> > > Apache Steve <https://steve.apache.org>, committer
>> > >
>> > >
>> > > On Tue, Jan 15, 2019 at 2:15 PM Aditya Sharma <
>> > > aditya.sha...@hotwaxsystems.com> wrote:
>> > >
>> > >> Hi all,
>> > >>
>> > >> We initially discussed for Quill <https://quilljs.com/> (
>> > >> https://github.com/quilljs/quill) see OFBIZ-10093
>> > >> <https://issues.apache.org/jira/browse/OFBIZ-10093>
>> > >> While Benjamin suggested Summernote <https://summernote.org/> (
>> > >> https://github.com/summernote/summernote) as Quill lacks the
&g

Re: Successor for elRTE

2019-01-16 Thread Aditya Sharma
Thanks Pierre for sharing the links. Though I feel handling Freemarker with
JavaScript editor may be beyond its scope (I may be wrong here, need some
research) but we will definitely try to address that.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Thu, Jan 17, 2019 at 2:21 AM Pierre Smits  wrote:

> The ticket the ftl issue can be found here:
> https://issues.apache.org/jira/browse/OFBIZ-5537.
>
> The applicability regarding dynamic templating in Content can be seen at:
> OFBIZ-5759 <https://issues.apache.org/jira/browse/OFBIZ-5759>
> <https://issues.apache.org/jira/browse/OFBIZ-5759>OFBIZ-10186
> <https://issues.apache.org/jira/browse/OFBIZ-10186>
>
> Best regards,
>
> Pierre Smits
>
> *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> *Apache Directory <https://directory.apache.org>, PMC Member*
> Apache Incubator <https://incubator.apache.org>, committer
> *Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges)
> since 2008*
> Apache Steve <https://steve.apache.org>, committer
>
>
> On Wed, Jan 16, 2019 at 2:46 PM Benjamin Jugl 
> wrote:
>
> > Hi,
> >
> >  1. Summernote is usable without bootstrap (see this link)
> > <https://summernote.org/getting-started/#without-bootstrap>. But
> > thank you for this overview, Aditya. Trumbowyg does seem like a good
> > candidate as well.
> >  2. The use-case for ftl-support is not entirely clear to me, but if you
> > have demand for this, we can include it, of course, Pierre.
> >  3. I have updated the Coonfluence Page
> > <
> https://cwiki.apache.org/confluence/display/OFBIZ/Successor+for+elRTE
> > >
> > accordingly. You are all welcome to participate there.
> >
> > Best regards,
> >
> > Benjamin Jugl
> >
> > On 16.01.19 13:19, Pierre Smits wrote:
> > > I would say that the successor should be able to work with ftl code, as
> > we
> > > have functionalities in content regarding  templates for invoices,
> orders
> > > etc. If I remember correctly Nicolas worked on such a feature.  I
> > (vaguely)
> > > remember there is a ticket that brings that issue to the foreground
> with
> > > respect to elRTE.
> > >
> > > Best regards,
> > >
> > > Pierre Smits
> > >
> > > *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> > > *Apache Directory <https://directory.apache.org>, PMC Member*
> > > Apache Incubator <https://incubator.apache.org>, committer
> > > *Apache OFBiz <https://ofbiz.apache.org>, contributor (without
> > privileges)
> > > since 2008*
> > > Apache Steve <https://steve.apache.org>, committer
> > >
> > >
> > > On Tue, Jan 15, 2019 at 2:15 PM Aditya Sharma <
> > > aditya.sha...@hotwaxsystems.com> wrote:
> > >
> > >> Hi all,
> > >>
> > >> We initially discussed for Quill <https://quilljs.com/> (
> > >> https://github.com/quilljs/quill) see OFBIZ-10093
> > >> <https://issues.apache.org/jira/browse/OFBIZ-10093>
> > >> While Benjamin suggested Summernote <https://summernote.org/> (
> > >> https://github.com/summernote/summernote) as Quill lacks the ability
> to
> > >> show html-source refer https://github.com/quilljs/quill/issues/128 &
> as
> > >> per
> > >> the comments
> > >> <https://github.com/quilljs/quill/issues/128#issuecomment-215263950>
> by
> > >> JasonChen <https://github.com/jhchen>, it will not be implemented in
> > the
> > >> official release.
> > >> The issue with Summernote is its dependency on Bootstrap. We will have
> > to
> > >> load the entire library for a plugin.
> > >>
> > >> I would suggest Trumbowyg <https://alex-d.github.io/Trumbowyg/> (
> > >> https://github.com/Alex-D/Trumbowyg)
> > >> MIT license with a community of 139 contributors and 60 releases (last
> > on
> > >> 14 Dec 2018) yet.
> > >> Supports 40+ Languages
> > >>
> > >> Trumbowyg works with JQuery as well as ready for use with Web
> frameworks
> > >> and CMS packages:
> > >>
> > >> 1. AngularJS component
&

Re: Remove Sfa menu-items "Competitors & Partners" and "Documents"

2019-01-16 Thread Aditya Sharma
+1 for removal

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Wed, Jan 16, 2019 at 5:24 PM Benjamin Jugl 
wrote:

> +1 for removal.
>
> On 16.01.19 12:21, Dennis Balkir wrote:
> > Hi to all,
> >
> > I noticed, that two of the AppBar menu-items in the Sfa application
> > are not functional and seem not to serve any further purpose.
> > In this issue https://issues.apache.org/jira/browse/OFBIZ-2364, some
> > funtionality was in development, but it looks like no one touched it
> > since 2009.
> >
> > My proposal is to remove the mentioned menu-items, since they are only
> > defined with "#" as their destination point. If someone wants to work
> > on this feature in the future, these links can be added again.
> >
> > The suggestion would be to wait for a week, and if there are no
> > complaints, to remove the items.
> >
>
>
>


Re: Successor for elRTE

2019-01-15 Thread Aditya Sharma
Hi all,

We initially discussed for Quill <https://quilljs.com/> (
https://github.com/quilljs/quill) see OFBIZ-10093
<https://issues.apache.org/jira/browse/OFBIZ-10093>
While Benjamin suggested Summernote <https://summernote.org/> (
https://github.com/summernote/summernote) as Quill lacks the ability to
show html-source refer https://github.com/quilljs/quill/issues/128 & as per
the comments
<https://github.com/quilljs/quill/issues/128#issuecomment-215263950> by
JasonChen <https://github.com/jhchen>, it will not be implemented in the
official release.
The issue with Summernote is its dependency on Bootstrap. We will have to
load the entire library for a plugin.

I would suggest Trumbowyg <https://alex-d.github.io/Trumbowyg/> (
https://github.com/Alex-D/Trumbowyg)
MIT license with a community of 139 contributors and 60 releases (last on
14 Dec 2018) yet.
Supports 40+ Languages

Trumbowyg works with JQuery as well as ready for use with Web frameworks
and CMS packages:

   1. AngularJS component
   2. VueJS component
   3. React wrapper
   4. Ruby on Rails
   5. OctoberCMS plugin
   6. 99ko plugin
   7. Django widget
   8. REST in Place
   9. Yii 2 widget

Trumbowyg can be extended with the following plugins:

   1.  Allow tags from paste
   2.  Base 64
   3.  Clean paste
   4.  Colors
   5.  Emoji
   6.  Insert audio
   7.  No embed
   8.  Paste image
   9.  Preformatted
   10.  Table
   11.  Template
   12.  Ruby
   13.  Upload

Comparison though quite old, refer
http://socialcompare.com/en/comparison/javascript-online-rich-text-editors

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Sat, Dec 15, 2018 at 6:45 PM Taher Alkhateeb 
wrote:

> those things are hard to google for. Looking forward for your research
> outcome.
>
> On Fri, Dec 14, 2018 at 12:42 PM Benjamin Jugl 
> wrote:
> >
> > Hello all!
> >
> > The visual editor for Textareas that is used by Ofbiz is elRTE. This
> > editor has been abandoned for quite some time, as you can see in
> > OFBIZ-10093 <https://issues.apache.org/jira/browse/OFBIZ-10093>. Since
> > it is a factor in some security issues as well, I would really like to
> > replace it with an up-to-date alternative.
> >
> > For this, I created a new Decision
> > <https://cwiki.apache.org/confluence/display/OFBIZ/Successor+for+elRTE>
> > page in Confluence. First goal of this is to throw in all the demands
> > that have to be met by an alternative and rate them, so we have a basis
> > for evaluation.
> >
> > Best wishes, Benjamin
> >
> >
>


Re: git commit workflow for ofbiz

2019-01-12 Thread Aditya Sharma
+1 for Git

Thanks and Regards,
Aditya Sharma

On Sat, Jan 12, 2019, 9:06 PM Suraj Khurana  +1 to move from SVN to Git.
>
> --
> Best Regards,
> Suraj Khurana
> Technical Consultant
>
> On Sat, Jan 12, 2019 at 7:12 PM Mathieu Lirzin 
> wrote:
>
> > Hello Michael,
> >
> > Michael Brohl  writes:
> >
> > > I'd like to revive this discussion again.
> >
> > Do we still need to discuss it?  If the response is not obviously “yes
> > we should move to Git” now that Git has become ubiquitous and that SVN
> > is a moribund tool, then this community has a serious problem.  :-)
> >
> > Joke aside I think the question should rather be:
> >
> >Is there anyone here opposing to the move from SVN to Git?
> >
> > Thanks for reviving this topic!
> >
> > --
> > Mathieu Lirzin
> > GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
> >
>


Re: Unused jQuery MockJax Plugin

2019-01-10 Thread Aditya Sharma
Thanks Michael and Jacques :-)

Done for trunk at r1851013 and R18.12 at r1851014

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Thu, Jan 10, 2019 at 7:13 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Aditya, Michael,
>
> Yes indeed it's not used in OFBiz, I think we are good to remove it and
> mention it in OFBIZ-9978
>
> Jacques
>
> Le 10/01/2019 à 11:37, Aditya Sharma a écrit :
> >   Thanks for the quick response Michael.
> >
> > Indeed it was upgraded with the Jquery upgrade at
> > https://issues.apache.org/jira/browse/OFBIZ-9978  but there was no
> trace of
> > its use. Even I couldn't find it being loaded.
> > I guess it is used by jquery.validation for test
> >
> https://github.com/jquery-validation/jquery-validation/blob/master/test/test.js
> > &
> > must have been added in OFBiz by mistake.
> >
> >
> > Thanks and Regards,
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> > HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > [image: https://www.linkedin.com/in/aditya-p-sharma/]
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
> >
> > On Thu, Jan 10, 2019 at 2:55 PM Michael Brohl 
> > wrote:
> >
> >> Hi Aditya,
> >>
> >> a quick search shows that it was added in r1815824 by Jacques for the
> >> update from Jquery 1.11.0 to JQuery 3.2.1.
> >>
> >> Maybe it's a dependency or part of the Jquery stack?
> >>
> >> Regards,
> >>
> >> Michael
> >>
> >> Am 10.01.19 um 10:07 schrieb Aditya Sharma:
> >>> Hello all,
> >>>
> >>> I can't find any use of the jQuery MockJax
> >>> <https://github.com/jakerella/jquery-mockjax> Plugin included in
> OFBiz.
> >> If
> >>> it is not used anywhere, we can remove it.
> >>>
> >>> Is there anything I am missing?
> >>>
> >>> Thanks and Regards,
> >>>
> >>> *Aditya Sharma* | Enterprise Software Engineer
> >>> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> >>> <http://www.hotwaxsystems.com/>
> >>> [image: https://www.linkedin.com/in/aditya-p-sharma/]
> >>> <https://www.linkedin.com/in/aditya-p-sharma/>
> >>>
> >>
>


Re: Unused jQuery MockJax Plugin

2019-01-10 Thread Aditya Sharma
 Thanks for the quick response Michael.

Indeed it was upgraded with the Jquery upgrade at
https://issues.apache.org/jira/browse/OFBIZ-9978  but there was no trace of
its use. Even I couldn't find it being loaded.
I guess it is used by jquery.validation for test
https://github.com/jquery-validation/jquery-validation/blob/master/test/test.js
&
must have been added in OFBiz by mistake.


Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Thu, Jan 10, 2019 at 2:55 PM Michael Brohl 
wrote:

> Hi Aditya,
>
> a quick search shows that it was added in r1815824 by Jacques for the
> update from Jquery 1.11.0 to JQuery 3.2.1.
>
> Maybe it's a dependency or part of the Jquery stack?
>
> Regards,
>
> Michael
>
> Am 10.01.19 um 10:07 schrieb Aditya Sharma:
> > Hello all,
> >
> > I can't find any use of the jQuery MockJax
> > <https://github.com/jakerella/jquery-mockjax> Plugin included in OFBiz.
> If
> > it is not used anywhere, we can remove it.
> >
> > Is there anything I am missing?
> >
> > Thanks and Regards,
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> > HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > [image: https://www.linkedin.com/in/aditya-p-sharma/]
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
>
>


Unused jQuery MockJax Plugin

2019-01-10 Thread Aditya Sharma
Hello all,

I can't find any use of the jQuery MockJax
<https://github.com/jakerella/jquery-mockjax> Plugin included in OFBiz. If
it is not used anywhere, we can remove it.

Is there anything I am missing?

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


Re: Planning for the creation of new 18.12 branches

2019-01-01 Thread Aditya Sharma
Updated website with svn repository of the new release18.12 branch
at r1850150.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Fri, Dec 28, 2018 at 8:41 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> I think Jiras would fit ;)
>
> Jacques
>
> Le 28/12/2018 à 15:48, Nicolas Malin a écrit :
> > Thanks all for your comments,
> >
> > I created release18.12 at r1849861 for framework and r1849862 for
> plugins.
> >
> > Rest to update website, prepare the release17.12 as stable and publish
> the 17.12.01 but sure on the next year :)
> >
> > Nicolas
> >
> > On 28/12/2018 11:10, Jacopo Cappellato wrote:
> >> I agree that to proceed and create the branch now and then, over the
> next
> >> few months, as a community we will refine our strategy and even decide
> on
> >> which of the various branches we should focus on more.
> >>
> >> Jacopo
> >>
> >>
> >> On Thu, Dec 27, 2018 at 1:59 PM Michael Brohl  >
> >> wrote:
> >>
> >>> Yes, that would be a solution.
> >>>
> >>> I'm also fine if we would do a 19.x branch. For the future, we could
> aim
> >>> to have a release more towards the middle of the year to avoid
> >>> last-minute branching between Christmas and New Year ;-)
> >>>
> >>> The above would fit perfectly with this plan:
> >>>
> >>> 1. create an 18.12 branch and stabilize it
> >>>
> >>> 2. release 17.12 ;-)
> >>>
> >>> 3. create a 19.x (x = {6..10} branch with the Java Upgrade
> >>>
> >>>
> >>> This would not break the yearly release branch and give us time for the
> >>> Java 11 Update in 19.x. 19.x would be earlier next year so we get out
> of
> >>> the end of year-hurries .
> >>>
> >>> Thanks,
> >>>
> >>> Michael
> >>>
> >>>
> >>> Am 27.12.18 um 12:38 schrieb Taher Alkhateeb:
> >>>> yeah I guess that would work too if it is okay to push a big change
> >>>> into that branch
> >>>>
> >>>>
> >>>> On Thu, Dec 27, 2018 at 1:44 PM Deepak Dixit 
> >>> wrote:
> >>>>> We can create a branch and can backport java upgrade changes to
> 18.12 as
> >>>>> well.
> >>>>> Thanks & Regards
> >>>>> --
> >>>>> Deepak Dixit
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Thu, Dec 27, 2018 at 3:21 PM Taher Alkhateeb <
> >>> slidingfilame...@gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>>> It's okay whatever folks decide, but I think it would be nice if we
> >>>>>> can upgrade Java for a new branch.
> >>>>>>
> >>>>>> On Thu, Dec 27, 2018 at 12:05 PM Nicolas Malin <
> >>> nicolas.ma...@nereide.fr>
> >>>>>> wrote:
> >>>>>>> Four days before the end of year :)
> >>>>>>>
> >>>>>>> If no opposition, I will create it tomorrow
> >>>>>>>
> >>>>>>> Nicolas
> >>>>>>>
> >>>>>>> On 19/12/2018 11:44, Deepak Dixit wrote:
> >>>>>>>> I agree,
> >>>>>>>>
> >>>>>>>> We should create the next release (18.12) for framework and
> plugins.
> >>>>>>>> I'll check for issues, and if found will share here.
> >>>>>>>> Thanks & Regards
> >>>>>>>> --
> >>>>>>>> Deepak Dixit
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Wed, Dec 19, 2018 at 3:38 PM Jacques Le Roux <
> >>>>>>>> jacques.le.r...@les7arts.com> wrote:
> >>>>>>>>
> >>>>>>>>> Le 19/12/2018 à 10:14, Nicolas Malin a écrit :
> >>>>>>>>>> Hello,
> >>>>>>>>>>
> >>>>>>>>>> The time pass and the end year is near, maybe it's the time to
> >>>>>> prepare
> >>>>>>>>> next releases branches.
> >>>>>>>>>> Two questions :
> >>>>>>>>>>
> >>>>>>>>>> * Are you agree to create releases 18.12 branches for
> framework
> >>> and
> >>>>>>>>> plugin ?
> >>>>>>>>>> * Do you have some priority issue that you absolutely need
> >>> fbefore
> >>>>>>>>> create theses branches ?
> >>>>>>>>>> I see for my point of view OFBIZ-4361 and OFBIZ-10145. I
> >>>>>>>>> believe/will/try to free some time for working on.
> >>>>>>>>>> Cheers,
> >>>>>>>>>>
> >>>>>>>>>> Nicolas
> >>>>>>>>>>
> >>>>>>>>> Hi Nicolas, All,
> >>>>>>>>>
> >>>>>>>>> As I think we agreed, we need to check all the blocker before
> >>>>>> releasing
> >>>>>>>>> (not freezing) .
> >>>>>>>>>
> >>>>>>>>> So IMO OFBIZ-4361 and OFBIZ-10145 are not blocker for freezing a
> >>>>>> possible
> >>>>>>>>> 18.12 branches (trunk+plugins)
> >>>>>>>>>
> >>>>>>>>> Thanks
> >>>>>>>>>
> >>>>>>>>> Jacques
> >>>>>>>>>
> >>>>>>>>>
> >>>
> >
>


Re: [DISCUSSION] Back porting: Remove all the fk dependencies from stats entities to the business entities

2018-12-22 Thread Aditya Sharma
Thanks Deepak :)

With no conflicts yet done at r1849541 for R16.11.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Wed, Dec 19, 2018 at 4:15 PM Deepak Dixit  wrote:

> +1 we can backport these changes to R16.11.
>
>
> Thanks & Regards
> --
> Deepak Dixit
>
>
>
> On Wed, Dec 19, 2018 at 1:41 PM Aditya Sharma <
> aditya.sha...@hotwaxsystems.com> wrote:
>
> > Hello everyone,
> >
> > As described on OFBIZ-10721
> > <https://issues.apache.org/jira/browse/OFBIZ-10721>
> >
> > As per the previous discussion
> > <https://markmail.org/message/itdzyzfv7jwdr5jj> on dev ml and OFBIZ-9356
> > <https://issues.apache.org/jira/browse/OFBIZ-9356>,  stats related
> > entities
> > foreign key relation has been removed by Jacopo at r#1647271 and new
> group
> > org.apache.ofbiz.stats introduced for stats related entity.  I found some
> > remnant still left in stats entities.
> >
> > Changes that are done at r1647271 exist in Release 16 too, in my opinion,
> > backporting it won't harm as there are no foreign keys defined at the
> > database level as the database are different.
> >
> > WDYT?
> >
> > Thanks and Regards,
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> > HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > [image: https://www.linkedin.com/in/aditya-p-sharma/]
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
>


Re: Demo stable down

2018-12-19 Thread Aditya Sharma
Thanks Jacques for the update :)

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Wed, Dec 19, 2018 at 2:06 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> HI Aditya,
>
> I forgot yesterday, this morning Nicolas proposed to take care of it. He
> is on it...
>
> Cheers
>
> Jacques
>
> Le 18/12/2018 à 13:41, Aditya Sharma a écrit :
> > Hello Devs,
> >
> > Not able to access demo stable instance
> > <
> https://demo-stable.ofbiz.apache.org/ordermgr/control/main?USERNAME=admin=ofbiz=Y
> >
> > .
> >
> > Getting:
> > Service Unavailable
> > The server is temporarily unable to service your request due to
> maintenance
> > downtime or capacity problems. Please try again later.
> >
> >
> > Thanks and Regards,
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> > HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > [image: https://www.linkedin.com/in/aditya-p-sharma/]
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
>


[DISCUSSION] Back porting: Remove all the fk dependencies from stats entities to the business entities

2018-12-19 Thread Aditya Sharma
Hello everyone,

As described on OFBIZ-10721
<https://issues.apache.org/jira/browse/OFBIZ-10721>

As per the previous discussion
<https://markmail.org/message/itdzyzfv7jwdr5jj> on dev ml and OFBIZ-9356
<https://issues.apache.org/jira/browse/OFBIZ-9356>,  stats related entities
foreign key relation has been removed by Jacopo at r#1647271 and new group
org.apache.ofbiz.stats introduced for stats related entity.  I found some
remnant still left in stats entities.

Changes that are done at r1647271 exist in Release 16 too, in my opinion,
backporting it won't harm as there are no foreign keys defined at the
database level as the database are different.

WDYT?

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


Demo stable down

2018-12-18 Thread Aditya Sharma
Hello Devs,

Not able to access demo stable instance
<https://demo-stable.ofbiz.apache.org/ordermgr/control/main?USERNAME=admin=ofbiz=Y>
.

Getting:
Service Unavailable
The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.


Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


Re: OFBiz as Marketplace

2018-11-21 Thread Aditya Sharma
Nice initiative.

+1 for the marketplace as a new OFBiz plugin

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Wed, Nov 21, 2018 at 5:02 PM Taher Alkhateeb 
wrote:

> Oh, I guess I am probably completely mistaken if what you explained is
> correct. My bad :)
> On Wed, Nov 21, 2018 at 1:03 AM Michael Brohl 
> wrote:
> >
> > Hi Taher,
> >
> > I only read the thread briefly but I have the feeling that there is a
> > fundamental misunderstanding with the term "marketplace".
> >
> > I guess that Rishi is talking about a marketplace for selling goods by
> > several independent merchants (like Amazon) while you are talking about
> > a plugin marketplace.
> >
> > Am I right or is it a misunderstanding on my side?
> >
> > Best regards,
> >
> > Michael
> >
> >
> > Am 20.11.18 um 13:50 schrieb Taher Alkhateeb:
> > > Hi Rishi,
> > >
> > > The plugin APIs would dominate and drive how we can use and publish
> > > plugins, and therefore, dominate how you design the plugin market
> > > place. So I think it might be a bit difficult to write something
> > > without knowing how it works. Take these as an example:
> > >
> > > - Can I push to a remote maven repository? Can I pull from a remote
> > > maven repository? Is it only one official repository (apache) or can I
> > > pass a command in the command line to change the repo.
> > > - Can I protect some plugins from downloads with a username and
> > > password (I want to sell plugins and after that you get access to my
> > > repo)
> > > - Should I make plugins depend on other plugins? How should that work,
> > > manually or automatically?
> > > - Who / how can plugins be published? What versioning scheme do we
> > > use? How can we _upgrade_ plugins?
> > > - What are the coding conventions for plugins? What kind of usual
> > > install / uninstall steps are necessary
> > >
> > > These questions and some others are affected by the technology itself.
> > > The technology could hinder your stories if does not have the capacity
> > > to do this or that. That's why I suggested thinking about this process
> > > through the APIs.
> > >
> > > I wrote the below tasks for plugins management a while ago. But they
> > > are still not complete and require reviews and improvements to satisfy
> > > all the stories. But this is where our starting point is:
> > >
> > > createPlugin - create a new plugin component based on specified
> templates
> > > installPlugin - executes plugin install task if it exists
> > > pullAllPluginsSource - Download and install all plugins from source
> > > control. Warning! deletes existing plugins
> > > pullPlugin - Download and install a plugin with all dependencies
> > > pullPluginSource - Download and install a plugin from source control
> > > pushPlugin - push an existing plugin to local maven repository
> > > removePlugin - Uninstall a plugin and delete its files
> > > uninstallPlugin - executes plugin uninstall task if it exists
> > >
> > > The pull and push are currently hardcoded, so we need to parameterize
> > > the maven repository to accommodate different repos both public and
> > > private.
> > >
> > > I hope this is all useful and helpful, otherwise you can just ignore
> > > everything I wrote :)
> > >
> > > On Tue, Nov 20, 2018 at 7:37 AM Rishi Solanki 
> wrote:
> > >> Thanks Jacopo for your suggestion, so we will go with new plugin for
> > >> marketplace and will name it marketplace. I hope all are agree with
> name.
> > >>
> > >> Taher, we would require at least one month (may be more) to spend on
> user
> > >> stories for marketplace, before writing single line of code for it. I
> would
> > >> be happy if I could help to complete the plugins api and deploying on
> maven
> > >> nexus repository. Please let me know how to proceed further and how I
> can
> > >> be useful. In the mean time we will proceed with user stories for
> > >> marketplace. I'm considering both as independent work can go parallel.
> > >>
> > >> Please raise flag in case I misunderstood something and requires hold
> on
> > >> marketplace wo

Re: AsciiDoc generated online documentation and releases

2018-11-21 Thread Aditya Sharma
+1 for backport

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Thu, Nov 22, 2018 at 9:53 AM Arun Patidar 
wrote:

> +1 for backport
>
> On Fri, Nov 16, 2018, 2:53 PM Rishi Solanki 
> wrote:
>
> > +1 for backport.
> >
> > --
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> > www.hotwax.co
> >
> >
> > On Thu, Nov 15, 2018 at 10:56 PM Pierre Smits 
> > wrote:
> >
> > > Hi Jacques,
> > >
> > > I support the suggestion made by Sharan. It should not be too
> difficult,
> > > when a release has been made available (this should be part of the
> > release
> > > activities), to generate the 'release' related documents and hook it
> into
> > > the website. Our (potential) adopters will benefit.
> > >
> > >
> > > Best regards,
> > >
> > > Pierre Smits
> > >
> > > *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> > > *Apache Directory <https://directory.apache.org>, PMC Member*
> > > Apache Incubator <https://incubator.apache.org>, committer
> > > *Apache OFBiz <https://ofbiz.apache.org>, contributor (without
> > privileges)
> > > since 2008*
> > > Apache Steve <https://steve.apache.org>, committer
> > >
> > >
> > > On Thu, Nov 15, 2018 at 12:59 PM Jacques Le Roux <
> > > jacques.le.r...@les7arts.com> wrote:
> > >
> > > > At
> > > >
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/Draft+Documentation+Roadmap
> > > >
> > > > Sharan already suggested to "Backport to releases where possible"
> > > >
> > > > I think we should do that and not way R18 to use the AsciiDoc
> > generation
> > > > even if it's not complete
> > > >
> > > > Opinions before I get ahead?
> > > >
> > > > Jacques
> > > >
> > > >
> > > > Le 14/11/2018 à 08:41, Jacques Le Roux a écrit :
> > > > > Hi,
> > > > >
> > > > > So start this discussion, currently our main documents in
> > docs\asciidoc
> > > > refer to the R17 release. But those document don't exist in R17
> branch.
> > > > >
> > > > > I think it's not too late to backport them, but do we want to do
> so?
> > > > >
> > > > > Also I suggested to have an easy access to the documentation from
> the
> > > > site documentation page.
> > > > >
> > > > > Do we also want to use the AsciiDoc generated documentation as we
> did
> > > to
> > > > provide an online help from the applications?
> > > > >
> > > > > Do we want to provide something like
> > > > https://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML?
> > > > >
> > > > > For me the answers to these questions is NO! We should have a sole
> > > entry
> > > > point for the documentation and it should be from the site
> > documentation
> > > > > page. It's then easy to provide links from there (using anchors
> going
> > > to
> > > > automatically generated IDs sections)
> > > > >
> > > > > What are your opinions? (I know I should re-read this thread
> > > > https://markmail.org/message/35ak34fpzlyjiopt and I started...)
> > > > >
> > > > > Jacques
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
>


Re: svn commit: r1845419 - in /ofbiz/ofbiz-framework/branches/release17.12: ./ framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java framework/webapp/src/main/java/org/apache/ofbiz/web

2018-11-15 Thread Aditya Sharma
Thanks Jacques :)

Done in
trunk r1846632
R17.12 r1846633
R16.11 r1846634

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Sun, Nov 11, 2018 at 4:28 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Aditya,
>
> Yes indeed, that's a good idea. Please feel free to refactor.
>
> Thanks
>
> Jacques
>
>
> Le 10/11/2018 à 16:58, Aditya Sharma a écrit :
> > Hi Jacques,
> >
> > Just a suggestion, instead of having multiple null checks for
> > viewMap separately for each security header we can have a single combined
> > null check at the top in setResponseBrowserDefaultSecurityHeaders()
> method.
> >
> > +String xFrameOption = null;
> > +if (viewMap != null) {
> > +xFrameOption = viewMap.xFrameOption;
> > +}
> >
> > +String strictTransportSecurity = null;
> > +if (viewMap != null) {
> > +strictTransportSecurity = viewMap.strictTransportSecurity;
> > +}
> >
> > can be changed to
> >
> > +String xFrameOption = null;
> > +String strictTransportSecurity = null;
> > +if (viewMap != null) {
> > +xFrameOption = viewMap.xFrameOption;
> > +    strictTransportSecurity = viewMap.strictTransportSecurity;
> > +}
> >
> > With increasing security headers these may become expensive.
> >
> > WDYT?
> >
> > Thanks and Regards,
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> > HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > [image: https://www.linkedin.com/in/aditya-p-sharma/]
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
> >
> > On Thu, Nov 1, 2018 at 3:07 PM  wrote:
> >
> >> Author: jleroux
> >> Date: Thu Nov  1 09:37:06 2018
> >> New Revision: 1845419
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1845419=rev
> >> Log:
> >> "Applied fix from trunk for revision: 1845418"
> >> 
> >> r1845418 | jleroux | 2018-11-01 10:36:35 +0100 (jeu. 01 nov. 2018) | 20
> >> lignes
> >>
> >> Fixed: Missing Security and Cache Headers in CMS Events
> >> Fixed:
> >> (OFBIZ-10597)
> >>
> >> While rendering the view through the controller request we set the
> >> important
> >> security headers like x-frame-options, strict-transport-security,
> >> x-content-type-options, X-XSS-Protection and Referrer-Policy etc. in the
> >> response object. (Please see the 'rendervView' method of RequestHandler
> >> class.)
> >>
> >> In the similar line, we set the cache related headers like Expires,
> >> Last-Modified, Cache-Control, Pragma.
> >>
> >> But these security headers are missing in the pages rendered through
> CMS.
> >> (Please visit the CmsEvents class).
> >>
> >> These headers are very crucial for the security of the application as
> they
> >> help
> >> to prevent various security threats like cross-site scripting,
> >> cross-site request forgery, clickjacking etc.
> >>
> >> Thanks: Deepak Nigam for initial patch and review
> >> 
> >>
> >> Modified:
> >>  ofbiz/ofbiz-framework/branches/release17.12/   (props changed)
> >>
> >>
> ofbiz/ofbiz-framework/branches/release17.12/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
> >>
> >>
> ofbiz/ofbiz-framework/branches/release17.12/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
> >>
> >> Propchange: ofbiz/ofbiz-framework/branches/release17.12/
> >>
> >>
> --
> >> --- svn:mergeinfo (original)
> >> +++ svn:mergeinfo Thu Nov  1 09:37:06 2018
> >> @@ -10,4 +10,4 @@
> >>   /ofbiz/branches/json-integration-refactoring:1634077-1635900
> >>   /ofbiz/branches/multitenant20100310:921280-927264
> >>   /ofbiz/branches/release13.07:1547657
> >>
> >>
> -/ofbiz/ofbiz-framework/trunk:1819499,1819598,1819800,1819

Re: svn commit: r1845419 - in /ofbiz/ofbiz-framework/branches/release17.12: ./ framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java framework/webapp/src/main/java/org/apache/ofbiz/web

2018-11-10 Thread Aditya Sharma
Hi Jacques,

Just a suggestion, instead of having multiple null checks for
viewMap separately for each security header we can have a single combined
null check at the top in setResponseBrowserDefaultSecurityHeaders() method.

+String xFrameOption = null;
+if (viewMap != null) {
+xFrameOption = viewMap.xFrameOption;
+}

+String strictTransportSecurity = null;
+if (viewMap != null) {
+strictTransportSecurity = viewMap.strictTransportSecurity;
+}

can be changed to

+String xFrameOption = null;
+String strictTransportSecurity = null;
+if (viewMap != null) {
+xFrameOption = viewMap.xFrameOption;
+strictTransportSecurity = viewMap.strictTransportSecurity;
+}

With increasing security headers these may become expensive.

WDYT?

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Thu, Nov 1, 2018 at 3:07 PM  wrote:

> Author: jleroux
> Date: Thu Nov  1 09:37:06 2018
> New Revision: 1845419
>
> URL: http://svn.apache.org/viewvc?rev=1845419=rev
> Log:
> "Applied fix from trunk for revision: 1845418"
> 
> r1845418 | jleroux | 2018-11-01 10:36:35 +0100 (jeu. 01 nov. 2018) | 20
> lignes
>
> Fixed: Missing Security and Cache Headers in CMS Events
> Fixed:
> (OFBIZ-10597)
>
> While rendering the view through the controller request we set the
> important
> security headers like x-frame-options, strict-transport-security,
> x-content-type-options, X-XSS-Protection and Referrer-Policy etc. in the
> response object. (Please see the 'rendervView' method of RequestHandler
> class.)
>
> In the similar line, we set the cache related headers like Expires,
> Last-Modified, Cache-Control, Pragma.
>
> But these security headers are missing in the pages rendered through CMS.
> (Please visit the CmsEvents class).
>
> These headers are very crucial for the security of the application as they
> help
> to prevent various security threats like cross-site scripting,
> cross-site request forgery, clickjacking etc.
>
> Thanks: Deepak Nigam for initial patch and review
> 
>
> Modified:
> ofbiz/ofbiz-framework/branches/release17.12/   (props changed)
>
> ofbiz/ofbiz-framework/branches/release17.12/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
>
> ofbiz/ofbiz-framework/branches/release17.12/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
>
> Propchange: ofbiz/ofbiz-framework/branches/release17.12/
>
> --
> --- svn:mergeinfo (original)
> +++ svn:mergeinfo Thu Nov  1 09:37:06 2018
> @@ -10,4 +10,4 @@
>  /ofbiz/branches/json-integration-refactoring:1634077-1635900
>  /ofbiz/branches/multitenant20100310:921280-927264
>  /ofbiz/branches/release13.07:1547657
>
> -/ofbiz/ofbiz-framework/trunk:1819499,1819598,1819800,1819805,1819811,1820038,1820262,1820374-1820375,1820441,1820457,1820644,1820658,1820790,1820823,1820949,1820966,1821012,1821036,1821112,1821115,1821144,1821186,1821219,1821226,1821230,1821386,1821613,1821628,1821965,1822125,1822310,1822377,1822383,1822393,1823467,1823562,1823876,1824314,1824316,1824732,1824803,1824847,1824855,1825192,1825211,1825216,1825233,1825450,1826374,1826502,1826592,1826671,1826674,1826805,1826938,1826997,1827439,1828255,1828316,1828346,1828424,1828512,1828514,1829690,1830936,1831074,1831078,1831234,1831608,1831831,1832577,1832662,1832756,1832800,1832944,1833173,1833211,1834181,1834191,1834736,1835235,1835887,1835891,1835953,1835964,1836144,1836871,1837857,1838032,1838256,1838381,1840189,1840199,1840828,1841657,1841662,1842372,1842921,1843225,1843893,1844943
>
> +/ofbiz/ofbiz-framework/trunk:1819499,1819598,1819800,1819805,1819811,1820038,1820262,1820374-1820375,1820441,1820457,1820644,1820658,1820790,1820823,1820949,1820966,1821012,1821036,1821112,1821115,1821144,1821186,1821219,1821226,1821230,1821386,1821613,1821628,1821965,1822125,1822310,1822377,1822383,1822393,1823467,1823562,1823876,1824314,1824316,1824732,1824803,1824847,1824855,1825192,1825211,1825216,1825233,1825450,1826374,1826502,1826592,1826671,1826674,1826805,1826938,1826997,1827439,1828255,1828316,1828346,1828424,1828512,1828514,1829690,1830936,1831074,1831078,1831234,1831608,1831831,1832577,1832662,1832756,1832800,1832944,1833173,1833211,1834181,1834191,1834736,1835235,1835887,1835891,1835953,1835964,1836144,1836871,1837857,1838032,1838256,18383

Re: svn commit: r1845572 - in /ofbiz/ofbiz-framework/trunk/framework/webtools: config/ src/main/java/org/apache/ofbiz/webtools/ webapp/webtools/WEB-INF/ widget/

2018-11-09 Thread Aditya Sharma
Hi Rishi,

I think you missed the import with a wildcard in UtilCacheEvents.java.

>+import java.util.*;

Though I think it may have been slipped in due to IDE. Using the wildcard
may clutter local namespace with all the classes of util package.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Fri, Nov 2, 2018 at 4:48 PM  wrote:

> Author: rishi
> Date: Fri Nov  2 11:18:52 2018
> New Revision: 1845572
>
> URL: http://svn.apache.org/viewvc?rev=1845572=rev
> Log:
> Improved: Introduce ability to clear specific cache from cache
> maintenance. After this user can bulk select the caches and clear them.
> Single clear and all clear caches works as is.
> (OFBIZ-10402)
> Thanks to Yogesh Naroliya for providing the patch and Suraj Khurana for
> reporting the ticket.
>
> Modified:
>
> ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>
> ofbiz/ofbiz-framework/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/UtilCacheEvents.java
>
> ofbiz/ofbiz-framework/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
> ofbiz/ofbiz-framework/trunk/framework/webtools/widget/CacheForms.xml
> ofbiz/ofbiz-framework/trunk/framework/webtools/widget/CacheScreens.xml
> ofbiz/ofbiz-framework/trunk/framework/webtools/widget/Menus.xml
>
> Modified:
> ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1845572=1845571=1845572=diff
>
> ==
> ---
> ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml
> (original)
> +++
> ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml
> Fri Nov  2 11:18:52 2018
> @@ -1150,6 +1150,9 @@
>  清除这个缓存
>  æ¸…é™¤é€™å€‹å¿«å –
>  
> +
> +Clear Selected Caches
> +
>  
>  OFBiz: Web Tools
>  OFBiz: Web Tools
>
> Modified:
> ofbiz/ofbiz-framework/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/UtilCacheEvents.java
> URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/UtilCacheEvents.java?rev=1845572=1845571=1845572=diff
>
> ==
> ---
> ofbiz/ofbiz-framework/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/UtilCacheEvents.java
> (original)
> +++
> ofbiz/ofbiz-framework/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/UtilCacheEvents.java
> Fri Nov  2 11:18:52 2018
> @@ -17,10 +17,7 @@
>   * under the License.
>
> ***/
>  package org.apache.ofbiz.webtools;
> -
> -import java.util.Iterator;
> -import java.util.Locale;
> -
> +import java.util.*;
>  import javax.servlet.http.HttpServletRequest;
>  import javax.servlet.http.HttpServletResponse;
>
> @@ -170,6 +167,56 @@ public final class UtilCacheEvents {
>  request.setAttribute("_EVENT_MESSAGE_", errMsg + " (" +
> UtilDateTime.nowDateString("-MM-dd HH:mm:ss")  + ").");
>  return "success";
>  }
> +
> +/** An HTTP WebEvent handler that clears the selected caches
> + * @param request The HTTP request object for the current JSP or
> Servlet request.
> + * @param response The HTTP response object for the current JSP or
> Servlet request.
> + * @return return an HTTP WebEvent handler that clears all caches
> + */
> +public static String clearSelectedCachesEvent(HttpServletRequest
> request, HttpServletResponse response) {
> +
> +String errMsg = "";
> +Locale locale = UtilHttp.getLocale(request);
> +
> +Security security = (Security) request.getAttribute("security");
> +if (!security.hasPermission("UTIL_CACHE_EDIT",
> request.getSession())) {
> +errMsg = UtilProperties.getMessage(err_resource,
> "utilCacheEvents.permissionEdit", locale) + ".";
> +request.setAttribute("_ERROR_MESSAGE_", errMsg);
> +return "error";
> +}
> +
> +Map ctx = UtilHttp.getParameterMap(request);
> +boolean isSelected;
> +List eventList = new LinkedList<

Re: [VOTE] [RELEASE] Apache OFBiz 16.11.05

2018-09-22 Thread Aditya Sharma
+1

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Sat, Sep 22, 2018 at 4:06 PM Rishi Solanki 
wrote:

> +1
>
> Thanks!
> --
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
>
> On Sat, Sep 22, 2018 at 4:01 PM Swapnil Mane <
> swapnil.m...@hotwaxsystems.com>
> wrote:
>
> > +1
> >
> >
> > - Best Regards,
> > Swapnil M Mane
> >
> > On Fri, Sep 21, 2018 at 7:56 PM Jacopo Cappellato <
> > jacopo.cappell...@hotwaxsystems.com> wrote:
> >
> > >  This is the vote thread to release a new bug fix release for the
> > > release16.11 branch. This new release, "Apache OFBiz 16.11.05" will
> > > supersede all the previous releases from the same branch.
> > >
> > > The release files can be downloaded from here:
> > >
> > > https://dist.apache.org/repos/dist/dev/ofbiz/
> > >
> > > and are:
> > >
> > > * apache-ofbiz-16.11.05.zip
> > > * KEYS: text file with keys
> > > * apache-ofbiz-16.11.05.zip.asc: the detached signature file
> > > * apache-ofbiz-16.11.05.zip.sha512: checksum file
> > >
> > > Please download and test the zip file and its signatures (for
> > instructions
> > > on testing the signatures see
> > http://www.apache.org/info/verification.html
> > > ).
> > >
> > > Vote:
> > >
> > > [ +1] release as Apache OFBiz 16.11.05
> > > [ -1] do not release
> > >
> > > This vote will be open for at least 5 days.
> > >
> > > For more details about this process please read
> > > http://www.apache.org/foundation/voting.html
> > >
> > > Kind Regards,
> > >
> > > Jacopo
> > >
> >
>


Re: svn commit: r1838797 - in /ofbiz/ofbiz-plugins/trunk/ecommerce: template/includes/HeaderHead.ftl widget/Theme.xml

2018-08-24 Thread Aditya Sharma
Thanks Deepak for the suggestions.

Intializing variables once & using it on all page loads seems a better
proposition than concatenation on each page load.

I have added this comment on OFBIZ-10522
<https://issues.apache.org/jira/browse/OFBIZ-10522>. I will wait for inputs
from Julien before I update.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Fri, Aug 24, 2018 at 3:57 PM Deepak Dixit  wrote:

> Hi Aditya,
>
> I think instead of adding a name in Theme file and concat the sizes while
> rendering, we can add a new property for each size icon.
> e.g VT_SHORTCUT_ICON_32,VT_SHORTCUT_ICON_64 etc.
>
> Thanks & Regards
> --
> Deepak Dixit
>
>
> On Fri, Aug 24, 2018 at 2:48 PM,  wrote:
>
> > Author: adityasharma
> > Date: Fri Aug 24 09:18:59 2018
> > New Revision: 1838797
> >
> > URL: http://svn.apache.org/viewvc?rev=1838797=rev
> > Log:
> > Improved: Change the uggly favicon with the new one ! | Using new OFBiz
> > logo
> > (OFBIZ-10522)
> > Updated the icon for the ecommerce.
> >
> > Modified:
> > ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl
> > ofbiz/ofbiz-plugins/trunk/ecommerce/widget/Theme.xml
> >
> > Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/
> > HeaderHead.ftl
> > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/
> > ecommerce/template/includes/HeaderHead.ftl?rev=1838797=
> > 1838796=1838797=diff
> > 
> > ==
> > --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl
> > (original)
> > +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl
> > Fri Aug 24 09:18:59 2018
> > @@ -34,7 +34,12 @@ under the License.
> >  <#assign shortcutIcon = layoutSettings.shortcutIcon/>
> >
> ><#if shortcutIcon?has_content>
> > -
> > +"
> > type="image/x-icon">
> > +" type="image/png">
> > +"
> > type="image/png">
> > +"
> > type="image/png">
> > +"
> > type="image/png">
> > +<#>
> >
> ><#if layoutSettings.styleSheets?has_content>
> ><#--layoutSettings.styleSheets is a list of style sheets. So, you can
> > have a user-specified "main" style sheet,
> >
> > Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/widget/Theme.xml
> > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/
> > ecommerce/widget/Theme.xml?rev=1838797=1838796=1838797=diff
> > 
> > ==
> > --- ofbiz/ofbiz-plugins/trunk/ecommerce/widget/Theme.xml (original)
> > +++ ofbiz/ofbiz-plugins/trunk/ecommerce/widget/Theme.xml Fri Aug 24
> > 09:18:59 2018
> > @@ -37,7 +37,7 @@ under the License.
> >  
> >  
> >   > />
> > -
> > +
> >  
> >  
> >  
> >
> >
> >
>


Re: svn commit: r1836908 - /ofbiz/ofbiz-framework/trunk/applications/product/webapp/facility/WEB-INF/controller.xml

2018-07-29 Thread Aditya Sharma
Hi Deepak,

Yes, I missed that. I will update it ASAP.

Thanks for the heads up :)

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Mon, Jul 30, 2018 at 10:34 AM Deepak Dixit 
wrote:

> Hi Aditya,
>
> In case of error, we need to use view or request as response type as if we
> use request-redirect we need to redirect all the form parameter along with
> error messages.
>
>
> Thanks & Regards
> --
> Deepak Dixit
>
>
> On Sat, Jul 28, 2018 at 7:01 PM,  wrote:
>
> > Author: adityasharma
> > Date: Sat Jul 28 13:31:49 2018
> > New Revision: 1836908
> >
> > URL: http://svn.apache.org/viewvc?rev=1836908=rev
> > Log:
> > Improved: Add Option to update Facility Party Role on Edit Facility Party
> > Role screen.
> > (OFBIZ-9085)
> > When using response type as 'view', the url of the page changes to
> > specific request name. Instead of that it is better to use
> > 'request-redirect' to give a better user experience. Hence, changing
> > response type to 'request-redirect'.
> >
> > Modified:
> > ofbiz/ofbiz-framework/trunk/applications/product/webapp/
> > facility/WEB-INF/controller.xml
> >
> > Modified: ofbiz/ofbiz-framework/trunk/applications/product/webapp/
> > facility/WEB-INF/controller.xml
> > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/
> > applications/product/webapp/facility/WEB-INF/controller.
> > xml?rev=1836908=1836907=1836908=diff
> > 
> > ==
> > --- ofbiz/ofbiz-framework/trunk/applications/product/webapp/
> > facility/WEB-INF/controller.xml (original)
> > +++ ofbiz/ofbiz-framework/trunk/applications/product/webapp/
> > facility/WEB-INF/controller.xml Sat Jul 28 13:31:49 2018
> > @@ -371,8 +371,12 @@ under the License.
> >  
> >  
> >  
> > - value="EditFacilityParties"/>
> > -
> > + > value="EditFacilityParties">
> > +
> > +
> > + > value="EditFacilityParties">
> > +
> > +
> >  
> >  
> >  
> >
> >
> >
>


Re: Committers still in contributors list?

2018-07-01 Thread Aditya Sharma
Thanks Jacques for the information :)

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engine
HotWax Systems <http://www.hotwaxsystems.com/>


<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Sun, Jul 1, 2018 at 3:54 PM Jacques Le Roux 
wrote:

> Thank you both for your comments,
>
> I have removed 4 committers:
>
> James Yong
> Swapnil M Mane
> Suraj Khurana
> Aditya Sharma
>
> Please committers double check that I did not miss you there :)
>
> Swapnil, Suraj and Aditya you might add yourself at
>
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+PMC+Members+and+Committers
>
> You may reuse your pictures at
> https://cwiki.apache.org/confluence/pages/viewpageattachments.action?pageId=38568960
>
> HTH
>
> Jacques
>
>
> Le 27/06/2018 à 13:22, Arun Patidar a écrit :
> > +1
> >
> > On Wed, Jun 27, 2018 at 4:49 PM Sharan  wrote:
> >
> >> Hi Jacques
> >>
> >> Yes, I think that would be a good idea because it give us more
> >> visibility on any new (and existing) contributors.
> >>
> >> Thanks
> >> Sharan
> >>
> >> On 27.6.2018 13:05, Jacques Le Roux wrote:
> >>> Hi,
> >>>
> >>> I was wondering, should we not remove committers from the contributors
> >>> list in wiki?
> >>>
> >>>
> >>
> https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Contributors
> >>>
> >>> Jacques
> >>>
> >>
>
>


Re: Welcome to Aditya Sharma as new committer!

2018-07-01 Thread Aditya Sharma
Thank you all for your warm wishes !!

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Mon, Jul 2, 2018 at 9:50 AM Yash Sharma 
wrote:

> Many Congratulations Aditya !!
>
> Thanks & Regards,
> Pradhan Yash Sharma
>
>
> On Mon, Jul 2, 2018 at 9:12 AM Suraj Khurana <
> suraj.khur...@hotwaxsystems.com> wrote:
>
> > Many Congratulations Aditya !!
> >
> > --
> > Thanks and Regards,
> > Suraj Khurana | Omni-channel OMS Technical Expert
> >
> >
> > *Suraj Khurana* | Omni-channel OMS Technical Expert
> > HotWax Commerce <http://www.hotwax.co/>  by  HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010
> > Cell phone: +91 96697-50002
> > <https://about.me/surajkhurana?promo=email_sig>
> >
> >
> >
> > HotWax Systems <http://www.hotwaxsystems.com/> recently received 8
> > mentions in *The Gartner Digital Commerce Vendor Guide, 2016 *by Gartner,
> > Inc., the world's leading IT research and advisory company.
> >
> > [image: Inline image 1]
> >
> > On Fri, Jun 29, 2018 at 2:48 PM, Swapnil Shah <
> > swapnil.s...@hotwaxsystems.com> wrote:
> >
> >> Many Congratulations Aditya !!
> >>
> >>
> >> Thanks & Regards,
> >> Swapnil
> >>
> >> -Original Message-
> >> From: Jacques Le Roux 
> >> Sent: Wednesday, June 27, 2018 1:30 AM
> >> To: dev@ofbiz.apache.org
> >> Subject: Welcome to Aditya Sharma as new committer!
> >>
> >> The OFBiz PMC has invited Aditya to become a new committer and we
> >> arepleased
> >> to announce that he has accepted.
> >>
> >> Aditya has proved to be committed and doing a very good work as a
> >> contributor.
> >>
> >> He notably coordinated the work around the refactoring of the data model
> >> documents, helped in a lot of Jiras and answered appropriately on MLs.
> >>
> >> Please join me in welcoming and congratulating Aditya.
> >>
> >> Jacques
> >>
> >
> >
>


Re: Welcome to Suraj Khurana as new committer!

2018-07-01 Thread Aditya Sharma
Felicitations Suraj !!!

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Mon, Jul 2, 2018 at 9:51 AM Yash Sharma 
wrote:

> Many Congratulations Suraj !!
>
> Thanks & Regards,
> Pradhan Yash Sharma
>
>
> On Mon, Jul 2, 2018 at 9:10 AM Suraj Khurana <
> suraj.khur...@hotwaxsystems.com> wrote:
>
> > Thanks a lot everyone for your warm wishes !!
> >
> > --
> > Best Regards,
> > Suraj Khurana | Omni-channel OMS Technical Expert
> >
> > On Fri, Jun 29, 2018 at 2:48 PM, Swapnil Shah <
> > swapnil.s...@hotwaxsystems.com> wrote:
> >
> > > Many Congratulations Suraj !!
> > >
> > > Thanks & Regards,
> > > Swapnil
> > >
> > > -Original Message-
> > > From: Jacques Le Roux 
> > > Sent: Wednesday, June 27, 2018 1:30 AM
> > > To: dev@ofbiz.apache.org
> > > Subject: Welcome to Suraj Khurana as new committer!
> > >
> > > The OFBiz PMC has invited Suraj to become a new committer and we
> > arepleased
> > > to announce that he has accepted.
> > >
> > > Suraj has proved to be committed for a long time now and is doing a
> very
> > > good work as a contributor.
> > >
> > > He helped in a lot of Jiras, answered properly on MLs and proposed a
> few
> > > quite interesting subjects.
> > >
> > > Please join me in welcoming and congratulating Suraj.
> > >
> > > Jacques
> > >
> >
>


Re: Welcome to Swapnil M. Mane as new committer!

2018-07-01 Thread Aditya Sharma
Felicitations Swapnil !!!

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Mon, Jul 2, 2018 at 9:51 AM Yash Sharma 
wrote:

> Many Congratulations Swapnil !!
>
> Thanks & Regards,
> Pradhan Yash Sharma
>
>
> On Mon, Jul 2, 2018 at 9:12 AM Suraj Khurana <
> suraj.khur...@hotwaxsystems.com> wrote:
>
> > Many Congratulations Swapnil !!
> >
> > --
> > Thanks and Regards,
> > Suraj Khurana | Omni-channel OMS Technical Expert
> >
> >
> > On Fri, Jun 29, 2018 at 2:49 PM, Swapnil Shah <
> > swapnil.s...@hotwaxsystems.com> wrote:
> >
> > > Many Congratulations Swapnil !!
> > >
> > > Thanks & Regards,
> > > Swapnil
> > >
> > > -Original Message-
> > > From: Jacques Le Roux 
> > > Sent: Wednesday, June 27, 2018 1:31 AM
> > > To: dev@ofbiz.apache.org
> > > Subject: Welcome to Swapnil M. Mane as new committer!
> > >
> > > The OFBiz PMC has invited Swapnil to become a new committer and we
> > > arepleased  to announce that he has accepted.
> > >
> > > Swapnil has a high level of commitment for Apache OFBiz and
> consistently
> > > works with the community.
> > >
> > > He is one of the most advanced contributors (including committers) in
> the
> > > functional domain.
> > >
> > > Please join me in welcoming and congratulating Swapnil.
> > >
> > > Jacques
> > >
> >
>


Re: Need help with oshop bootstrap e-commerce plugin

2018-06-14 Thread Aditya Sharma
Hi Jonathan,

The link you shared is not official Apache OFBiz plugin.

Just for your help.

Go through links in "How to implement". It is compatible with 15.x

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Thu, Jun 14, 2018 at 12:10 PM jonat...@eclipsecat.com <
jonat...@eclipsecat.com> wrote:

> Hi,
>
> I am trying to evaluate and learn to develop with Apache OFBiz.  I am
> completely new to all of this!  I just started looking at this today.
>
> As I was exploring the default e-commerce plugin, I found that the UI is
> very dated and they have not released themes for it other than the default.
> Then, I found https://github.com/ORRTIZ/ecbootstrap. This appears to be
> modern plugin I could use instead, which I was quite excited to see. But,
> when I try to use it, I'm encountering bugs. For some reason, gradlew blows
> up with errors about reading XML data in that project.
>
> I'm using the latest OFBiz source, and Java JDK. This plugin is a couple
> of years old, so I figure there is some incompatibility.
>
> I may well be doing any number of things wrong in my attempt to implement
> this.  Could someone with experience please test this out and see if it
> works?  Then, maybe we could explore what I'm doing wrong?
>
>


Re: datamodel book query : page 2-Top Level Product Entities, Entity ProductCategory

2018-05-14 Thread Aditya Sharma
Hi Rajesh,

Almost all the entities in the Top Level diagrams are abridged for some
entity in Detailed diagrams.

We can add a line for it to avoid any confusion.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Thu, Apr 26, 2018 at 1:32 PM mallah.rajesh <mallah.raj...@gmail.com>
wrote:

> Oops sorry. Saw replies late.
> Yes i was referring to Big Book of Apache OFBiz Data Model .
> RegdsMallah
>
>
> Sent from my Samsung Galaxy smartphone.
>  Original message From: Paul Foxworthy <
> p...@cohsoft.com.au> Date: 4/24/18  07:05  (GMT+05:30) To:
> dev@ofbiz.apache.org Subject: Re: datamodel book query : page 2-Top Level
> Product Entities, Entity ProductCategory
> Hi,
>
> I think Rajesh is referring to the Big Book of Apache OFBiz Data Model (
> https://cwiki.apache.org/confluence/display/OFBIZ/Data+Model+Diagrams),
> not
> the Data Model Resource Book by Len Silverston.
>
> Cheers
>
> Paul
>
> On 24 April 2018 at 05:10, Rishi Solanki <rishisolan...@gmail.com> wrote:
>
> > Rajesh,
> > Where you are referring, could you please share the link. I checked the
> > data model book vol1 do not see anything related you are sharing.
> >
> > Thanks!
> >
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> > www.hotwax.co
> >
> > On Mon, Apr 23, 2018 at 4:07 PM, Rajesh Mallah <mallah.raj...@gmail.com>
> > wrote:
> >
> > > Hi ,
> > >
> > > The entity  ProductCategory in Page 2 is abridged and there is no
> > > indication of
> > > that. Page 14 has the full blown version.
> > >
> > > Should we inflate in page 1 , so indicate that fact ?
> > >
> > > regds
> > > mallah.
> > >
> >
>
>
>
> --
> Coherent Software Australia Pty Ltd
> PO Box 2773
> Cheltenham Vic 3192
> Australia
>
> Phone: +61 3 9585 6788
> Web: http://www.coherentsoftware.com.au/
> Email: i...@coherentsoftware.com.au
>


Re: Welcome Paul Foxworthy as a new PMC member

2018-03-21 Thread Aditya Sharma
Felicitations Paul !!!

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Wed, Mar 21, 2018 at 2:56 PM, Ashish Vijaywargiya <
ashish.vijaywarg...@hotwaxsystems.com> wrote:

> Congrats Paul!! I am very happy to have you in the OFBiz PMC!!
>
> --
> Kind Regards
> Ashish Vijaywargiya
> HotWax Systems - est. 1997 <http://www.hotwaxsystems.com/>
>
>
> On Wed, Mar 21, 2018 at 2:12 PM, Jacopo Cappellato <
> jacopo.cappell...@gmail.com> wrote:
>
> > The OFBiz PMC has invited Paul Foxworthy to become a new member of the
> > committee and we are glad to announce that Paul has accepted the
> > nomination.
> >
> > Welcome on board Paul!
> >
> > Jacopo Cappellato (on behalf of the OFBiz PMC)
> >
>


Re: Tracking Data Model changes

2017-12-20 Thread Aditya Sharma
Thank you all for your valuable inputs.

We have added the markdown file to trunk with all the data model changes
from Release 9 to Release 17 at R1818765 and it will soon be part of the
next release. The page is also added as child page to wiki page Revisions
Requiring Data Migration - upgrade ofbiz
<https://cwiki.apache.org/confluence/x/LoBr> as Data Migration by releases
<https://cwiki.apache.org/confluence/x/07JzB>

Thanks Sonal Patwari for the efforts put into gathering information for the
Big Book.

Thanks Jacques Le Roux, Michael Brohl, Pranay Pandey, and Deepak Dixit for
providing personal attention to the whole effort.


Cheers,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sat, Oct 28, 2017 at 12:13 PM, Aditya Sharma <
aditya.sha...@hotwaxsystems.com> wrote:

> Hello all,
>
> I have created a ticket here
> <https://issues.apache.org/jira/browse/OFBIZ-9902>.
>
> I will be adding information about data model changes between OFBiz.9 to
> OFBiz.17.11 in the initial file.
>
> As commented on the ticket,
>
> The file will have the format:
>
>
> Entity Changes:
>
> Here we will have a bulleted list with entity names and the revision number
> 1. Added Entities
> 2. Removed Entities
>
>
> Field changes:
>
> Here we will show data in tabular form in following format:
>
> entityname | field | action | isPK | revision
>
>
> Any suggestions are warmly welcomed.
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Systems <http://www.hotwaxsystems.com/>
> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>
> On Thu, Oct 12, 2017 at 3:02 AM, Michael Brohl <michael.br...@ecomify.de>
> wrote:
>
>> +1 for tracking datamodel changes together with data migration scripts
>>
>> In our customer projects, we track every change in a simple text file in
>> the source code repository. It contains description of the changes,
>> references to issues or requirement documentation and SQL scripts for
>> migrations.
>>
>> In OFBiz, we should at least provide SQL scripts for the embedded Derby
>> database, maybe there will be contributions for other databases as well.
>>
>> Something like db-changelog.derby.txt, db-changelog.mysql.txt or similar.
>>
>> Cheers,
>>
>> Michael
>>
>> Am 31.08.17 um 12:32 schrieb Taher Alkhateeb:
>>
>> Hi Ashish,
>>>
>>> With respect to Jacques' question, I kind of already answered in that
>>> it is not only documentation but also automation.
>>>
>>> Now with respect to which releases to incorporate, it really depends
>>> on what the community decides. I would personally prefer to not go any
>>> earlier than 13, or preferably just 16 to trunk, which means we design
>>> this solution for the future, not necessarily the past. The powerful
>>> thing in using something like liquibase is that not only do you change
>>> the schema (the entity engine can do that partially) but you also
>>> decide on how to migrate the existing data to the new schema. For
>>> example, you might need to split a field to two, or merge two fields,
>>> and so on and so forth.
>>>
>>> Anyway, this is only an idea if people are interested in it. The
>>> original idea of just documenting is also perfectly reasonable and
>>> beneficial.
>>>
>>> On Thu, Aug 31, 2017 at 8:11 AM, Ashish Vijaywargiya
>>> <ashish.vijaywarg...@hotwaxsystems.com> wrote:
>>>
>>>> +1, Taher. I will wait for your comment on Jacques question, we already
>>>> have a document but I think the automated script that can be implemented
>>>> here. Liquidbase and flyway seem to be promising solutions!
>>>>
>>>> One question always comes to my mind: Can we say that automated scripts
>>>> will support the migration from last two or at max three known releases?
>>>> I think we should not put the effort in building the migration script
>>>> that
>>>> could migrate ofbiz earlier version(Let's say Ofbiz 10 or 9 or 4) to the
>>>> latest version. Please share your thoughts on this.
>>>>
>>>> Kind Regards
>>>> Ashish Vijaywargiya
>>>> HotWax Systems - est. 1997 <http://www.hotwaxsystems.com/>
>>>>
>>>>
>>>> On Wed, Aug 30, 2017 at 7:54 PM, Taher Alkhateeb <
>>>> slidingfilame...@gmail.com
&

Re: Are we ready to publish a new release (16.11.04)?

2017-12-19 Thread Aditya Sharma
+1

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Wed, Dec 20, 2017 at 10:38 AM, Swapnil Mane <
swapnil.m...@hotwaxsystems.com> wrote:

> +1
>
>
> - Best Regards,
> Swapnil M Mane
>
> On Tue, Dec 19, 2017 at 9:13 PM, Jacopo Cappellato <
> jacopo.cappell...@hotwaxsystems.com> wrote:
>
> > Hi all,
> >
> > we have published our last release mostly 6 months ago and since then we
> > have merged several bug fixes to our 16.11 branch: I think it is time to
> > publish a new one!
> >
> > If there are no objections I am going to prepare the release files in the
> > next few days and then we will start the release vote: if you think we
> > should backport fixes to that branch this is the right time to do it
> before
> > we start the release process.
> >
> > Kind regards,
> >
> > Jacopo
> >
>


Re: Planning for the creation of the new 17.xx branch(es)

2017-12-19 Thread Aditya Sharma
As per the discussion on http://markmail.org/message/4mrffmp5j2mujv3w and
OFBIZ-9902. <https://issues.apache.org/jira/browse/OFBIZ-9902>
We have prepared markdown file with the data model changes from OFBiz R9 to
17.
It will help users/developers to identify data model changes that come with
the release.

I think this can be the part of our next release. Patch is available on the
ticket, kindly have a look and let me know if any changes required.



Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Tue, Dec 19, 2017 at 6:09 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> +1
>
> Jacques
>
>
>
> Le 19/12/2017 à 11:53, Deepak Dixit a écrit :
>
>> +1
>>
>> I would like to backport ecommerce UX improvement work and remaining
>> jquery
>> upgrade  work.
>>
>> Thanks & Regards
>> --
>> Deepak Dixit
>> www.hotwaxsystems.com
>> www.hotwax.co
>>
>> On Tue, Dec 19, 2017 at 4:12 PM, Nicolas Malin <nicolas.ma...@nereide.fr>
>> wrote:
>>
>> sound good +1
>>>
>>>
>>>
>>> Le 19/12/2017 à 11:31, Jacopo Cappellato a écrit :
>>>
>>> My preference is to create the branch now and discuss on a case by case
>>>> the
>>>> backporting of any additional feature.
>>>>
>>>> Jacopo
>>>>
>>>> On Tue, Dec 19, 2017 at 9:42 AM, Jacques Le Roux <
>>>> jacques.le.r...@les7arts.com> wrote:
>>>>
>>>> Le 18/12/2017 à 18:02, Jacopo Cappellato a écrit :
>>>>
>>>>> On Mon, Dec 18, 2017 at 5:28 PM, Jacques Le Roux <
>>>>>
>>>>>> jacques.le.r...@les7arts.com> wrote:
>>>>>>
>>>>>> There are 3 tasks that I'd like to be completed/committed before we
>>>>>> create
>>>>>>
>>>>>> the R17 branch (or maybe a R18 one)
>>>>>>>
>>>>>>> 1. Tomcat SSO: OFBIZ-10047
>>>>>>> 2. Upgrade jQuery 1.11.0 to jQuery 3.2.1: OFBIZ-9978
>>>>>>> 3. The thread "OFBiz & gradlew-wrapper.jar" in this ML:
>>>>>>> http://markmail.org/message/nd7grfiyobjkfwae
>>>>>>>
>>>>>>> 1. For jQuery it's just a matter of completing, most it done
>>>>>>> 2. Tomcat SSO is complete, but Michael is reluctant because it has
>>>>>>> not
>>>>>>> been tested with a cluster.
>>>>>>> 3. For OFBiz & gradlew-wrapper.jar please refer to LEGAL-288 before
>>>>>>> continuing the discussion
>>>>>>>
>>>>>>> So I ask for a lazy consensus about them,
>>>>>>>
>>>>>>> Could you please better elaborate about what the lazy consensus would
>>>>>>>
>>>>>> achieve in these 3 cases?
>>>>>> For #3, I think we can create the branch and then figure it out before
>>>>>> issuing the first release oout of it (it will take weeks if not
>>>>>> months).
>>>>>>
>>>>>> Jacopo
>>>>>>
>>>>>> Mmm, I thought it was clear enough. Let me try to summarise then:
>>>>>>
>>>>> 1. Should we commit it to have it in R17?
>>>>> 2. Should we wait for this task to be complete before freezing R17?
>>>>> 3. Your proposition is OK with me
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>>
>>>>> what are your opinions (please look at the Jiras and ML I don't want to
>>>>>
>>>>>> rehash all here)?
>>>>>>>
>>>>>>> Also "I have" ideas for 2018, based on ideas from 2014, but that's
>>>>>>> another
>>>>>>> topic :)
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Le 18/12/2017 à 16:19, Michael Brohl a écrit :
>>>>>>>
>>>>>>> Hi Jacopo, all,
>>>>>>>
>>>>>>> I've just finished committing all those FindBugs and refactoring
>>>>>>>>

Re: Handle service response effectively

2017-11-09 Thread Aditya Sharma
Indeed +1

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Thu, Nov 9, 2017 at 1:43 PM, Akash Jain <akash.j...@hotwaxsystems.com>
wrote:

> +1
>
> Thanks and Regards
> --
> Akash Jain
>
> On Tue, Nov 7, 2017 at 4:43 PM, Suraj Khurana <
> suraj.khur...@hotwaxsystems.com> wrote:
>
> > Hello,
> >
> > I noticed many occurrences where service response is not handled properly
> > and it leads to taking more time while debugging issues.
> > IMO, every service calling from java/groovy must handle errors by service
> > util methods such as *isError*, *reutrnError *etc. and similarly in case
> of
> > XML <*call-service*, there should be <*check-error*/> to make sure
> service
> > was executed successfully.
> >
> > Apart from this, one suggestion is to include *Debug.logError *in
> > *ServiceUtil.returnProblem *so that in case of any error occurred and
> > handled, it will always be logged on the console.
> >
> > Please let me know your thoughts on this.
> >
> > --
> > Thanks and Regards,
> > *Suraj Khurana* | Sr. Enterprise Software Engineer
> > *HotWax Commerce*  by  *HotWax Systems*
> > Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010
> >
>


Re: Tracking Data Model changes

2017-10-28 Thread Aditya Sharma
Hello all,

I have created a ticket here
<https://issues.apache.org/jira/browse/OFBIZ-9902>.

I will be adding information about data model changes between OFBiz.9 to
OFBiz.17.11 in the initial file.

As commented on the ticket,

The file will have the format:


Entity Changes:

Here we will have a bulleted list with entity names and the revision number
1. Added Entities
2. Removed Entities


Field changes:

Here we will show data in tabular form in following format:

entityname | field | action | isPK | revision


Any suggestions are warmly welcomed.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Thu, Oct 12, 2017 at 3:02 AM, Michael Brohl <michael.br...@ecomify.de>
wrote:

> +1 for tracking datamodel changes together with data migration scripts
>
> In our customer projects, we track every change in a simple text file in
> the source code repository. It contains description of the changes,
> references to issues or requirement documentation and SQL scripts for
> migrations.
>
> In OFBiz, we should at least provide SQL scripts for the embedded Derby
> database, maybe there will be contributions for other databases as well.
>
> Something like db-changelog.derby.txt, db-changelog.mysql.txt or similar.
>
> Cheers,
>
> Michael
>
> Am 31.08.17 um 12:32 schrieb Taher Alkhateeb:
>
> Hi Ashish,
>>
>> With respect to Jacques' question, I kind of already answered in that
>> it is not only documentation but also automation.
>>
>> Now with respect to which releases to incorporate, it really depends
>> on what the community decides. I would personally prefer to not go any
>> earlier than 13, or preferably just 16 to trunk, which means we design
>> this solution for the future, not necessarily the past. The powerful
>> thing in using something like liquibase is that not only do you change
>> the schema (the entity engine can do that partially) but you also
>> decide on how to migrate the existing data to the new schema. For
>> example, you might need to split a field to two, or merge two fields,
>> and so on and so forth.
>>
>> Anyway, this is only an idea if people are interested in it. The
>> original idea of just documenting is also perfectly reasonable and
>> beneficial.
>>
>> On Thu, Aug 31, 2017 at 8:11 AM, Ashish Vijaywargiya
>> <ashish.vijaywarg...@hotwaxsystems.com> wrote:
>>
>>> +1, Taher. I will wait for your comment on Jacques question, we already
>>> have a document but I think the automated script that can be implemented
>>> here. Liquidbase and flyway seem to be promising solutions!
>>>
>>> One question always comes to my mind: Can we say that automated scripts
>>> will support the migration from last two or at max three known releases?
>>> I think we should not put the effort in building the migration script
>>> that
>>> could migrate ofbiz earlier version(Let's say Ofbiz 10 or 9 or 4) to the
>>> latest version. Please share your thoughts on this.
>>>
>>> Kind Regards
>>> Ashish Vijaywargiya
>>> HotWax Systems - est. 1997 <http://www.hotwaxsystems.com/>
>>>
>>>
>>> On Wed, Aug 30, 2017 at 7:54 PM, Taher Alkhateeb <
>>> slidingfilame...@gmail.com
>>>
>>>> wrote:
>>>> Good idea! Why not take it a step further, and write data migration
>>>> scripts? They will serve two purposes in one: 1) document changes 2)
>>>> automate upgrades.
>>>>
>>>> You can experiment with solutions like liquibase or flyway
>>>>
>>>> On Aug 30, 2017 4:23 PM, "Aditya Sharma" <aditya.sharma@hotwaxsystems.c
>>>> om>
>>>> wrote:
>>>>
>>>> Hello everyone,
>>>>
>>>> For one of my assignments, I need to find out entity changes that took
>>>> place between an older release and the latest release.
>>>>
>>>> One of the solutions that came up was comparing the database using MySQL
>>>> Workbench or some other utility. I found around 60+ new entity changes
>>>> and
>>>> a lot of minor field changes since last big book was published (OFBiz 9
>>>> I
>>>> suppose).
>>>> It's fascinating for me that around 8 years passed since then and data
>>>> model still stands well (Kudos to Universal Data Model that we followed
>>>> in
>>>> OFBiz)
>>>>
>>>>
>>>> Just a proposal, since we don't have so many frequent changes in the
>>>> data
>>>> model. It will be good to have a page or some other method defined to
>>>> keep
>>>> a track of such changes.
>>>>
>>>> I feel such information can be quite helpful when migrating from an
>>>> older
>>>> to some newer release.
>>>>
>>>> Please share your thoughts.
>>>>
>>>> Thanks and Regards,
>>>>
>>>> *Aditya Sharma* | Enterprise Software Engineer
>>>> HotWax Systems <http://www.hotwaxsystems.com/>
>>>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>>>
>>>>
>
>


Re: Date model original source files, was: Re: [ANNOUNCE] The Big Book for Apache OFBiz Data Model 2017 Released

2017-10-24 Thread Aditya Sharma
Hi Michael, Jacques,

I have uploaded the Graffle files on OFBIZ-9857
<https://issues.apache.org/jira/browse/OFBIZ-9857>. You can move it now to
the desired directory

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Tue, Oct 17, 2017 at 6:03 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Le 11/10/2017 à 14:27, Jacques Le Roux a écrit :
>
>> Hi Michael,
>>
>> I think a good place for them is in tools. I'd create a sub-dir
>> documentation and even a sub-sub-dir data-model
>>
> Maybe now if we create a documentation folder under OFBiz root the best
> place would be there...
>
>
>
>> Jacques
>>
>>
>> Le 11/10/2017 à 13:14, Michael Brohl a écrit :
>>
>>> Hi everyone,
>>>
>>> I think we should somehow store the Omnigraffle source files and keep
>>> them up-to-date in our repository.
>>>
>>> I'm not sure where to store them, maybe a new repository path
>>> /ofbiz/ofbiz-framework-doc and /ofbiz/ofbiz-plugins-doc ?
>>>
>>> Another idea is to convert them into a format which can be edited by
>>> freely available diagram tools like draw.io, yEd or else to make them
>>> accessible for everyone without the need of buying a program. What do you
>>> think?
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>>
>>> Am 04.10.17 um 13:15 schrieb Aditya Sharma:
>>>
>>>> Hello All,
>>>>
>>>> It gives me immense pleasure informing you all that we have updated
>>>> *The Big
>>>> Book of Apache OFBiz Data Model* according to the latest trunk version.
>>>>
>>>> The key features:
>>>> * Colored content with titles according to the internal color pattern.
>>>> * Addition of a separate page for integration specific entities.
>>>> * Removal of technical process diagrams, making it specific for
>>>> entities.
>>>> * Addition of 77 new entities.
>>>> * Removal of 8 entities.
>>>> * Addition of around 200+ new fields in entities (Though major portion
>>>> includes the addition of description or attrDescription fields in
>>>> *Attribute or *TypeAttr entities).
>>>> * Removal of 24 fields.
>>>>
>>>> I have uploaded the files on Data Model Diagrams page. Here is the link
>>>> <https://cwiki.apache.org/confluence/x/8ILK>.
>>>>
>>>> Cheers!
>>>>
>>>> *Aditya Sharma* | Enterprise Software Engineer
>>>> HotWax Systems <http://www.hotwaxsystems.com/>
>>>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>>>
>>>>
>>>
>>>
>>
>>
>


Re: Date model original source files, was: Re: [ANNOUNCE] The Big Book for Apache OFBiz Data Model 2017 Released

2017-10-17 Thread Aditya Sharma
Hi Michael,

During the commencement of this work, I had several discussion with Pranay
on how we can migrate these artifacts from OmniGraffle to any other freely
available tool like draw.io. The initial idea was to migrate it to a tool
like draw.io and then update it. We put a lot of efforts to this task but
couldn't reach a better solution.

We still strive to this effort & will update community if we find some way
out of it.

I have created a ticket OFBIZ-9857
<https://issues.apache.org/jira/browse/OFBIZ-9857> to upload the newly
updated files & will soon upload the files.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Wed, Oct 11, 2017 at 5:57 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Michael,
>
> I think a good place for them is in tools. I'd create a sub-dir
> documentation and even a sub-sub-dir data-model
>
> Jacques
>
>
>
> Le 11/10/2017 à 13:14, Michael Brohl a écrit :
>
>> Hi everyone,
>>
>> I think we should somehow store the Omnigraffle source files and keep
>> them up-to-date in our repository.
>>
>> I'm not sure where to store them, maybe a new repository path
>> /ofbiz/ofbiz-framework-doc and /ofbiz/ofbiz-plugins-doc ?
>>
>> Another idea is to convert them into a format which can be edited by
>> freely available diagram tools like draw.io, yEd or else to make them
>> accessible for everyone without the need of buying a program. What do you
>> think?
>>
>> Regards,
>>
>> Michael
>>
>>
>> Am 04.10.17 um 13:15 schrieb Aditya Sharma:
>>
>>> Hello All,
>>>
>>> It gives me immense pleasure informing you all that we have updated *The
>>> Big
>>> Book of Apache OFBiz Data Model* according to the latest trunk version.
>>>
>>> The key features:
>>> * Colored content with titles according to the internal color pattern.
>>> * Addition of a separate page for integration specific entities.
>>> * Removal of technical process diagrams, making it specific for entities.
>>> * Addition of 77 new entities.
>>> * Removal of 8 entities.
>>> * Addition of around 200+ new fields in entities (Though major portion
>>> includes the addition of description or attrDescription fields in
>>> *Attribute or *TypeAttr entities).
>>> * Removal of 24 fields.
>>>
>>> I have uploaded the files on Data Model Diagrams page. Here is the link
>>> <https://cwiki.apache.org/confluence/x/8ILK>.
>>>
>>> Cheers!
>>>
>>> *Aditya Sharma* | Enterprise Software Engineer
>>> HotWax Systems <http://www.hotwaxsystems.com/>
>>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>>
>>>
>>
>>
>


Re: [ANNOUNCE] The Big Book for Apache OFBiz Data Model 2017 Released

2017-10-04 Thread Aditya Sharma
Hi Taher,

With the color code on a field, we can find the entity page of that
particular field. I will add an example to show how it works.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Wed, Oct 4, 2017 at 7:15 PM, Yash Sharma <yash.sha...@hotwaxsystems.com>
wrote:

> Great Effort !!
>
> On Wed, Oct 4, 2017 at 4:46 PM Aditya Sharma <
> aditya.sha...@hotwaxsystems.com> wrote:
>
> > Hello All,
> >
> > It gives me immense pleasure informing you all that we have updated *The
> > Big
> > Book of Apache OFBiz Data Model* according to the latest trunk version.
> >
> > The key features:
> > * Colored content with titles according to the internal color pattern.
> > * Addition of a separate page for integration specific entities.
> > * Removal of technical process diagrams, making it specific for entities.
> > * Addition of 77 new entities.
> > * Removal of 8 entities.
> > * Addition of around 200+ new fields in entities (Though major portion
> > includes the addition of description or attrDescription fields in
> > *Attribute or *TypeAttr entities).
> > * Removal of 24 fields.
> >
> > I have uploaded the files on Data Model Diagrams page. Here is the link
> > <https://cwiki.apache.org/confluence/x/8ILK>.
> >
> > Cheers!
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> > HotWax Systems <http://www.hotwaxsystems.com/>
> > <https://www.linkedin.com/in/aditya-sharma-78291810a/>
> >
> --
> Thanks,
> *Pradhan Yash Sharma*
>


Re: [ANNOUNCE] The Big Book for Apache OFBiz Data Model 2017 Released

2017-10-04 Thread Aditya Sharma
My Bad. Just missed something important.

Thanks to Sonal Patwari for all the effort she put in this whole task.

Thanks to Pranay Pandey and Deepak Dixit for the guidance provided.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Wed, Oct 4, 2017 at 6:03 PM, Michael Brohl <michael.br...@ecomify.de>
wrote:

> That's really great, thank you very much for your efforts, Aditya!
>
> Best regards,
>
> Michael
>
>
> Am 04.10.17 um 13:15 schrieb Aditya Sharma:
>
>> Hello All,
>>
>> It gives me immense pleasure informing you all that we have updated *The
>> Big
>> Book of Apache OFBiz Data Model* according to the latest trunk version.
>>
>> The key features:
>> * Colored content with titles according to the internal color pattern.
>> * Addition of a separate page for integration specific entities.
>> * Removal of technical process diagrams, making it specific for entities.
>> * Addition of 77 new entities.
>> * Removal of 8 entities.
>> * Addition of around 200+ new fields in entities (Though major portion
>> includes the addition of description or attrDescription fields in
>> *Attribute or *TypeAttr entities).
>> * Removal of 24 fields.
>>
>> I have uploaded the files on Data Model Diagrams page. Here is the link
>> <https://cwiki.apache.org/confluence/x/8ILK>.
>>
>> Cheers!
>>
>> *Aditya Sharma* | Enterprise Software Engineer
>> HotWax Systems <http://www.hotwaxsystems.com/>
>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>
>>
>
>


[ANNOUNCE] The Big Book for Apache OFBiz Data Model 2017 Released

2017-10-04 Thread Aditya Sharma
Hello All,

It gives me immense pleasure informing you all that we have updated *The Big
Book of Apache OFBiz Data Model* according to the latest trunk version.

The key features:
* Colored content with titles according to the internal color pattern.
* Addition of a separate page for integration specific entities.
* Removal of technical process diagrams, making it specific for entities.
* Addition of 77 new entities.
* Removal of 8 entities.
* Addition of around 200+ new fields in entities (Though major portion
includes the addition of description or attrDescription fields in
*Attribute or *TypeAttr entities).
* Removal of 24 fields.

I have uploaded the files on Data Model Diagrams page. Here is the link
<https://cwiki.apache.org/confluence/x/8ILK>.

Cheers!

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>


Re: [Site] OFBIZ-9665

2017-10-03 Thread Aditya Sharma
Interesting. Thanks Deepak for sharing that.

+1 for having target="external" at all places as consistency is key to good
user experience.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Tue, Oct 3, 2017 at 2:00 PM, Devanshu Vyas <vyas.devansh...@gmail.com>
wrote:

> Thanks Deepak, I looked for similar info, but was unable to find. And in
> the meantime, got to know about the Rel attribute, so I thought the
> intended code was rel rather than target='external'.
> Now, with the new information at hand, I think target="_blank" or
> target="external" both are correct. All we need to decide is whether to
> open all links in separate tabs everytime link is clicked or just once.
>
> I think we should open all external links with target="external". WDYAS?
>
> Thanks & Regards,
> Devanshu Vyas.
>
> On Tue, Oct 3, 2017 at 1:58 PM, Jacques Le Roux <
> jacques.le.r...@les7arts.com> wrote:
>
> > Ha thanks Deepak,
> >
> > This is interesting (and surprising), so we should change ALL
> > target="_blank" to target="external" rather for consistency sake
> >
> > If everybody agree I will do so
> >
> > Jacques
> >
> >
> >
> > Le 03/10/2017 à 10:18, Deepak Dixit a écrit :
> >
> >> Hi Devanshu,
> >>
> >> I think target="external" is correct.
> >>
> >> https://www.quackit.com/html/codes/html_open_link_in_new_window.cfm
> >>
> >> {info}
> >> Instead of calling your window _blank, you can give it a name of your
> >> choosing. Then all URLs will load in that same tab (as long as you use
> the
> >> same name).
> >>
> >> For example, if you have a policy of loading all external links in a
> >> separate tab, you could call that tab, say, external. Then each link
> that
> >> contains target="external" will open in that window/tab. Doing this
> >> ensures
> >> that new windows aren't going to be popping up every time a user clicks
> on
> >> a link.
> >>
> >> {info}
> >>
> >> Thanks & Regards
> >> --
> >> Deepak Dixit
> >> www.hotwaxsystems.com
> >> www.hotwax.co
> >>
> >> On Tue, Oct 3, 2017 at 1:40 PM, Devanshu Vyas <
> vyas.devansh...@gmail.com>
> >> wrote:
> >>
> >> Hello,
> >>>
> >>> I agree with Jacques and Aditya, we should set all external links with
> >>> target="_blank". I have also mentioned the same on the JIRA ticket
> >>> <https://issues.apache.org/jira/browse/OFBIZ-9665>.
> >>> I think the intended use is rel="external", which was somehow written
> as
> >>> target="external", refer: https://www.w3schools.com/Tags/att_a_rel.asp
> >>>
> >>> Hope this helps!
> >>>
> >>> Thanks & Regards,
> >>> Devanshu Vyas.
> >>>
> >>> On Tue, Oct 3, 2017 at 12:18 PM, Taher Alkhateeb <
> >>> slidingfilame...@gmail.com
> >>>
> >>>> wrote:
> >>>> AFAIK "_blank" is the only acceptable target in HTML 5 because frames
> >>>> are deprecated. The website is modern and built on an HTML 5 template.
> >>>> Hence every target should be "_blank"
> >>>>
> >>>> On Tue, Oct 3, 2017 at 9:42 AM, Jacques Le Roux
> >>>> <jacques.le.r...@les7arts.com> wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> Aditya and I want to change all "external" targets to "_blank" but
> are
> >>>>> unsure of the reason of "external" targets
> >>>>>
> >>>>> Could someone please confirm it's not an issue and maybe explain why
> we
> >>>>>
> >>>> have
> >>>>
> >>>>> "external" targets
> >>>>>
> >>>>> Thanks
> >>>>>
> >>>>> Jacques
> >>>>>
> >>>>>
> >
>


Re: [Site] things to clean up or improve

2017-10-02 Thread Aditya Sharma
Hi Jacques,
Here is one https://issues.apache.org/jira/browse/OFBIZ-9665

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sun, Oct 1, 2017 at 2:25 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Thanks Sharan,
>
> Closed
>
> Jacques
>
>
>
> Le 01/10/2017 à 10:46, Sharan Foga a écrit :
>
>> I think it was 9663 but will check properly when I  get back.
>>
>> Thanks
>> Sharan
>>
>>
>> On 1 Oct 2017 10:01 am, "Jacques Le Roux" <jacques.le.r...@les7arts.com>
>> wrote:
>>
>> Hi Sharan,
>>>
>>> I could not find it
>>>
>>> Cheers
>>>
>>> Jacques
>>>
>>>
>>> Le 01/10/2017 à 09:32, Sharan Foga a écrit :
>>>
>>> Thanks Jacques.  I think there was also a jira created for this
>>>> particular
>>>> one so if you could find and close that one it would be good. Otherwise
>>>> I
>>>> will do it when I  get back on Thursday.
>>>>
>>>> Thanks
>>>> Sharan
>>>>
>>>>
>>>>
>>>> On 1 Oct 2017 9:21 am, "Jacques Le Roux" <jacques.le.r...@les7arts.com>
>>>> wrote:
>>>>
>>>> Le 28/09/2017 à 22:13, Jacques Le Roux a écrit :
>>>>
>>>> 2. Googling for "site:ofbiz.apache.org security security"
>>>>
>>>>>  Add a link from the security word (in bottom part) to "Security
>>>>> Vulnerabilities" section in Dowload page (miss an anchor there, was
>>>>> https://ofbiz.apache.org/download.html#vulnerabilities before)
>>>>>
>>>>> Done
>>>>>
>>>> Jacques
>>>>
>>>>
>>>>
>


Re: Security group permission association must have date range

2017-09-29 Thread Aditya Sharma
+1

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Fri, Sep 29, 2017 at 2:38 PM, Devanshu Vyas <vyas.devansh...@gmail.com>
wrote:

> +1 Suraj.
>
> Thanks & Regards,
> Devanshu Vyas.
>
> On Fri, Sep 29, 2017 at 2:34 PM, Vaibhav Jain <
> vaibhav.j...@hotwaxsystems.com> wrote:
>
> > +1 Suraj
> >
> > Vaibhav Jain
> > Hotwax Systems,
> > vaibhav.j...@hotwaxsystems.com
> >
> > On Thu, Sep 28, 2017 at 1:35 PM, Suraj Khurana <
> > suraj.khur...@hotwaxsystems.com> wrote:
> >
> > > Hello,
> > >
> > > There might be many scenarios in the real business that you need to
> > > maintain specific permission to a specific group for some specified
> time
> > > only. Like at the time of business expansion, permission related work
> > > allotment to current employees, so maintaining history becomes
> important
> > > here.
> > >
> > > IMO, there should be *fromDate* and *thruDate* fields on
> > > *SecurityGroupPermission* entity as well with *fromDate* as part of
> > primary
> > > key.
> > >
> > > Please let me know your thoughts on this.
> > >
> > > --
> > > Thanks and Regards,
> > > *Suraj Khurana* | Sr. Enterprise Software Engineer
> > > *HotWax Commerce*  by  *HotWax Systems*
> > > Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010
> > >
> >
>


Re: Tracking Data Model changes

2017-09-23 Thread Aditya Sharma
That would be a much effective solution.

As far as https://cwiki.apache.org/confluence/display/OFBIZ/
Revisions+Requiring+Data+Migration+-+upgrade+ofbiz page is concerned I find
it quite absurd that we provide information based upon only revisions while
users deal with releases.

Though it would be better to link it to data migration page so that user
gets all information through a single path.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sat, Sep 23, 2017 at 2:22 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Aditya,
>
> One way we could use and is already used for the Gradle and Birt Flexible
> documentation in wiki is to create README.md files, uses Pandoc to generate
> a HTML file from it in tools\wiki-files and import this file in wiki using
> the HTML import macro.
>
> Doing  so we follow both way you suggested. So users have it in 2 places
> while it's only maintained in one place where it's versioned (though
> Confluence also versions pages)
>
> Maybe an overkill in this case though. Since we have already
> https://cwiki.apache.org/confluence/display/OFBIZ/Revisions+
> Requiring+Data+Migration+-+upgrade+ofbiz to start from
>
> My 2cts
>
> Jacques
>
>
> Le 23/09/2017 à 10:41, Aditya Sharma a écrit :
>
>> I see two ways to do that
>>
>> 1. A page maintained on Confluence where all the data model changes are
>> updated. Here, we can have a page maintained for the upcoming release when
>> the release is out we make it sub child titled with the release name.
>> 2. A file is maintained in ofbiz-framework code base itself that goes with
>> the package with information about data model changes. Whenever someone
>> downloads the package this file will help track data model changes that
>> come with the package.
>>
>> We can make it part of contributor's practice to update it whenever such
>> changes are done.
>>
>> Which way should we go?
>>
>> Thanks and Regards,
>>
>> *Aditya Sharma* | Enterprise Software Engineer
>> HotWax Systems <http://www.hotwaxsystems.com/>
>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>
>> On Sun, Sep 10, 2017 at 4:46 PM, Michael Brohl <michael.br...@ecomify.de>
>> wrote:
>>
>> +1 for the documentation of database changes.
>>>
>>> We alreadyy do this for customer projects, along with (database specific)
>>> data migration scripts.
>>>
>>> I'm not sure if we can afford to provide sophisticated additional tool
>>> support which is maintained continiously?
>>>
>>>
>>> As a conclusion, I think we should setup a convention that any database
>>> model change has to provide a proper change log and migration script for
>>> the embedded database (if applicable).
>>>
>>> Thanks,
>>>
>>> Michael
>>>
>>>
>>> Am 01.09.17 um 15:24 schrieb Taher Alkhateeb:
>>>
>>> Groovy scripts are also great and can do the job. To comment on the
>>>
>>>> "advantage" of something like flyway or liquibase I can try to list
>>>> some:
>>>> - The scripts might get too big or complex to accommodate different
>>>> databases and platforms.
>>>> - Out of the box, these solutions are database independent
>>>> - Ability to redo / undo on schema changes
>>>> - Supporting declarative style for schema definitions based on
>>>> multiple formats (YAML, XML, JSON, etc ..)
>>>> - The DSL is easier to use (declarative and short)
>>>>
>>>> So in short, both solutions are viable, and existing solutions might
>>>> be a bit easier to implement especially if you consider additional
>>>> features in those solutions.
>>>>
>>>> On Fri, Sep 1, 2017 at 2:23 PM, Nicolas Malin <nicolas.ma...@nereide.fr
>>>> >
>>>> wrote:
>>>>
>>>> I'm in favor to tracking the different migration but at this time I
>>>>> didn't
>>>>> see the advantage to use flyway or other instead of manage easily by
>>>>> ofbiz
>>>>> throw groovy script.
>>>>>
>>>>> I'm available to help for design or create a POC do realize it because
>>>>> many
>>>>> time in the past (and currently ow) I want to refactoring some code/db
>>>>> schema with data migration but we haven't clean process to do that.
>>>>>
>>>>> Nicolas
>>>>>
>>>>>
>>>>> Le 31/08/2017 à 12:37, Jacques Le Roux a écrit :
>>>>>
>>>>> Le 31/08/2017 à 12:32, Taher Alkhateeb a écrit :
>>>>>>
>>>>>> I would personally prefer to not go any
>>>>>>> earlier than 13, or preferably just 16 to trunk, which means we
>>>>>>> design
>>>>>>> this solution for the future, not necessarily the past.
>>>>>>>
>>>>>>> +1
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>
>


Re: svn commit: r1809375 - /ofbiz/ofbiz-framework/trunk/framework/common/entitydef/entitymodel.xml

2017-09-23 Thread Aditya Sharma
Hi Deepak,

Good observation. I missed on that. I will keep that in mind & update the
patch.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sat, Sep 23, 2017 at 2:06 PM, Deepak Dixit <deepak.di...@hotwaxsystems.co
m> wrote:

> Hi Aditya,
>
> It would be good if we use upper case for fk-name,  as its constraints and
> across the application we are using fk-name as upper case.
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
> On Sat, Sep 23, 2017 at 1:54 PM, <jler...@apache.org> wrote:
>
> > Author: jleroux
> > Date: Sat Sep 23 08:24:08 2017
> > New Revision: 1809375
> >
> > URL: http://svn.apache.org/viewvc?rev=1809375=rev
> > Log:
> > Implemented: Missing foreign key constraint for fields userLoginId &
> > userPrefGroupTypeId in UserPreference entity
> >
> > UserPreference.userLoginId is related to UserLogin.userLoginId.
> > UserPreference.userPrefGroupTypeId is related to
> > UserPrefGroupType.userPrefGroupTypeId.
> >
> > (OFBIZ-9678)
> >
> >
> > Thanks: Aditya
> >
> > Modified:
> > ofbiz/ofbiz-framework/trunk/framework/common/entitydef/enti
> tymodel.xml
> >
> > Modified: ofbiz/ofbiz-framework/trunk/framework/common/entitydef/
> > entitymodel.xml
> > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/
> > framework/common/entitydef/entitymodel.xml?rev=1809375&
> > r1=1809374=1809375=diff
> > 
> > ==
> > --- ofbiz/ofbiz-framework/trunk/framework/common/entitydef/entit
> ymodel.xml
> > (original)
> > +++ ofbiz/ofbiz-framework/trunk/framework/common/entitydef/entit
> ymodel.xml
> > Sat Sep 23 08:24:08 2017
> > @@ -639,6 +639,12 @@ under the License.
> >The
> > java data type of this preference (empty = java.lang.String) > description>
> >
> >
> > +   > rel-entity-name="UserLogin">
> > +
> > +  
> > +   rel-entity-name="
> > UserPrefGroupType">
> > +
> > +  
> >  
> >
> >   >
> >
> >
>


Re: Tracking Data Model changes

2017-09-23 Thread Aditya Sharma
I see two ways to do that

1. A page maintained on Confluence where all the data model changes are
updated. Here, we can have a page maintained for the upcoming release when
the release is out we make it sub child titled with the release name.
2. A file is maintained in ofbiz-framework code base itself that goes with
the package with information about data model changes. Whenever someone
downloads the package this file will help track data model changes that
come with the package.

We can make it part of contributor's practice to update it whenever such
changes are done.

Which way should we go?

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>
On Sun, Sep 10, 2017 at 4:46 PM, Michael Brohl <michael.br...@ecomify.de>
wrote:

> +1 for the documentation of database changes.
>
> We alreadyy do this for customer projects, along with (database specific)
> data migration scripts.
>
> I'm not sure if we can afford to provide sophisticated additional tool
> support which is maintained continiously?
>
>
> As a conclusion, I think we should setup a convention that any database
> model change has to provide a proper change log and migration script for
> the embedded database (if applicable).
>
> Thanks,
>
> Michael
>
>
> Am 01.09.17 um 15:24 schrieb Taher Alkhateeb:
>
> Groovy scripts are also great and can do the job. To comment on the
>> "advantage" of something like flyway or liquibase I can try to list
>> some:
>> - The scripts might get too big or complex to accommodate different
>> databases and platforms.
>> - Out of the box, these solutions are database independent
>> - Ability to redo / undo on schema changes
>> - Supporting declarative style for schema definitions based on
>> multiple formats (YAML, XML, JSON, etc ..)
>> - The DSL is easier to use (declarative and short)
>>
>> So in short, both solutions are viable, and existing solutions might
>> be a bit easier to implement especially if you consider additional
>> features in those solutions.
>>
>> On Fri, Sep 1, 2017 at 2:23 PM, Nicolas Malin <nicolas.ma...@nereide.fr>
>> wrote:
>>
>>> I'm in favor to tracking the different migration but at this time I
>>> didn't
>>> see the advantage to use flyway or other instead of manage easily by
>>> ofbiz
>>> throw groovy script.
>>>
>>> I'm available to help for design or create a POC do realize it because
>>> many
>>> time in the past (and currently ow) I want to refactoring some code/db
>>> schema with data migration but we haven't clean process to do that.
>>>
>>> Nicolas
>>>
>>>
>>> Le 31/08/2017 à 12:37, Jacques Le Roux a écrit :
>>>
>>>> Le 31/08/2017 à 12:32, Taher Alkhateeb a écrit :
>>>>
>>>>> I would personally prefer to not go any
>>>>> earlier than 13, or preferably just 16 to trunk, which means we design
>>>>> this solution for the future, not necessarily the past.
>>>>>
>>>> +1
>>>>
>>>> Jacques
>>>>
>>>>
>>>>
>
>


Re: Can't access ebaystore [Plugins are missing]

2017-09-09 Thread Aditya Sharma
Hi Ayushi,

I think you are trying the wrong URL.

Try this
https://demo-trunk.ofbiz.apache.org/webtools/control/main

Notice the "." after trunk.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sat, Sep 9, 2017 at 5:46 PM, Ayushi Rathod <ayushiratho...@gmail.com>
wrote:

> Thanks Deepak.
>
> But it seems this is to access ebayStore on local, isn't there any way to
> access it on demo-trunk.
>
> Correct me if I have missed something.
>
>
> On Sat, Sep 9, 2017 at 3:38 PM, Deepak Dixit <deepak.dixit@hotwaxsystems.
> com
> > wrote:
>
> > Hi Ayushi,
> >
> > ebaystore component is disabled, if you want to access it you need to
> > enable it. form ofbiz-component.xml
> >
> > If you read server start log then ofbiz print message that ebaystore is
> > disabled.
> > {code}
> >
> > |main|ComponentContainer|I| Not loading component [ebaystore] because it
> is disabled
> >
> > {code}
> >
> > Thanks & Regards
> > --
> > Deepak Dixit
> > www.hotwaxsystems.com
> > www.hotwax.co
> >
> > On Sat, Sep 9, 2017 at 2:12 PM, Ayushi Rathod <ayushiratho...@gmail.com>
> > wrote:
> >
> >> Hi everyone,
> >>
> >> I was trying to access the ebaystore but I am unable to see any plugins
> on
> >> demo-trunk.
> >>
> >> The link is mentioned below
> >> https://demo-trunk-ofbiz.apache.org/webtools/control/login
> >>
> >> Can someone help me with this?
> >>
> >> Best regards
> >> Ayushi Rathod
> >>
> >
> >
>


Tracking Data Model changes

2017-08-30 Thread Aditya Sharma
Hello everyone,

For one of my assignments, I need to find out entity changes that took
place between an older release and the latest release.

One of the solutions that came up was comparing the database using MySQL
Workbench or some other utility. I found around 60+ new entity changes and
a lot of minor field changes since last big book was published (OFBiz 9 I
suppose).
It's fascinating for me that around 8 years passed since then and data
model still stands well (Kudos to Universal Data Model that we followed in
OFBiz)


Just a proposal, since we don't have so many frequent changes in the data
model. It will be good to have a page or some other method defined to keep
a track of such changes.

I feel such information can be quite helpful when migrating from an older
to some newer release.

Please share your thoughts.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>


Re: Help Needed to move our new website live

2017-08-29 Thread Aditya Sharma
Congratulations team The site looks awesome.
A small suggestion for plugin link on developers page (
http://ofbiz.apache.org/developers.html).
Instead of having ofbiz-plugins check out link as


   -  *ofbiz-plugins trunk* : $ svn co http://svn.apache.org/repos/
   asf/ofbiz/ofbiz-plugins/trunk ofbiz-plugins

it can be


   - *ofbiz-plugins trunk* : $ svn co http://svn.apache.org/repos/
   asf/ofbiz/ofbiz-plugins/trunk plugins
   -

so that we can take check out directly in ofbiz framework folder and use it.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Tue, Aug 29, 2017 at 3:08 PM, Chandan Khandelwal <chandan.khandelwal@
hotwaxsystems.com> wrote:

> New site looks great. One thing I noticed here is security link in footer
> section is redirecting to download page (
> http://ofbiz.apache.org/download.html).
>
> Created Jira issue for this:
> https://issues.apache.org/jira/browse/OFBIZ-9663
>
> --
> Thanks & Regards,
> Chandan Khandelwal
> HotWax Systems
> Direct: +91-9893481076
> http://www.hotwaxsystems.com/
>
>
> On Tue, Aug 29, 2017 at 2:59 PM, gil portenseigne <
> gil.portensei...@nereide.fr> wrote:
>
> > Hi Jacopo,
> >
> > Yes I did, it seems to be an unsecure content protection see JIRA
> > OFBIZ-9662 : https://s.apache.org/vwwI
> >
> > Gil
> >
> >
> >
> > On 29/08/2017 10:40, Jacopo Cappellato wrote:
> >
> >> Hi Gil,
> >>
> >> did you try to refresh the pages?
> >>
> >> Jacopo
> >>
> >> On Tue, Aug 29, 2017 at 10:12 AM, gil portenseigne <
> >> gil.portensei...@nereide.fr> wrote:
> >>
> >> Congratulations and thanks to everyone who participated in this effort.
> >>>
> >>> I just detected some strange behavior on Getting
> >>> started/New/Documentation/Community links in the header, they are
> >>> pointing to the current page...
> >>>
> >>> Detected on Firefox and Chrome.
> >>>
> >>> Regards,
> >>>
> >>> Gil
> >>>
> >>>
> >>>
> >>> On 29/08/2017 09:58, Ashish Vijaywargiya wrote:
> >>>
> >>> Now let's make some noise about our brand new site :-)
> >>>>
> >>>>> +1
> >>>>>
> >>>> The new Apache OFBiz website is looking super cool.
> >>>> Thanks everyone who was directly or indirectly involved in this
> effort.
> >>>>
> >>>> --
> >>>> Kind Regards
> >>>> Ashish Vijaywargiya
> >>>> HotWax Systems - est. 1997 <http://www.hotwaxsystems.com/>
> >>>>
> >>>>
> >>>> On Tue, Aug 29, 2017 at 1:22 PM, Sharan Foga <sharan.f...@gmail.com>
> >>>> wrote:
> >>>>
> >>>> Thanks everyone for getting this live! Now let's make some noise about
> >>>> our
> >>>>
> >>>>> brand new site :-)
> >>>>>
> >>>>> Thanks
> >>>>> Sharan
> >>>>>
> >>>>>
> >>>>> On 29/08/17 09:48, Jacopo Cappellato wrote:
> >>>>>
> >>>>> Congratulations, the new site looks great!
> >>>>>
> >>>>>> Thank you Sharan, Kenneth and everyone who helped in this effort.
> >>>>>>
> >>>>>> Jacopo
> >>>>>>
> >>>>>> On Tue, Aug 29, 2017 at 8:51 AM, Deepak Dixit <
> >>>>>> deepak.di...@hotwaxsystems.com> wrote:
> >>>>>>
> >>>>>> Just to update you all, now its working fine
> >>>>>>
> >>>>>> Nice work Kenneth and Sharan. I found some enhancement. Will fix one
> >>>>>>> by
> >>>>>>> one
> >>>>>>> when I get a chance.
> >>>>>>> Thanks Ashish and Sandeep for your help.
> >>>>>>>
> >>>>>>> Special Thanks to infra team to fix the issue.
> >>>>>>>
> >>>>>>> Thanks & Regards
> >>>>>>> --
> >>>>>>> Deepak Dixit
> >>>>>>> www.hotwaxsystems.com
> >>>>>>> www.hotwax.co
> >>>>>>>
> >>>>>>> On Tue, Aug 29, 201

Re: [PROPOSAL] Short Messaging Service(SMS) Gateway Integration

2017-08-26 Thread Aditya Sharma
+1

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sat, Aug 26, 2017 at 5:53 PM, Chandan Khandelwal <
chandan.khandel...@hotwaxsystems.com> wrote:

> +1 Pritam.
>
> On Sat, Aug 26, 2017 at 5:49 PM, Rishi Solanki <rishisolan...@gmail.com>
> wrote:
>
> > +1 Pritam.
> >
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> > www.hotwax.co
> >
> > On Sat, Aug 26, 2017 at 5:48 PM, Swapnil Mane <
> > swapnil.m...@hotwaxsystems.com> wrote:
> >
> > > Big +1 Pritam!
> > >
> > >
> > > - Best Regards,
> > > Swapnil M Mane
> > >
> > > On Sat, Aug 26, 2017 at 5:01 PM, Pritam Kute <
> > > pritam.k...@hotwaxsystems.com>
> > > wrote:
> > >
> > > > Hi Devs,
> > > >
> > > > Many e-commerce businesses (especially operating in Asian countries)
> > > > nowadays use short messaging service (SMS) in mobile phones to notify
> > and
> > > > update customers about order details, shipment statuses etc.
> > > >
> > > > I would like to propose an SMS Gateway Integration in Ofbiz. I will
> > share
> > > > proposed design details with you all soon. Till then, I would like to
> > > know
> > > > your thoughts on this idea.
> > > >
> > > > Thanks and Regards
> > > > --
> > > > Pritam Kute
> > > >
> > >
> >
>
>
>
> --
> Thanks & Regards,
> Chandan Khandelwal
> HotWax Systems
> Direct: +91-9893481076
> http://www.hotwaxsystems.com/
>


Re: Suggestions Request: OFBiz Business Process Reference Book/Guide

2017-08-21 Thread Aditya Sharma
Great idea. Big +1.

Looking forward to it.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Mon, Aug 21, 2017 at 11:16 AM, Ashish Vijaywargiya <
ashish.vijaywarg...@hotwaxsystems.com> wrote:

> +1
>
> Great idea, Pranay!
>
> --
> Kind Regards
> Ashish Vijaywargiya
> HotWax Systems - est. 1997 <http://www.hotwaxsystems.com/>
>
>
> On Sat, Aug 19, 2017 at 9:54 AM, Pranay Pandey
> <pranay.pandey@hotwaxsystems.
> com> wrote:
>
> > Hello Devs,
> >
> > This is something where I wanted to request your suggestions. I am
> planning
> > to rename and restructure the documentation on OFBiz Wiki page- Business
> > Process Stories and Use Cases Library
> > <https://cwiki.apache.org/confluence/x/1gm8Ag>.
> >
> > The idea will still be the same i.e. to help OFBiz Evaluators. All the
> > people who are more interested in written content to prove the
> > implementation. Provide a robust process documentation that supports
> > decision-makers to choose OFBiz over any other proprietary software. To
> > help them take this content to a wider audience who take the decision for
> > choosing a business automation software.
> >
> > I am planning to rename this page to: "*OFBiz Business Process Reference
> > Book*".
> > Then review and overhaul the overall content on this page to clarify the
> > purpose of all the documents in this tree(Directory).
> >
> > Now restructure the child pages with new names with business significance
> > i.e. the process names that industry people refer e.g. CRM, Product
> > Information Management(PIM), Procurement, Fulfilment etc.
> >
> > Now every module page will have two child pages so the structure would be
> > changed like this-
> >
> > - Catalog Management
> > -- Product Information Management (PIM)
> > --- PIM Process Overview (Content: Process Overview, Business Purpose,
> > Level-1,2, and 3 Activity Diagrams as applicable to demonstrate the
> process
> > flow)
> > --- PIM User Stories, Use Cases and Test Cases (Content: Review, refine
> and
> > add missing user stories, use cases, and test cases)
> > -- Merchandising
> > --- Merchandising Process Overview (Content: Process Overview, Business
> > Purpose, Level-1,2, and 3 Activity Diagrams as applicable to demonstrate
> > the process flow)
> > --- Merchandising User Stories, Use Cases and Test Cases
> > -- Store Management
> > --- Store Management Process Overview
> > --- Store Management User Stories, Use Cases and Test Cases
> > ...
> > ...
> > ...
> >
> > I am planning to create a JIRA ticket with these details and would like
> to
> > start from there with sub tasks. This way we'll be able to collaborate in
> > this effort.
> >
> > How does that all sound to you? Please let me know your thoughts,
> feedback,
> > and improvement suggestions for the mentioned effort.
> >
> > Kind regards,
> > Pranay Pandey
> >
>


Re: [PROPOSAL] Lead Source should be associated with the Lead only

2017-08-17 Thread Aditya Sharma
I have created a Jira for it at
https://issues.apache.org/jira/browse/OFBIZ-9588.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Thu, Aug 10, 2017 at 2:01 PM, Aditya Sharma <aditya.sharma@hotwaxsystems.
com> wrote:

> Thanks Jacques.
> Moving the conversation to dev ML.
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Systems <http://www.hotwaxsystems.com/>
> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>
> On Thu, Aug 10, 2017 at 12:06 PM, Jacques Le Roux <
> jacques.le.r...@les7arts.com> wrote:
>
>> Hi Aditya,
>>
>> I believe this conversation should rather be on dev ML
>>
>> Thanks
>>
>> Jacques
>>
>>
>> Le 04/08/2017 à 16:23, Aditya Sharma a écrit :
>>
>>> Lead Source is essential information for assessing the effectiveness of
>>> marketing campaigns. It defines the primary source from which the given
>>> lead came from i.e. how the lead found the organization.
>>>
>>> While working in SFA component, I observed that when we create a Lead &
>>> select Lead Source from New Lead page it is not associated with lead.
>>> When
>>> we provide Group Name it is associated with Group and not with the Lead.
>>> However. when we add Lead Source from the Lead Profile page, it is
>>> associated with the lead only.
>>>
>>> These 2 pages contradict each other in terms of their business process.
>>>
>>> The sole purpose of Lead Source is to define the source of a lead, not
>>> the
>>> source of a group.
>>>
>>> I propose that we should update "createLead" service to associate Lead
>>> Source to Lead only.
>>>
>>> Please enlighten me if I missed out something here.
>>>
>>> Links to verify
>>> New Lead Page: https://demo-trunk.ofbiz.apache.org/sfa/control/NewLead
>>> Lead Profile Page:
>>> https://demo-trunk.ofbiz.apache.org/sfa/control/viewprofile?
>>> roleTypeId=LEAD=sfa101
>>>
>>> Thanks and Regards,
>>>
>>> *Aditya Sharma* | Enterprise Software Engineer
>>> HotWax Systems <http://www.hotwaxsystems.com/>
>>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>>
>>>
>>
>


Re: [Proposal] - Leverage the CMS capability for Product Store's Email

2017-08-17 Thread Aditya Sharma
+1

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Thu, Aug 17, 2017 at 10:39 AM, Arun Patidar <
arun.pati...@hotwaxsystems.com> wrote:

> +1 Swapnil for content driven template.
>
> Also, like idea to remove redundancy of email templates settings.
>
> --
> Thanks & Regards
> ---
> Arun Patidar
> Manager, Enterprise Software Development
>
>
> HotWax Systems Pvt Ltd.www.hotwaxsystems.com
>
>
> On Thu, Aug 17, 2017 at 10:19 AM, Swapnil Mane <
> swapnil.m...@hotwaxsystems.com> wrote:
>
> > Thanks Nicolas for your inputs and sharing more details. This proposed
> > model is making sense to me.
> > Please give me some more time to look into the details, will get back to
> > you in next week.
> >
> > Also, please see my comments inline.
> >
> > On Tue, Aug 15, 2017 at 1:52 AM, Nicolas Malin <nicolas.ma...@nereide.fr
> >
> > wrote:
> >
> > > Hello Swapnil, in line
> > >
> > >
> > > Le 14/08/2017 à 04:35, Swapnil Mane a écrit :
> > >
> > >> Thank you Nicolas for your inputs and interest. I highly appreciate
> it.
> > >>
> > >> Based on my understanding, please see my comments inline and let me
> know
> > >> if
> > >> you have further inputs.
> > >>
> > >> On Fri, Aug 11, 2017 at 3:10 PM, Nicolas Malin <
> > nicolas.ma...@nereide.fr>
> > >> wrote:
> > >>
> > >> Hello Swapnil,
> > >>>
> > >>> In past I tried to refactoring email interface with the idea to :
> > >>> * deprecate current ProductStoreEmailSetting to link it to
> > >>> TemplateEmailSetting. The purpose is to centralize all email
> > >>> configuration
> > >>> in this entity
> > >>>
> > >>> We may have multiple product store and can have different email
> > templates
> > >> for them, ProductStoreEmailSetting will allow us to do that.
> > >>
> > > My fault, I'm not clear. ProductStoreEmailSetting and
> > EmailTemplateSetting
> > > are redundancy,
> > > I'm in favor to keep all email template information in
> > > EmailTemplateSetting and use ProductStoreEmailTemplate to link a email
> > > template to a productStore throw a purpose.
> > > So we can deprecate all email template fields in
> ProductStoreEmailSetting
> > > to centralize all this part in EmailTemplateSetting
> > >
> >
> > +1
> >
> >
> > > * link TemplateEmailSetting with Content through
> > >>> TemplateEmailSettingContent and TemplateEmailSettingContentType.
> This
> > >>> offert the possibilty to link header, body, footer or some more
> complex
> > >>> case like link documents, pdf invoice, order, etc ...
> > >>>
> > >>> Having content model with us, the customizable header, footer
> > >> (decoratorContentId at content level) and other complex case can be
> > >> handled
> > >> easily with content model.
> > >>
> > > Completely, except for attached file. I agree for rendering the email
> > > content, but if you want link the file to your email its more easier to
> > > indicate it on EmailTemplateSetting.
> > >
> > > An example, when you send a order confirmation, you want attach to this
> > > email the the legal notice. We would be link directly the contentId
> where
> > > is the legal notice and an other content for the email body.
> > >
> >
> > I guess, this can be achieved by ContentAssoc model, but yes, your
> proposal
> > of using TemplateEmailSettingContent and TemplateEmailSettingContentType
> > is
> > also looks reasonable to me.
> >
> >
> > > * review all send email function to manage the content rendering
> > >>> Yes, during the proposed implementation, we were planning to do this
> as
> > >>> well.
> > >>>
> > >>> But the time has been missed :(
> > >>> If you are motivate, we can try to revive this idea ?
> > >>>
> > >>
> > >> :-)
> > >> I would love to hear more about your idea, will it be possible for you
> > to
> > >> share more information about this.
> > >>
> > > The issue where I started https://issues.apache.org/
> > jira/browse/OFBIZ-4333
> > >
> > > Nicolas
> > >
> >
> >
> >
> > - Best Regards,
> > Swapnil M Mane,
> > www.hotwaxsystems.com
> > www.hotwax.co
> >
>


Re: [PROPOSAL] Lead Source should be associated with the Lead only

2017-08-10 Thread Aditya Sharma
Thanks Jacques.
Moving the conversation to dev ML.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Thu, Aug 10, 2017 at 12:06 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Aditya,
>
> I believe this conversation should rather be on dev ML
>
> Thanks
>
> Jacques
>
>
> Le 04/08/2017 à 16:23, Aditya Sharma a écrit :
>
>> Lead Source is essential information for assessing the effectiveness of
>> marketing campaigns. It defines the primary source from which the given
>> lead came from i.e. how the lead found the organization.
>>
>> While working in SFA component, I observed that when we create a Lead &
>> select Lead Source from New Lead page it is not associated with lead. When
>> we provide Group Name it is associated with Group and not with the Lead.
>> However. when we add Lead Source from the Lead Profile page, it is
>> associated with the lead only.
>>
>> These 2 pages contradict each other in terms of their business process.
>>
>> The sole purpose of Lead Source is to define the source of a lead, not the
>> source of a group.
>>
>> I propose that we should update "createLead" service to associate Lead
>> Source to Lead only.
>>
>> Please enlighten me if I missed out something here.
>>
>> Links to verify
>> New Lead Page: https://demo-trunk.ofbiz.apache.org/sfa/control/NewLead
>> Lead Profile Page:
>> https://demo-trunk.ofbiz.apache.org/sfa/control/viewprofile?
>> roleTypeId=LEAD=sfa101
>>
>> Thanks and Regards,
>>
>> *Aditya Sharma* | Enterprise Software Engineer
>> HotWax Systems <http://www.hotwaxsystems.com/>
>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>
>>
>


Re: Welcome Rishi Solanki as a New Committer!

2017-08-09 Thread Aditya Sharma
Felicitations Rishi...

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Wed, Aug 9, 2017 at 2:36 PM, Deepak Dixit <deepak.di...@hotwaxsystems.com
> wrote:

> Many congrats Rishi...
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
> On Wed, Aug 9, 2017 at 2:26 PM, Sharan Foga <sha...@apache.org> wrote:
>
> > The OFBiz PMC has invited Rishi Solanki to become a new committer and are
> > happy to announce that he has accepted.
> >
> > Some of the key factors considered for inviting him were as follows:
> >
> > - He has been involved with the OFBiz project for quite a while which
> > shows dedication and commitment
> > - He has a lot of good knowledge that he is happy to share which shows he
> > is a good team player
> > - His work is consistent, has good code quality and he has provided a
> > range of patches
> > - He is friendly, respectful and keen to help out others in the community
> >
> > Please join me in welcoming and congratulating Rishi!
> >
> > Thanks
> > Sharan
> >
>


Re: Welcome Akash Jain as a New Committer!

2017-08-09 Thread Aditya Sharma
Felicitations Akash ...

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Wed, Aug 9, 2017 at 2:28 PM, Sharan Foga <sha...@apache.org> wrote:

> The OFBiz PMC has invited Akash Jain to become a new committer and are
> happy to announce that he has accepted.
>
> Some of the key factors considered for inviting him were as follows:
>
> - He has been involved with the OFBiz project for quite a while which
> shows his dedication and commitment
> - He has a lot of good knowledge (both functional and technical) that he
> is happy to share which shows he is a good team player
> - He is very active, positive and respectful to others in the community
> - He has contributed patches and shows a willingness to learn which is
> really important as the project continues to go through changes
>
> Please join me in welcoming and congratulating Akash.
>
> Thanks
> Sharan
>


Re: svn commit: r1804224 - /ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/ofbiz/birt/flexible/BirtUtil.java

2017-08-06 Thread Aditya Sharma
Pardon me for the typo *Deepak

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sun, Aug 6, 2017 at 1:01 PM, Aditya Sharma <aditya.sharma@hotwaxsystems.
com> wrote:

> Hi Depak,
>
> I think we can just remove these lines instead of replacing them as these
> field types are already mapped with Birt data type & got redundant now.
>
> private final static Map<String, String> entityFieldTypeBirtTypeMap =
> MapUtils.unmodifiableMap(UtilMisc.toMap(
> *"id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
> "url", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "name", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> *"id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
> "value", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "email", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "comment", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> *"id-long",DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
> *"id-vlong", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
> "very-long", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "indicator", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "very-short", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "tel-number", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> *"id-long", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
> *"id-vlong", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
> "description", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "long-varchar", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> "short-varchar", DesignChoiceConstants.COLUMN_D
> ATA_TYPE_STRING,
> "credit-card-date", DesignChoiceConstants.COLUMN_D
> ATA_TYPE_STRING,
> "credit-card-number", DesignChoiceConstants.COLUMN_D
> ATA_TYPE_STRING,
> "date-time", DesignChoiceConstants.COLUMN_DATA_TYPE_DATETIME,
> "date", DesignChoiceConstants.COLUMN_DATA_TYPE_DATE,
> "time", DesignChoiceConstants.COLUMN_DATA_TYPE_TIME,
> "currency-amount", DesignChoiceConstants.COLUMN_D
> ATA_TYPE_DECIMAL,
> "currency-precise", DesignChoiceConstants.COLUMN_D
> ATA_TYPE_DECIMAL,
> "fixed-point", DesignChoiceConstants.COLUMN_DATA_TYPE_DECIMAL,
> "floating-point", DesignChoiceConstants.COLUMN_D
> ATA_TYPE_DECIMAL,
> "numeric", DesignChoiceConstants.COLUMN_DATA_TYPE_INTEGER,
> "object", DesignChoiceConstants.COLUMN_DATA_TYPE_JAVA_OBJECT,
> "blob", DesignChoiceConstants.COLUMN_DATA_TYPE_BLOB));
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Systems <http://www.hotwaxsystems.com/>
> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>
> On Sun, Aug 6, 2017 at 11:22 AM, <dee...@apache.org> wrote:
>
>> Author: deepak
>> Date: Sun Aug  6 05:52:43 2017
>> New Revision: 1804224
>>
>> URL: http://svn.apache.org/viewvc?rev=1804224=rev
>> Log:
>> Improved: Removed ne references from BirtUtil class file (OFBIZ-9351)
>> Thanks Aditya for your contribution.
>> I removed them but forgot to commit :)
>>
>> Modified:
>> ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/ofbi
>> z/birt/flexible/BirtUtil.java
>>
>> Modified: ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/ofbi
>> z/birt/flexible/BirtUtil.java
>> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/
>> src/main/java/org/apache/ofbiz/birt/flexible/BirtUtil.java?r
>> ev=1804224=1804223=1804224=diff
>> 
>> ==
>> --- 
>> ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/ofbiz/birt/flexible/BirtUtil.java
>> (original)
>> +++ 
>> ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/ofbiz/birt/flexible/BirtUtil.java
>> Sun Aug  6 05:52:43 2017
>> @@ -47,7 +47,7 @@ public final class BirtUtil {
>>  "id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>>  "url", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>>

Re: svn commit: r1804224 - /ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/ofbiz/birt/flexible/BirtUtil.java

2017-08-06 Thread Aditya Sharma
Hi Depak,

I think we can just remove these lines instead of replacing them as these
field types are already mapped with Birt data type & got redundant now.

private final static Map<String, String> entityFieldTypeBirtTypeMap =
MapUtils.unmodifiableMap(UtilMisc.toMap(
*"id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
"url", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"name", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
*"id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
"value", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"email", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"comment", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
*"id-long",DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
*"id-vlong", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
"very-long", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"indicator", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"very-short", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"tel-number", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
*"id-long", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
*"id-vlong", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,*
"description", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"long-varchar", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"short-varchar", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"credit-card-date",
DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"credit-card-number",
DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
"date-time", DesignChoiceConstants.COLUMN_DATA_TYPE_DATETIME,
"date", DesignChoiceConstants.COLUMN_DATA_TYPE_DATE,
"time", DesignChoiceConstants.COLUMN_DATA_TYPE_TIME,
"currency-amount",
DesignChoiceConstants.COLUMN_DATA_TYPE_DECIMAL,
"currency-precise",
DesignChoiceConstants.COLUMN_DATA_TYPE_DECIMAL,
"fixed-point", DesignChoiceConstants.COLUMN_DATA_TYPE_DECIMAL,
"floating-point",
DesignChoiceConstants.COLUMN_DATA_TYPE_DECIMAL,
"numeric", DesignChoiceConstants.COLUMN_DATA_TYPE_INTEGER,
        "object", DesignChoiceConstants.COLUMN_DATA_TYPE_JAVA_OBJECT,
"blob", DesignChoiceConstants.COLUMN_DATA_TYPE_BLOB));

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sun, Aug 6, 2017 at 11:22 AM, <dee...@apache.org> wrote:

> Author: deepak
> Date: Sun Aug  6 05:52:43 2017
> New Revision: 1804224
>
> URL: http://svn.apache.org/viewvc?rev=1804224=rev
> Log:
> Improved: Removed ne references from BirtUtil class file (OFBIZ-9351)
> Thanks Aditya for your contribution.
> I removed them but forgot to commit :)
>
> Modified:
> ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/
> ofbiz/birt/flexible/BirtUtil.java
>
> Modified: ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/
> ofbiz/birt/flexible/BirtUtil.java
> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/
> birt/src/main/java/org/apache/ofbiz/birt/flexible/BirtUtil.
> java?rev=1804224=1804223=1804224=diff
> 
> ==
> --- ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/
> ofbiz/birt/flexible/BirtUtil.java (original)
> +++ ofbiz/ofbiz-plugins/trunk/birt/src/main/java/org/apache/
> ofbiz/birt/flexible/BirtUtil.java Sun Aug  6 05:52:43 2017
> @@ -47,7 +47,7 @@ public final class BirtUtil {
>  "id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>  "url", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>  "name", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> -"id-ne", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> +"id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>  "value", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>  "email", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>  "comment", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
> @@ -57,8 +57,8 @@ public final class BirtUtil {
>  "indicator", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
>  "very-short", DesignChoiceConstants

Re: Naming Conventions

2017-07-18 Thread Aditya Sharma
Hi Craig,

Yes, You can not send any attachment to mailing list.

https://commons.apache.org/mail-lists.html

*Note:* please don't send patches or attachments to any of the mailing
lists. Patches are best handled via the *Issue Tracking* system. Otherwise,
please upload the file to a public server and include the URL in the mail.

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
<https://www.linkedin.com/in/aditya-sharma-78291810a/>
On Wed, Jul 19, 2017 at 8:53 AM, Craig Parker <cr...@fossfolks.com> wrote:

> There was supposed to be an image attached. No images on the mailing list
> allowed? It's here if it didn't make the trip:
>
> http://fossfolks.com/screen-layout.png
>
>
>
> On 07/18/2017 11:13 PM, Craig Parker wrote:
>
>> This may be nit-picky, but I'm thinking it might be important down the
>> road as docs get a makeover. What are these areas officially called that
>> I've numbered in the screenshot? There looks to be an equivalent in
>> whatever theme I'm using.
>>
>> 1. Menu
>> 2. Sub menu? (flies out in one theme)
>> 3. Links area?
>> 4. Work area?
>>
>>
>


Re: [Proposal] moving all data in applications to the data-model component

2017-07-18 Thread Aditya Sharma
+1

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Tue, Jul 18, 2017 at 3:08 PM, Sharan Foga <sharan.f...@gmail.com> wrote:

> +1
>
> Thanks
> Sharan
>
>
> On 14/07/17 11:59, Taher Alkhateeb wrote:
>
>>   Hello Everyone,
>>
>> Data loading in OFBiz is quite fragile. A small change could crash the
>> system and finding out the reason can be difficult. I really felt the
>> pain of this when trying to disentangle the framework from data
>> dependencies on plugins [1].
>>
>> I've been thinking about a solution to reduce fragility, and here are
>> my thoughts:
>> - The less data files the better.
>> - The less data the better.
>> - The less distance (e.g. same directory) between data files the better.
>> - No circular dependencies (file dependencies should be like a tree).
>> - Fail fast [2].
>>
>> Therefore, I suggest the following action points:
>> - Create a directory structure similar to [3] in the datamodel component.
>> - For any data that two or more files depend on, immediately move it
>> to the common-.xml file.
>> - For any data that does not belong to any domain (e.g. marketing,
>> content, etc ..) move it to the common-.xml.
>> - Maintain a strict dependency hierarchy of demo -> seed -> seed-initial.
>> - Gradually and carefully move data from all applications to the
>> datamodel component as per above guidelines.
>> - Cleanup and refactor the data as we move it including any tests that
>> depend on it.
>>
>> What do you think of this proposal? Does it sound reasonable? Also
>> given the size of what I'm proposing I think we need multiple people
>> to work on this. So is anyone interested in taking part in this
>> initiative?
>>
>> Cheers,
>>
>> Taher Alkhateeb
>>
>> [1] https://issues.apache.org/jira/browse/OFBIZ-9322
>> [2] https://lists.apache.org/thread.html/a18b5d4086a07ff34a0cb95
>> 0999e8f8e869a6aa7efa2fc866a75a7b6@%3Cdev.ofbiz.apache.org%3E
>> [3] directory structure:
>> data/
>> ├── demo
>> │   ├── accounting-demo.xml
>> │   ├── common-demo.xml
>> │   ├── content-demo.xml
>> │   ├── humanres-demo.xml
>> │   ├── manufacturing-demo.xml
>> │   ├── marketing-demo.xml
>> │   ├── order-demo.xml
>> │   ├── party-demo.xml
>> │   ├── product-demo.xml
>> │   ├── shipment-demo.xml
>> │   └── workeffort-demo.xml
>> ├── seed
>> │   ├── accounting-seed.xml
>> │   ├── common-seed.xml
>> │   ├── content-seed.xml
>> │   ├── humanres-seed.xml
>> │   ├── manufacturing-seed.xml
>> │   ├── marketing-seed.xml
>> │   ├── order-seed.xml
>> │   ├── party-seed.xml
>> │   ├── product-seed.xml
>> │   ├── shipment-seed.xml
>> │   └── workeffort-seed.xml
>> └── seed-initial
>>  ├── accounting-seed-initial.xml
>>  ├── common-seed-initial.xml
>>  ├── content-seed-initial.xml
>>  ├── humanres-seed-initial.xml
>>  ├── manufacturing-seed-initial.xml
>>  ├── marketing-seed-initial.xml
>>  ├── order-seed-initial.xml
>>  ├── party-seed-initial.xml
>>  ├── product-seed-initial.xml
>>  ├── shipment-seed-initial.xml
>>  └── workeffort-seed-initial.xml
>>
>
>


Re: [PROPOSAL] Replace Inline Javascript with External Javascript

2017-07-08 Thread Aditya Sharma
Thanks everyone for the suggestions and appreciations. I have created the
ticket here <https://issues.apache.org/jira/browse/OFBIZ-9465>.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Sat, Jul 8, 2017 at 4:10 PM, Michael Brohl <michael.br...@ecomify.de>
wrote:

> Hi developers,
>
> good to see so much action today, thanks all!
>
> Best regards,
>
> Michael Brohl
> ecomify GmbH
> www.ecomify.de
>
>
> Am 08.07.17 um 12:27 schrieb Deepak Dixit:
>
> +1 nice initiative Aditya.
>>
>> Could you please open a ticket for this improvement?
>>
>>
>> Thanks & Regards
>> --
>> Deepak Dixit
>> www.hotwaxsystems.com
>> www.hotwax.co
>>
>> On Sat, Jul 8, 2017 at 3:16 PM, Taher Alkhateeb <
>> slidingfilame...@gmail.com>
>> wrote:
>>
>> Big +1, thank you for the initiative.
>>>
>>> I wish everyone reading this to take an active role too, there is so
>>> much refactoring needed in the project and we need your help. It's not
>>> hard to find an area you're comfortable with and start cleaning it up
>>> a bit.
>>>
>>> On Sat, Jul 8, 2017 at 12:16 PM, Michael Brohl <michael.br...@ecomify.de
>>> >
>>> wrote:
>>>
>>>> +1, great idea, Aditya!
>>>>
>>>> This seems to correspond partly with
>>>> https://issues.apache.org/jira/browse/OFBIZ-8300
>>>>
>>>> Best regards,
>>>>
>>>> Michael Brohl
>>>> ecomify GmbH
>>>> www.ecomify.de
>>>>
>>>> Am 08.07.17 um 11:00 schrieb Aditya Sharma:
>>>>
>>>> Hello all,
>>>>>
>>>>> We are currently using inline javascript for various macros like
>>>>> renderLookupField, makeHyperlinkString,shortDateInput etc in
>>>>> HtmlFormMacroLibrary.ftl which can be replaced with a generic code
>>>>>
>>>> written
>>>
>>>> as external javascript. We can add generic javascript code in
>>>>>
>>>> OfbizUtil.js
>>>
>>>> and add appropriate classes or identifiers for applying that. Any
>>>>> additional data can be passed with HTML 5 custom data attribute (
>>>>>
>>>>> https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#
>>>>>
>>>> embedding-custom-non-visible-data-with-the-data-attributes
>>>
>>>> ).
>>>>>
>>>>> Advantages of using external Javascript over inline javascript:
>>>>>
>>>>>  - Better separation of concerns and maintainability.The separation
>>>>>
>>>> of
>>>
>>>>  Javascript and HTML not only improves readability for the developer
>>>>> but
>>>>>  also it is much easier to maintain.
>>>>>  - Once an external script is downloaded. the browser stores it in
>>>>>
>>>> the
>>>
>>>>  cache so no additional download is required if another page
>>>>>
>>>> references
>>>
>>>> it.
>>>>>  - Instead of having same javascript code numerous times for
>>>>>  multiple widget instances in the page, single instance code in an
>>>>> external
>>>>>  file can be called and executed anywhere in the code
>>>>>  - An inline script cannot be minified (converted to a shorter
>>>>>
>>>> version
>>>
>>>>  through symbol reduction). Not a concern on broadband but consider
>>>>> a
>>>>> mobile
>>>>>  device in a low bandwidth area, or users who are on global data
>>>>> roaming--
>>>>>  every byte may count.
>>>>>  - An inline script can be harder to debug because the line number
>>>>>  associated with any error is meaningless.
>>>>>  - An inline script cannot be tested independently of its page;
>>>>> external
>>>>>  Javascript files can be run through independent testing, including
>>>>>  automated tests.
>>>>>
>>>>> Externalizing javascript is one of the Yahoo performance rules:
>>>>> http://developer.yahoo.com/performance/rules.html#external
>>>>>
>>>>> Thanks and Regards,
>>>>>
>>>>> *Aditya Sharma* | Enterprise Software Engineer
>>>>> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
>>>>> <http://www.hotwaxsystems.com/>
>>>>> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
>>>>> Indore,
>>>>> M.P, India - 452010
>>>>> Cell phone: +91 7415786147
>>>>>
>>>>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>>>>> <https://www.facebook.com/divinecreatureaaditya>
>>>>> <https://www.instagram.com/iamaadi7/>
>>>>>
>>>>> HotWax Systems recently received 8 mentions in *The Gartner Digital
>>>>> Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT
>>>>> research and advisory company. Learn more about our research here
>>>>>
>>>>> <https://www.gartner.com/technology/media-products/
>>>>>
>>>> newsletters/HotWax/1-2UVLP6M/index.html>
>>>
>>>> .
>>>>>
>>>>> <http://www.hotwax.co/>
>>>>>
>>>>>
>>>>
>
>


[PROPOSAL] Replace Inline Javascript with External Javascript

2017-07-08 Thread Aditya Sharma
Hello all,

We are currently using inline javascript for various macros like
renderLookupField, makeHyperlinkString,shortDateInput etc in
HtmlFormMacroLibrary.ftl which can be replaced with a generic code written
as external javascript. We can add generic javascript code in OfbizUtil.js
and add appropriate classes or identifiers for applying that. Any
additional data can be passed with HTML 5 custom data attribute (
https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#embedding-custom-non-visible-data-with-the-data-attributes
).

Advantages of using external Javascript over inline javascript:

   - Better separation of concerns and maintainability.The separation of
   Javascript and HTML not only improves readability for the developer but
   also it is much easier to maintain.
   - Once an external script is downloaded. the browser stores it in the
   cache so no additional download is required if another page references it.
   - Instead of having same javascript code numerous times for
   multiple widget instances in the page, single instance code in an external
   file can be called and executed anywhere in the code
   - An inline script cannot be minified (converted to a shorter version
   through symbol reduction). Not a concern on broadband but consider a mobile
   device in a low bandwidth area, or users who are on global data roaming--
   every byte may count.
   - An inline script can be harder to debug because the line number
   associated with any error is meaningless.
   - An inline script cannot be tested independently of its page; external
   Javascript files can be run through independent testing, including
   automated tests.

Externalizing javascript is one of the Yahoo performance rules:
http://developer.yahoo.com/performance/rules.html#external

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P, India - 452010
Cell phone: +91 7415786147

<https://www.linkedin.com/in/aditya-sharma-78291810a/>
<https://www.facebook.com/divinecreatureaaditya>
<https://www.instagram.com/iamaadi7/>

HotWax Systems recently received 8 mentions in *The Gartner Digital
Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT
research and advisory company. Learn more about our research here
<https://www.gartner.com/technology/media-products/newsletters/HotWax/1-2UVLP6M/index.html>
.

<http://www.hotwax.co/>


Re: [VOTE] [RELEASE] Apache OFBiz 16.11.03 - second attempt

2017-06-21 Thread Aditya Sharma
+1

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P, India - 452010
Cell phone: +91 7415786147

<https://www.linkedin.com/in/aditya-sharma-78291810a/>
<https://www.facebook.com/divinecreatureaaditya>
<https://www.instagram.com/iamaadi7/>

HotWax Systems recently received 8 mentions in *The Gartner Digital
Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT
research and advisory company. Learn more about our research here
<https://www.gartner.com/technology/media-products/newsletters/HotWax/1-2UVLP6M/index.html>
.

<http://www.hotwax.co/>

On Thu, Jun 22, 2017 at 10:13 AM, Swapnil Mane <
swapnil.m...@hotwaxsystems.com> wrote:

> +1
>
>
> - Best Regards,
> Swapnil
>
> On Wed, Jun 21, 2017 at 7:11 PM, Jacopo Cappellato <
> jacopo.cappell...@hotwaxsystems.com> wrote:
>
> > This is the vote thread for the second attempt to release a new bug fix
> > release for the release16.11 branch. This new release, "Apache OFBiz
> > 16.11.03" will supersede the recently published 16.11.02 release that was
> > affected by a major bug (OFBIZ-9410).
> >
> > The release files can be downloaded from here:
> >
> > https://dist.apache.org/repos/dist/dev/ofbiz/
> >
> > and are:
> >
> > * apache-ofbiz-16.11.03.zip
> > * KEYS: text file with keys
> > * apache-ofbiz-16.11.03.zip.asc: the detached signature file
> > * apache-ofbiz-16.11.03.zip.md5, apache-ofbiz-16.11.03.zip.sha: hashes
> >
> > Please download and test the zip file and its signatures (for
> instructions
> > on testing the signatures see http://www.apache.org/info/
> verification.html
> > ).
> >
> > Vote:
> >
> > [ +1] release as Apache OFBiz 16.11.03
> > [ -1] do not release
> >
> > This vote will be open for at least 5 days, unless it is cancelled
> before.
> >
> > For more details about this process please refer to:
> > http://www.apache.org/
> > foundation/voting.html
> >
>


Re: customisation of error page when request not found

2017-06-14 Thread Aditya Sharma
Hello Murali Krishna,

Error page can be configured in web.xml file of the component using
 tag like this


404
/error/404.jsp



where 404.jsp need to be stored in webapp/componentname/error directory.

The way I understand that


Apache OFBiz runs with an embedded Apache Tomcat server. ComponentContainer
loads each component and individual component can be configured in
web.xml stored in webapp folder of specific components.



Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P, India - 452010
Cell phone: +91 7415786147

<https://www.linkedin.com/in/aditya-sharma-78291810a/>
<https://www.facebook.com/divinecreatureaaditya>
<https://www.instagram.com/iamaadi7/>

HotWax Systems recently received 8 mentions in *The Gartner Digital
Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT
research and advisory company. Learn more about our research here
<https://www.gartner.com/technology/media-products/newsletters/HotWax/1-2UVLP6M/index.html>
.

<http://www.hotwax.co/>

On Wed, Jun 14, 2017 at 7:34 PM, Murali Krishna <kuravi.mur...@gmail.com>
wrote:

> Hi,
> How to show customised page for 404 error in different applications like
> eCommerce, accounting ... etc and should serve with 404 status code .
>
> --
> Thanks & Regards
> K.Murali Krishna,
>


Re: New ASF Members from OFBiz Community

2017-05-01 Thread Aditya Sharma
Felicitations Nicolas !!!

Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
HotWax Systems Pvt. Ltd.
http://www.hotwaxsystems.com/

  <https://www.linkedin.com/in/aditya-sharma-78291810a/>

On Mon, May 1, 2017 at 5:00 PM, Avnindra Sharma <
avnindra.sha...@hotwaxsystems.com> wrote:

> Congratulations Nicolas!
>
> Thanks & Regards
>
> *Avnindra Sharma | Sr. Digital Commerce Consultant *
> *direct: +91-8989-530074 | main : 0731-4093684*
> *HotWax Systems Pvt Ltd. | www.hotwaxsystems.com
> <http://www.hotwaxsystems.com/>*
> [image: HotWax Commerce powered by Apache OFBiz]
>
>
> On Mon, May 1, 2017 at 4:10 PM, Devanshu Vyas <vyas.devansh...@gmail.com>
> wrote:
>
> > Congratulations Nicolas!!
> >
> > Thanks & Regards,
> > Devanshu Vyas.
> >
> > On Mon, May 1, 2017 at 3:52 PM, Jacques Le Roux <
> > jacques.le.r...@les7arts.com> wrote:
> >
> > > Hi All,
> > >
> > > Nicolas Malin is our last new ASF member, congratulations Nicolas.
> > >
> > > We have now 12 ASF members among our committers with new 7 ASF members
> > > this year: Anil, Ashish, Bilgin, Michael, Nicolas, Scott and Taher!
> > >
> > > I have updated the PMC page regarding ASF members, please check that
> all
> > > is alright.
> > >
> > > Thanks
> > >
> > > Jacques
> > >
> > >
> > >
> > >
> > > Le 08/04/2017 à 11:13, Taher Alkhateeb a écrit :
> > >
> > >> Thank you everyone for your kind and welcoming words.
> > >>
> > >> Having Michael, Ashish, Anil, Bilgin and myself being elected as ASF
> > >> members is not only an honor but a testament to the strength of our
> > >> community and the significance of OFBiz within the Apache eco-system.
> > >>
> > >> I highly encourage everyone to take a more active role in our
> community.
> > >> If
> > >> you have an appetite for learning, enjoy coding, and like to help
> others
> > >> then you can make a big dent in this project and people would really
> > >> appreciate your work.
> > >>
> > >> Congratulations to all of you and thank you again.
> > >>
> > >> On Thu, Apr 6, 2017 at 11:22 AM, Julien NICOLAS <
> > >> julien.nico...@nereide.fr>
> > >> wrote:
> > >>
> > >> Very good news !
> > >>>
> > >>> Congrats Taher and Michael !
> > >>>
> > >>> Julien.
> > >>>
> > >>>
> > >>>
> > >>> On 03/04/2017 11:06, Sharan Foga wrote:
> > >>>
> > >>> Hi Everyone
> > >>>>
> > >>>> Please join me in congratulating Michael Brohl and Taher Alkhateeb
> as
> > >>>> being invited to become members of the Apache Software Foundation.
> > >>>>
> > >>>> Congratulations Michael and Taher!
> > >>>>
> > >>>> Thanks
> > >>>> Sharan
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >
> >
>


Re: Issue on Ofbiz in Iframe

2017-04-25 Thread Aditya Sharma
Hi Amalesh,

You can also set it in web.xml file of your component as Apache Tomcat has
already provided the support for that.

Just add *HttpHeaderSecurityFilter* and then you can set these options as
param.


HttpHeaderSecurityFilter
HttpHeaderSecurityFilter

org.apache.catalina.filters.HttpHeaderSecurityFilter

antiClickJackingOption
SAMEORIGIN





Refer

https://tomcat.apache.org/tomcat-8.0-doc/config/filter.html





Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
HotWax Systems Pvt. Ltd.
http://www.hotwaxsystems.com/

On Wed, Apr 12, 2017 at 4:53 PM, Deepak Dixit <
deepak.di...@hotwaxsystems.com> wrote:

> Hi Amalesh,
>
> If you want to render some specific view to iframe then you can set the
> x-frame-options in view mapping as well.
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
>
> On Wed, Apr 12, 2017 at 4:30 PM, Shubham Agrawal <
> shubham.agra...@hotwaxsystems.com> wrote:
>
> > Hii Amalesh,
> >
> > X-Frame-Options is a security implementation which is inserted by the
> > server in response header. This response header avoids any browser to
> > render a page in HTML tags like .
> >
> > According to you, the X-Frame-Options is set to SameOrigin. For your case
> > to work, I think you can change it to ALLOW-FROM
> https://website-name.com
> >
> > To change the X-Frame-Options in OFBiz:
> >
> > 1) Traverse to this file
> > /framework/webapp/src/main/java/org/apache/ofbiz/webapp/
> > control/RequestHandler.java
> >
> > 2) Search for sameorigin.
> >
> > 3) Replace sameorigin with ALLOW-FROM https://website-name.com
> >
> >
> >
> > P.S. - It is not allowed to follow such practice due to security
> concerns.
> > You should look for some other way to fulfil your task. Using Iframe is
> > also not recommended as you are showing the content from the other
> website
> > which makes it vulnerable to ClickJacking attacks.
> >
> > *Thanks and Regards,*
> > *Shubham Agrawal*
> > *Enterprise Software Engineer*
> > *Hotwax Systems Pvt Ltd*
> >
> > On Wed, Apr 12, 2017 at 3:45 PM, Taher Alkhateeb <
> > slidingfilame...@gmail.com
> > > wrote:
> >
> > > Hi Amalesh,
> > >
> > > What do you mean by "I imported running ofbiz in to my project through
> > > Iframe"? I'm not sure I understand what you're referring to?
> > >
> > > Cheers,
> > >
> > > Taher Alkhateeb
> > >
> > > On Wed, Apr 12, 2017 at 10:09 AM, amalesh paul <amalesh.p...@gmail.com
> >
> > > wrote:
> > >
> > > > Hello,
> > > > My name is Amalesh, I am using Apache ofbiz 16 version in my
> > > > project. For that I imported running ofbiz in to my project through
> > > Iframe.
> > > > It is not working, when I debug the browser could not able to display
> > the
> > > > url because it set 'X-Frame-Options' to 'sameorigin'.
> > > > Now I want to remove the x-frame-options from ofbiz, how can
> I
> > > > change the x-frame-options. Or else is there any other way to bring
> the
> > > > ofbiz in to Iframe.
> > > > Please let me know the solution for the above problem.
> > > >
> > > > Thank You.
> > > >
> > > > --
> > > >
> > > > *Warm Regards,*
> > > > *Amalesh.R*
> > > > *9677843593.*
> > > >
> > >
> >
>


Re: Sequence Id in entity

2017-04-16 Thread Aditya Sharma
Hello Ahmad,

You can set primary key for a entity with *prim-key *element.



For a particular *field* you can provide its *type*.



You can refer to field types from *fieldtype*.xml* files where * will be
the name of the database used. For example for Mysql there will be a file
fieldtypemysql.xml.

For *identifier* type, underlying data-structure is *String* data type for
Java and *varchar* for database (You can refer fieldtype*.xml file). So
next sequence need to be generated during create operation. When using
*entity-auto* type services it is *handled internally* but if you are
creating *custom* service for create operation you need to *generate* that.

To generate the next sequence id in create service, getNextSeqId("Entity
Name") method of GenericDelegator is used.
For example:

partyId = delegator.getNextSeqId("Party")

It will generate the next sequence for the Party entity.

Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
HotWax Systems Pvt. Ltd.
http://www.hotwaxsystems.com/

On Sun, Apr 16, 2017 at 1:01 PM, Ahmad Rabab’ah <araba...@bi-bst.com> wrote:

> Hello Dears ,
>
> I have created new entitiy in CompnentName_entitymodel.xml
> and I define all filed, but I want to set the “id” as a primary key and
> sequence .
> how can I do that .?
>
> Thank you .
>
>
>


Re: New ASF Members from OFBiz Community

2017-04-04 Thread Aditya Sharma
Awesome.Many congratulations Anil, Ashish and Bilgin...!!!

Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
Hotwax Systems
http://www.hotwaxsystems.com/

On Wed, Apr 5, 2017 at 7:16 AM, Swapnil Mane <swapnil.m...@hotwaxsystems.com
> wrote:

> Super Amazing! :)
>
> Many congratulations Anil, Ashish and Bilgin!!
>
> - Best Regards,
> Swapnil M Mane
>
> On Wed, Apr 5, 2017 at 12:32 AM, Sharan Foga <sha...@apache.org> wrote:
>
> > Hi Everyone
> >
> > Wow – we have even more good news! Another three people from our
> community
> > have been invited to become members of the Apache Software Foundation.
> They
> > are Anil Patel, Ashish Vijaywargiya and Bilgin Ibryam
> >
> > Many congratulations Anil, Ashish and Bilgin !!!
> >
> > Thanks
> > Sharan
> >
> > On 2017-04-03 11:06 (+0200), "Sharan Foga"<sha...@apache.org> wrote:
> > > Hi Everyone
> > >
> > > Please join me in congratulating Michael Brohl and Taher Alkhateeb as
> > being invited to become members of the Apache Software Foundation.
> > >
> > > Congratulations Michael and Taher!
> > >
> > > Thanks
> > > Sharan
> > >
> > >
> >
>


Re: update field

2017-04-03 Thread Aditya Sharma
Hello Ismail,

First of all Apache OFBiz is a *service oriented architecture *and you
will *find
a service* for all the CRUD operations.You can find a service using
https://localhost:8443/webtools/control/ServiceList .

Alternately, you can create a new service with *service-engine as
entity-auto* that performs the operations automatically like this service
created in OOTB.



updates a party attribute record





Here you don't have to implement the service.


If you still prefer to create your own service. Here is the code

*GenericValue entityRecord =
EntityQuery.use(delegator).from(EntityName).where("primaryKeyFieldName",
primaryKeyFieldValue).queryOne();*

*---fetching record from entity*

*entityRecord.setNonPKFields(parameters, true);*

*--- sets all values from parameter Map and true is setIfEmpty field which
is used to specify whether empty/null values in the parameters Map should
over-write non-empty values in this entity*

*entityRecord.store();*

*store the updated values in entity*




Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
Hotwax Systems
http://www.hotwaxsystems.com/

On Mon, Apr 3, 2017 at 2:53 PM, Ismail Al Kouz <ialk...@bi-bst.com> wrote:

> Hello Dears.
>
> How I can update field on entity using Java .
>
> Thanks
>
>
> Best Regards,
>
>


Re: New ASF Members from OFBiz Community

2017-04-03 Thread Aditya Sharma
Many congratulations to Michael Brohl and Taher Alkhateeb..!!!

Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
Hotwax Systems
http://www.hotwaxsystems.com/

On Mon, Apr 3, 2017 at 4:41 PM, Ashish Vijaywargiya <
ashish.vijaywarg...@hotwaxsystems.com> wrote:

> Many many congratulations, Taher and Michael! :-)
>
> --
> Kind Regards
> Ashish Vijaywargiya
> HotWax Systems - est. 1997 <http://www.hotwaxsystems.com/>
>
>
> On Mon, Apr 3, 2017 at 2:36 PM, Sharan Foga <sha...@apache.org> wrote:
>
> > Hi Everyone
> >
> > Please join me in congratulating Michael Brohl and Taher Alkhateeb as
> > being invited to become members of the Apache Software Foundation.
> >
> > Congratulations Michael and Taher!
> >
> > Thanks
> > Sharan
> >
> >
>


Re: Groovy

2017-03-09 Thread Aditya Sharma
Hello Ahmad,

If your question is "*How to use Groovy in ofbiz?*". Here are the links you
can refer to:

Here you will get a glimpse to "*What Groovy DSL is all about?*"

http://events.linuxfoundation.org/sites/events/files/slides/OFBizDSL_Presentation_ApacheConEU14.pdf


Here you will get to know "*How we use Groovy in ofbiz?*"

https://cwiki.apache.org/confluence/display/OFBIZ/Groovy+DSL+for+OFBiz+business+logic


Here you will get some tips to *use Groovy more efficiently*:

https://cwiki.apache.org/confluence/display/OFBIZ/Tips+and+Tricks+while+working+with+Groovy



Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
Hotwax Systems
http://www.hotwaxsystems.com/

On Wed, Mar 8, 2017 at 5:21 PM, Ahmad Al ajarmeh <aalajar...@bi-bst.com>
wrote:

> Hello Dears ,
>
>
>
> kindly there is any tutorials for Groovy with xml in  ofbiz , I need to
> understand it  ?
>
>
>
> Thank you.
>
>
>
> *Best Regards,*
>
>
>
> Ahmad Alajarmeh
>
> Java Developer
>
>
>
> [image: Description: Logo for Office-4]
>
>
>
> [image: Description: bi email-3-02]
>
>
>
> P.O.Box 3516 Amman, 11821
>
> The Hashemite Kingdom of Jordan
>
> *Tel.* +962 (6) 556 2620
>
> *Mob (Jordan).*   +962 78 836 5695
>
> [image: Description: bi email-3-04]
>
> [image: Description: bi email-3-05]
>
> /biict
>
> @biict
>
>
>
>
>


Re: Welcome Swapnil Shah as a New Committer!

2017-02-17 Thread Aditya Sharma
Felicitations Swapnil Shah...

Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
Hotwax Systems
http://www.hotwaxsystems.com/

On Sat, Feb 18, 2017 at 10:32 AM, Ratnesh Upadhyay <
upadhyay.ratn...@gmail.com> wrote:

> Many Congratulations Swapnil.
>
> Regards,
> Ratnesh Upadhyay
>
> On Tue, Feb 14, 2017 at 4:30 PM, Sharan Foga <sha...@apache.org> wrote:
>
> > The OFBiz PMC has invited Swapnil Shah to become a new committer and are
> > happy to announce that he has accepted.
> >
> > Swapnil has been involved in OFBiz for a few years and has been active on
> > both the development and user mailing lists responding to some quite
> > technical functional questions.
> >
> > Some of the key factors considered for inviting him were as follows:
> >
> > - He has very good functional knowledge about OFBiz and this is a
> valuable
> > skill that is useful to developers and users
> > - He is polite, positive, friendly and collaborative when dealing the
> > community discussions on the mailings lists or Jira
> > - He has raised Jiras, performed testing on patches and new other
> > functionality
> > - The PMC would like to see a wide range of people from the community
> > (developers and non-developers) recognised for their contributions to the
> > project.
> >
> > Please join me in welcoming and congratulating Swapnil.
> >
> > Thanks
> > Sharan
> >
>
>
>
> --
> --
> 
> Cheers,
> Thanks and Regards,
> Ratnesh Upadhyay
> Senior Business Analyst (Enterprise Software Solutions)
> HotWax Media, Inc.
> http://www.hotwaxmedia.com
> 
> E-mail : ratnesh.upadh...@hotwaxmedia.com
> Mobile : +919826886909
>