i am getting follwoing Error while doing site cloning.
2011-06-06 11:12:01,263 | ERROR | vcm.appsvcs.channel
| 19029 | 026-131-0012: The specified channel name 'VgnExtLinks' is not unique among its siblings. [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [com.vignette.as.server.logic.channel.NameValidator]
com.vignette.as.client.exception.ValidationException: 06/06/2011 11:12:01:260, Error 500 (MOValidationError), Message 026-131-0012: The specified channel name 'VgnExtLinks' is not unique among its siblings.
at com.vignette.as.client.exception.ValidationException.getOne(ValidationException.java:203)
at com.vignette.as.server.logic.channel.NameValidator.checkUniquenessAcrossSiblings(NameValidator.java:126)
We have Channel Metadata(Channel Descriptor) in our System, we have one listener, when we carete any Channel Metadata that CI will be associated to
/Application Assets/VgnExtLinks channel, if VgnExtLinks channels not exist it will create the 'VgnExtLinks' channel and will associate the CI to 'VgnExtLinks' channels,
First the cloning process is trying to create channels under /Home channel, while creating channel the ChannelMetaData will be created and assigned to 'VgnExtChannel' if the channel doesnt exit, then it will create 'VgnExtChannel'.
at com.vignette.as.client.javabean.Channel.commit(Channel.java:1067)
at com.vignette.as.client.common.be.sitecloner.CACreateChannel.execute(CACreateChannel.java:56)
at com.vignette.as.client.common.be.ConcreteAction.execute(ConcreteAction.java:154)
at com.vignette.as.client.common.be.sitecloner.VACreateChannel.execute(VACreateChannel.java:30)
There is no check for(as expected) existance of a channel in
CACreateChannel.java.
ChannelData sourceChannelData = sourceChannel.getData();
Channel targetChannel = Channel.newInstance();
ChannelData targetChannelData = new ChannelData();
targetChannelData.setActive(sourceChannelData.getActive());
is there any way we can extend CACreateChannel.java class and add the required logic?
I mean is there any configuration to specify the CACreateChannel class (as we are using spring).
Thanks,
Gangi.