Re: Deprecate properties in favour of SystemProperties [ was Re: Sending mail from Ofbiz does not work]

2018-02-17 Thread Michael Brohl
I don't think that this is the right way to go. The original problem is that we have some example SystemProperty data which is loaded automatically when you setup OFBiz in the documented way. This leads to confusion when someone changes the file properties for e.g. the mail transport

Re: Deprecate properties in favour of SystemProperties [ was Re: Sending mail from Ofbiz does not work]

2018-02-16 Thread Taher Alkhateeb
That could be probably an incredibly dangerous and complexity-inudcing idea. Imagine what you are suggesting, a massive state machine, implied and not explicit (a massive global collection of variables). In my opinion explicit is always better than implicit and we should strive to actually reduce

Deprecate properties in favour of SystemProperties [ was Re: Sending mail from Ofbiz does not work]

2018-02-16 Thread Jacques Le Roux
The more I think about it, the more I believe the ultimate solution is to remove all properties in favour of SystemProperties. And to no longer use properties but only SystemProperties. This entails to 1. completely implements EntityUtilProperties 2. deprecate UtilProperties 3. replaceĀ  all