You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <ji...@apache.org> on 2006/11/11 17:38:37 UTC
[jira] Created: (VELOCITY-493) RuntimeInstance.getProperty() should
check overridingProperties when not yet initialized
RuntimeInstance.getProperty() should check overridingProperties when not yet initialized
-----------------------------------------------------------------------------------------
Key: VELOCITY-493
URL: http://issues.apache.org/jira/browse/VELOCITY-493
Project: Velocity
Issue Type: Bug
Components: Engine
Affects Versions: 1.5 beta1
Environment: all
Reporter: Claude Brisson
Priority: Minor
For consistency, RuntimeInstance.getProperty() should return the values previously set with setProperty() event when it hasn't already been initialized.
runtimeInstance.setProperty("foo","bar");
System.out.println(runtimeInstance.getProperty("foo")); // output "null"
runtimeInstance.init();
System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Updated: (VELOCITY-493) RuntimeInstance.getProperty() should
check overridingProperties when not yet initialized
Posted by "Claude Brisson (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/VELOCITY-493?page=all ]
Claude Brisson updated VELOCITY-493:
------------------------------------
Attachment: runtimeinstance.patch
This patch solves this issue.
Note: the issue was initially raised by Mike Kienenberger while trying to integrate Velosurf in VPP.
> RuntimeInstance.getProperty() should check overridingProperties when not yet initialized
> -----------------------------------------------------------------------------------------
>
> Key: VELOCITY-493
> URL: http://issues.apache.org/jira/browse/VELOCITY-493
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5 beta1
> Environment: all
> Reporter: Claude Brisson
> Priority: Minor
> Attachments: runtimeinstance.patch
>
>
> For consistency, RuntimeInstance.getProperty() should return the values previously set with setProperty() event when it hasn't already been initialized.
> runtimeInstance.setProperty("foo","bar");
> System.out.println(runtimeInstance.getProperty("foo")); // output "null"
> runtimeInstance.init();
> System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Closed: (VELOCITY-493) RuntimeInstance.getProperty() should
check overridingProperties when not yet initialized
Posted by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen closed VELOCITY-493.
-------------------------------------------
> RuntimeInstance.getProperty() should check overridingProperties when not yet initialized
> -----------------------------------------------------------------------------------------
>
> Key: VELOCITY-493
> URL: https://issues.apache.org/jira/browse/VELOCITY-493
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5 beta1
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Henning Schmiedehausen
> Priority: Minor
> Fix For: 1.5
>
> Attachments: runtimeinstance.patch
>
>
> For consistency, RuntimeInstance.getProperty() should return the values previously set with setProperty() event when it hasn't already been initialized.
> runtimeInstance.setProperty("foo","bar");
> System.out.println(runtimeInstance.getProperty("foo")); // output "null"
> runtimeInstance.init();
> System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Reopened: (VELOCITY-493) RuntimeInstance.getProperty()
should check overridingProperties when not yet initialized
Posted by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen reopened VELOCITY-493:
---------------------------------------------
Assignee: Henning Schmiedehausen
Please don't close issues, resolve them.
> RuntimeInstance.getProperty() should check overridingProperties when not yet initialized
> -----------------------------------------------------------------------------------------
>
> Key: VELOCITY-493
> URL: https://issues.apache.org/jira/browse/VELOCITY-493
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5 beta1
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Henning Schmiedehausen
> Priority: Minor
> Fix For: 1.5
>
> Attachments: runtimeinstance.patch
>
>
> For consistency, RuntimeInstance.getProperty() should return the values previously set with setProperty() event when it hasn't already been initialized.
> runtimeInstance.setProperty("foo","bar");
> System.out.println(runtimeInstance.getProperty("foo")); // output "null"
> runtimeInstance.init();
> System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Closed: (VELOCITY-493) RuntimeInstance.getProperty() should
check overridingProperties when not yet initialized
Posted by "Claude Brisson (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson closed VELOCITY-493.
-----------------------------------
> RuntimeInstance.getProperty() should check overridingProperties when not yet initialized
> -----------------------------------------------------------------------------------------
>
> Key: VELOCITY-493
> URL: https://issues.apache.org/jira/browse/VELOCITY-493
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5 beta1
> Environment: all
> Reporter: Claude Brisson
> Priority: Minor
> Fix For: 1.5 beta2
>
> Attachments: runtimeinstance.patch
>
>
> For consistency, RuntimeInstance.getProperty() should return the values previously set with setProperty() event when it hasn't already been initialized.
> runtimeInstance.setProperty("foo","bar");
> System.out.println(runtimeInstance.getProperty("foo")); // output "null"
> runtimeInstance.init();
> System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Resolved: (VELOCITY-493) RuntimeInstance.getProperty()
should check overridingProperties when not yet initialized
Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/VELOCITY-493?page=all ]
Will Glass-Husain resolved VELOCITY-493.
----------------------------------------
Fix Version/s: 1.5 beta2
Resolution: Fixed
Patch applied. Thanks Claude for the patch and Mike for raising the issue!
(minor note: remember our code style re: braces when submitting patches, please).
> RuntimeInstance.getProperty() should check overridingProperties when not yet initialized
> -----------------------------------------------------------------------------------------
>
> Key: VELOCITY-493
> URL: http://issues.apache.org/jira/browse/VELOCITY-493
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5 beta1
> Environment: all
> Reporter: Claude Brisson
> Priority: Minor
> Fix For: 1.5 beta2
>
> Attachments: runtimeinstance.patch
>
>
> For consistency, RuntimeInstance.getProperty() should return the values previously set with setProperty() event when it hasn't already been initialized.
> runtimeInstance.setProperty("foo","bar");
> System.out.println(runtimeInstance.getProperty("foo")); // output "null"
> runtimeInstance.init();
> System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Resolved: (VELOCITY-493) RuntimeInstance.getProperty()
should check overridingProperties when not yet initialized
Posted by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen resolved VELOCITY-493.
---------------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.5 beta2)
1.5
Patch applied
> RuntimeInstance.getProperty() should check overridingProperties when not yet initialized
> -----------------------------------------------------------------------------------------
>
> Key: VELOCITY-493
> URL: https://issues.apache.org/jira/browse/VELOCITY-493
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5 beta1
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Henning Schmiedehausen
> Priority: Minor
> Fix For: 1.5
>
> Attachments: runtimeinstance.patch
>
>
> For consistency, RuntimeInstance.getProperty() should return the values previously set with setProperty() event when it hasn't already been initialized.
> runtimeInstance.setProperty("foo","bar");
> System.out.println(runtimeInstance.getProperty("foo")); // output "null"
> runtimeInstance.init();
> System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org