Hi

If we setup some initial content to have an empty string as a value it
goes in to the jcr backend fine, but if we later try to update a value
to be an empty string the property gets deleted. I see the @deleted
suffix can be added if delete is the required operation (which we do
elsewhere), but in this case, we want the value to be present, but
blank (empty string). Some digging suggests that the block in
SlingPropertyValueHandler is making the decision that blank string
means delete. I can't see anything in the jcr specs that suggest a
blank string (rather than null) is not valid. Wondering if this is a
bug, or I've missed something here.

Thanks

Jeremy

-- 

Homepage: http://www.computerbooth.com/
Codepage: http://www.newdawnsoftware.com/

Reply via email to