Hi Stefan, thanks for your reply. I have made an issue for the described problem:
https://issues.apache.org/jira/browse/JCR-2678 Here you will find further informations about the node type definition and how to reproduce the problem. Could you explain your described workaround there in more detail? I have set the priority to "Blocker" because we can not release our product with that exceptions. Thanks for your help. Kind regards, Sascha -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Stefan Guggisberg Gesendet: Donnerstag, 15. Juli 2010 18:36 An: [email protected] Betreff: Re: RepositoryCopier and multi-valued properties On Thu, Jul 15, 2010 at 6:25 PM, <[email protected]> wrote: > Hi, > > I have just tried it with jackrabbit 1.6.1 release and I do not get these > exceptions. > > I tried it both times with a complete fresh installation of the jackrabbit > repository. this is most likely a regression of https://issues.apache.org/jira/browse/JCR-2170, which was fixed for 1.6.2. > > Should I make an Issue for that? yes please, and please provide detailed instructions how to reproduce the issue. > > Is there a workaround for the described problem? I am asking because it is > very critical for us because it seems that you have corrupted your repository > data after the restoring of the backup. your node type definitions could probably be made more strict by e.g. disallowing residual definitions. how is vr:ignore declared? what's the node type definition of the node's node type? cheers stefan > > Regards, > > Sascha > > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] > Gesendet: Donnerstag, 15. Juli 2010 17:27 > An: [email protected] > Betreff: AW: RepositoryCopier and multi-valued properties > > Hi, > > sorry forgot to mention that I use Jackrabbit 1.6.2 and the exception trace > popus up when I try to get the values of a multi value property with > > property.getValues(...) > > Stack Trace is: > > java.lang.RuntimeException: property > /vr:repo_area/RuleRepository/vr:project_area/Movie Ticket > Pricing/bin/vr:ignore is a single-valued property, so it's value can not be > retrieved as an array > at > org.apache.jackrabbit.core.PropertyImpl.internalGetValues(PropertyImpl.java:441) > at > org.apache.jackrabbit.core.PropertyImpl.getValues(PropertyImpl.java:475) > at xxx.MyClass.getProperty(MyClass.java:274) > > Regards > > Sascha > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] > Gesendet: Donnerstag, 15. Juli 2010 15:41 > An: [email protected] > Betreff: RepositoryCopier and multi-valued properties > > Hi all, > > > > I have problems using the RepositoryCopier with multi-valued properties. > I create a copy of my repository and read it back again. When I restore > the copy I get exceptions when I have a multi-valued property with only > one value. > > > > Any ideas how to fix that? > > > > Regards > > > > Sascha Theves > Platform and Technology (INST/EPI) > > -- > Innovations Software Technology > Bosch Group > Ziegelei 7, 88090 Immenstaad, Germany > Telefon: +49(0)7545-202-537 > Fax: +49(0)7545-202-301 > [email protected] > <BLOCKED::mailto:[email protected]> > www.innovations.de <http://www.innovations.de/> > > Executives: Achim Berger, Thomas Cotic, Thomas Schmid > Register Court Ulm HRB 631888 > > This message may contain confidential and privileged information. Any > unauthorized review, use, disclosure or distribution is prohibited. If > you are not the intended recipient, please inform us immediately and > destroy this message including all copies thereof. > > > >
