[ https://issues.apache.org/jira/browse/OFBIZ-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651698#action_12651698 ]
Mridul Pathak commented on OFBIZ-2066: -------------------------------------- Hi Adrian, I tested this fix and it doesn't seem to fix the problem :(. What I think is that we can not use FlexibleStringExpander in this case because "env.ofbiz.home" or "ofbiz.home" is not found in service context. Instead "ofbiz.home" is a System property. I think that was the reason why ${env.ofbiz.home} was handled specifically in interpolate() method of FlexibleProperties class at line 241. If in this particular case we are ending up with using System.getProperty() method, I think its better to eliminate usage of ${env.ofbiz.home}. And in that case my patch can be a solution for this. Or may be there is another better solution, and if so please suggest me the way so that I can be of help in fixing this up. > ${env.ofbiz.home} in property files does not get resolved after > FlexibleProperties class is deprecated > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-2066 > URL: https://issues.apache.org/jira/browse/OFBIZ-2066 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Reporter: Mridul Pathak > Priority: Minor > Fix For: SVN trunk > > Attachments: catalog-properties-fix.patch > > > ${env.ofbiz.home} in property files doesn't get resolved anymore after > FlexibleProperties calss is deprecated. This is being used mainly in > following property files: > 1) catalog.properties > 2) payment.properties > 3) jsse.properties -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.