Gradle eclipse task - classpath modification

2019-05-24 Thread Girish Vasmatkar
Hi All

When you run eclipse task it removes all unnecessary classpath entries
including the ones containing "config" and "dtd". This introduces a minor
inconvenience, in turn, because you do need two entries below in order for
OFBiz to start normally -

/framework/base/config
/framework/base/dtd

I rely heavily on *Start.java* to launch OFBiz (Run as Java Application)
and therefore the code needs cache.properties and ofbiz-component.xsd to be
in the classpath during start up. I see that we are removing certain
eclipse classpath entries (rightly so). Doing so also deletes classpath
entry for /framework/base/config and /framework/base/dtd that we need for
normal start-up.

I opine that we have to make provision for escaping deletion of these two
entries. This is essential because every time we run ./gradlew eclipse, you
have to add the two entries manually all over again as the eclipse task
resets classpath entries.

Granted, it is a minor inconvenience, but I feel this should be handled.
Should I go file a ticket for this change if we have a mutual consent on
this one?

Best,
Girish


Re: svn commit: r1859877 - in /ofbiz/ofbiz-framework/trunk: applications/accounting/servicedef/ applications/content/servicedef/ applications/marketing/servicedef/ applications/order/servicedef/ appli

2019-05-24 Thread Mathieu Lirzin
Hello Jacques,

jler...@apache.org writes:

> Author: jleroux
> Date: Fri May 24 13:47:08 2019
> New Revision: 1859877
>
> URL: http://svn.apache.org/viewvc?rev=1859877=rev
> Log:
> Fixed: Services allow arbitrary HTML for parameters with allow-html set to 
> "safe"
> (OFBIZ-5254)
>
> This was reopened after discussion at 
> https://markmail.org/message/jnaitmwahjcjmdn5
>
> This is a new solution which follows the work done with and OFBIZ-10187
> Roughly said, it uses org.owasp.html.PolicyFactory and 
> org.owasp.html.Sanitizers
>
> Thanks: Christoph Neuroth for report

This commit breaks the “custrequesttests” test suite with a vanilla
framework after ‘loadAll’. If the issue can not be solved tomorrow
please revert.

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37


Fwd: [CONF] OFBiz Project Open Wiki > Business Intelligence

2019-05-24 Thread Michael Brohl
Wouldn't it be better to first discuss/decide if these changes are going 
into the codebase and *then* document them here?


Regards,

Michael Brohl

ecomify GmbH - www.ecomify.de



 Weitergeleitete Nachricht 
Betreff:[CONF] OFBiz Project Open Wiki > Business Intelligence
Datum:  Fri, 24 May 2019 09:50:00 + (UTC)
Von:Pierre Smits (Confluence) 
An: michael.br...@ecomify.de



Message Title
There's *1 new edit* on this page
page icon 
 



	Business Intelligence 
 




Pierre Smits edited this page




Here's the version comment



Pierre Smits edited at 09:49 AM 
 





Adding the TimeEntryFact to the Project domain




Here's what changed:


   Introduction

Business Intelligence (BI) comprises the strategies and technologies 
used by enterprises for the data analysis of business information.


OFBiz collects vast amounts of data from transactions in the various 
domains. This page (and child pages) intend to explain how OFBiz 
supports BI.


The OFBiz BI concept and its implementation through the BI component are 
based on the book 'Data Warehouse Toolkit 
' by Ralph Kimball and 
Margy Ross.




Table of Contents


   Facts and Dimensions

Fact tables (aka facts 
) stores the 
performance measurements resulting from the organisation's business 
process events. Dimension tables (aka dimensions 
) contain the 
textual contacts associated with a business process measurement event 
(captured in a fact) and describe the 'who, what, where, when, how and 
why'.


In the sections below we describe how the facts and dimension per 
business domain



 Sales Domain







/Facts /



/Dimension /



Fact-field



Fact-alias



SalesInvoiceFact 



SalesOrderFact 

Account 



accountDimId



account



Y



Y

Brand 



brandDimId



brand



Y



Y

Carrier 



carrierDimId



carrier




Catalog 



catalogDimId



catalog




Customer 



customerDimId



customer



Y



Y

Country 



countryDimId



country




Currency 



currencyDimId



currency



Y



Y

Date 



dateDimId



date



Y



Y

Employee 



employeeDimId



employee




Facility 



facilityDimId



facility




Manager



managerDimId



manager




Organisation 



organisationDimId



organisation



Y



Y

PaymentMethod



paymentMethodDimId



payMethod




Product 



productDimId



product



Y



Y

ProductCategory 



productCategoryDimId



category




Project



projectDimId



project




SalesChannel 



channelDimId



channel



Y



Y

SalesPromo



promoDimId



promo




Y

SalesRep



salesrepDimId



rep



Y



Y

Store 



storeDimId



store



Y



Y

Supplier 



supplierDimId



supplier




Time



timeDimId



time



Y



TimeEntry



timeEntryDimId



timeEntry





 Procurement/Purchase Domain







/Facts/



/Dimension/



Fact-field



Fact-alias



PurchaseInvoiceFact



PurchaseOrderFact

Account



accountDimId



account




Brand



brandDimId



brand




Carrier



carrierDimId



carrier




Catalog



catalogDimId



catalog




Customer



customerDimId



customer




Country



countryDimId



country




Currency



currencyDimId



currency



Y



Y

Date



dateDimId



date



Y



Y

Employee



employeeDimId



employee