[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27138#action_27138
]
Hudson CI server commented on MAGNOLIA-3125:
--------------------------------------------
Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif!
[magnolia_main-trunk
#1510|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1510/]
tests for MAGNOLIA-3011/MAGNOLIA-2533, plus a failing test for
MAGNOLIA-3125
> ObservedComponentFactory.newInstance() should return a null-object when the
> observed path doesn't exist yet and a default implementation can not be
> determined
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MAGNOLIA-3125
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3125
> Project: Magnolia
> Issue Type: Improvement
> Components: core
> Reporter: Grégory Joseph
> Assignee: Grégory Joseph
> Fix For: 4.3
>
>
> Since MAGNOLIA-3011, {{ObservedComponentFactory.newInstance()}} can return a
> new instance of the request object even if the observed path does not exist
> yet, as long as it's a concrete class. If the object is requested by
> interface, we could return a null-object implementation of the interface.
> ([Proxytoy's null object
> proxy|http://proxytoys.codehaus.org/apidocs/com/thoughtworks/proxy/toys/nullobject/package-summary.html])
> for example is such an implementation)
> There's a currently failing/commented out test, see:
> {{info.magnolia.objectfactory.ObservedComponentFactoryTest#testReturnsANullProxyUntilPathExistsForNonConcreteTypes}}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------