Hi,
What should copyResource() return? In javadoc I see it should return <u>a list of new resource identifiers (IRid) of all copied resources</u>, so in my code:
l.add(cd.getDestinationDescriptor().getParentCollectionRid().add(handle.getNode().getName())); return l;
However, after copy, there's an error java.lang.ClassCastException at com.sapportals.wcm.repository.GeneralImpl2.internalCopyManager(GeneralImpl2.java:583), while the copy operation indeed succeed.
So what's wrong with my code?
Thanks,
Ray