I'm all but certain that this is the same problem as in the step reordering
thread. Try updating the pod id before writing it out in changed form. Let
me know if that doesn't work.
On 4/29/07, Anthony Perritano <[EMAIL PROTECTED]> wrote:
>
> after removing an activity from a pod i would get this:
>
> 29-apr-2007 14.52.23 net.sf.sail.core.beans.Pod assemble
> AVVERTENZA: exception: java.util.NoSuchElementException: no known pod
> dddddddd-0000-0001-0000-000000000000 in registry
> PodRegistry:{dddddddd-0000-0007-0000-000000000000=
> [EMAIL PROTECTED],
> dddddddd-0000-0000-0000-000000000000=
> [EMAIL PROTECTED],
> dddddddd-0000-0008-0000-000000000000=
> [EMAIL PROTECTED]
>
> so i wrote a testcases.
>
> the steps are:
> 1.checkout: RemoveActivityWriteCurnitTest from PLR
> 2. run it with junit. it will successfully run remove the activity then
> load in the curnit again and print out the pod tree showing it was removed.
> it will write a curnit to yr target directory with _REMOVED appended on it.
>
> 3. change the annotations of the methods:
> @Before
> public void setUp() throws Exception {
>
> to
>
> @Ignore
> public void setUp() throws Exception {
>
> and
>
> @Test
> public void testRemovingActivityAndSavingCurnit() {
>
> to
>
> @Ignore
> public void testRemovingActivityAndSavingCurnit() {
>
>
> the only method that should be tested is:
> testLoadingRemoveActivityCurnit
>
> this will load the curnit that was generated in the steps above and
> produce the error.
>
> it seems when u write then load every thing is file. however if u write,
> then load later there is a problem.
>
> Turadg, Scott can u guys check it out? any ideas?
>
> thx
> Tony
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---