[ 
http://jira.magnolia-cms.com/browse/MGNLGROOVY-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27654#action_27654
 ] 

Hudson CI server commented on MGNLGROOVY-21:
--------------------------------------------

Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! 
[magnolia-module-groovy 
#355|http://hudson.magnolia-cms.com/job/magnolia-module-groovy/355/]
     MGNLGROOVY-21: return nodeData instance if property type is Binary. Added 
javadoc.


> If a property is of type binary, return the NodeData instance, not the 
> inputStream
> ----------------------------------------------------------------------------------
>
>                 Key: MGNLGROOVY-21
>                 URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-21
>             Project: Magnolia Groovy Module
>          Issue Type: Improvement
>          Components: integration
>    Affects Versions: 1.0
>            Reporter: Federico Grilli
>            Assignee: Federico Grilli
>             Fix For: 1.1
>
>
> When writing a groovy script to do a bulk images update in the data 
> repository I realized that having the MgnlGroovyNode return an instance of 
> the inputStream is not very much useful. You can't access, for example, file 
> name, height, width and other attributes of that image. it is much more handy 
> in this case to have the BinaryNodeData itself. It is also important that the 
> javadoc for MgnlGroovyNode.getNodeDataValue(..) states clearly  what kind of 
> object is returned according to the underlying jcr type.

-- 
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: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to