Hi everybody,

I'm currently migrating website data from an old Magnolia 3.6 project to 4.5.12.

On the old website, there have been header images stored as a binary property 
named [i]headerImage[/i]. Now I'd like to migrate them into stage items with a 
groovy script. However, binary attributes seem to be completely invisible for 
queries and scripts:

[code]select * from nt:base where headerImage is not null[/code]
--> Finds 0 nodes

I localized a page node which has a "headerImage" property (visible in JCR 
browser) and tried to inspect it programmatically:
[code]node.hasProperty("headerImage") // returns false[/code]

Why can't I read binary properties? And why are they still visible in the JCR 
Browser? Could it be an inconsistency because I moved it from 3.6 to 4.5.12?

Cheers,
Cedric

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=47dd8ed7-6e92-46ae-bff1-7d0ed9a6085b


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to