You can try to add the following in your repository.xml
(Workspace's PersistenceManager section):
<param name="consistencyCheck" value="true"/>
and if you want to do both a check and repair:
<param name="consistencyCheck" value="true"/>
<param name="consistencyFix" value="true"/>
..and restart Guvnor.
Another thing you can try is to check and fix possibly corrupted search
indexes, for this in the <SearchIndex class="..."> element of your
repository.xml you can add parameters:
<param name="enableConsistencyCheck" value="true"/>
<param name="forceConsistencyCheck" value="true"/>
to do a repair as well, add:
<param name="autoRepair" value="true"/>
...and restart Guvnor.
I would strongly recommend backing up you repository before trying this.
Hope it helps.
Thanks.
Tihomir
On 1/9/11 11:03 PM, Jervis Liu wrote:
On 2011/1/6 22:39, Rob Fisher wrote:
> I'm using version 5.1.1
>
> I can't find any reference to the rule anywhere in the package, yet it
> seems to be seeing it when trying to create a rule with the same name.
>
Hi, I verified guvnor 5.1.1, still can not reproduce the problem you
reported. If you believe you still have this problem, you can send me a
repository dump with detailed instruction on how to reproduce so that I
can take a further look. Thanks.
Cheers,
Jervis
> Rob Fisher
> Systems Analyst, Agency Awards
> Desk 309-735-4136
> Cell 309-660-4957
>
>
> -----Original Message-----
> From: rules-users-bounces(a)lists.jboss.org
> [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Jervis Liu
> Sent: Thursday, January 06, 2011 1:58 AM
> To: Rules Users List
> Subject: Re: [rules-users] Guvnor - archival option
>
> What version of Guvnor are you using? I am not able to reproduce this
> problem on trunk.
>
> Thanks,
> Jervis
>
> Rob Fisher wrote:
>> I archived a rule, then deleted it within Administration\Archive
>> (using the "Delete selected asset" option). However, when trying to
>> create a rule with the same name, I receive the following message: "An
>> asset with that name already exists in the chosen package. Please use
>> another name". I do not see the rule under Archive any longer (since
>> it was deleted). It seems, however, to still be recognized within the
>> repository.
>>
>> Anyone know how to solve this?
>>
>> Thanks
>>
>> Rob Fisher**
>>
>> ----------------------------------------------------------------------
>> --
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users