Skip to content

Commit

Permalink
KNL-71
Browse files Browse the repository at this point in the history
   Patch by Daniel McCallum

 	« Hide
The executive summary:

  1) sakai.properties sets:
     property1=foo
     property2=${property1}
     [email protected]=${property1}
   2) I expect:
     ServerConfigurationService.getString("property1").equals(ServerConfigurationService.getString("property2")) &&
     ServerConfigurationService.getString("property2").equals(myBean.getProperty())
   3) Instead:
      ServerConfigurationService.getString("property1").equals("foo") &&
      ServerConfigurationService.getString("property2").equals("${property1}") &&
      myBean.getProperty().equals("foo")

The attached patch (property-placeholder-dereferencing.diff) fixes this asymmetry. 

Thanks



git-svn-id: https://source.sakaiproject.org/svn/entitybroker/trunk@54471 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
ieb committed Nov 18, 2008
1 parent 14935c2 commit 7ec1745
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,16 @@ public String getServerUrl() {
return TestData.SERVER_URL;
}

/*
* (non-Javadoc)
*
* @see org.sakaiproject.component.api.ServerConfigurationService#getRawProperty(java.lang.String)
*/
public String getRawProperty(String name) {
// TODO Auto-generated method stub
return null;
}

/*
* (non-Javadoc)
*
Expand Down

0 comments on commit 7ec1745

Please sign in to comment.