fle3-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fle3-dev] Open Bugs [was:Re: Avoimet bugit]


From: Bo Granlund
Subject: [Fle3-dev] Open Bugs [was:Re: Avoimet bugit]
Date: Thu Jul 25 05:07:15 2002
User-agent: Mutt/1.2.5i

Moi,

I think this can be generalized so, that any such information that
is stored as a loose pointer reference to some real zope object,
should be handled nonfataly. I.e. if it doesn't exist, try to ignore
it, if ignoring would not make sense, try to cleanup, and only after
that should an error go back, or something. Assertions are ok in
development usage, but they should all be disabled in production
version......

I guess there are quite a few places where this applies.

Peace,
Bo

On Thu, Jul 25, 2002 at 11:36:09AM +0300 address@hidden wrote:
> Pistin 804:ään vähän followuppia, se luultavasti liittyy 803:een,
> koska Teemu ensin ilmoitti sen ja sitten 4 minuutin päästä tämän
> toisen. Eli molemmissa varmaankin state_url (tai sen serverillä
> tallennettu versio) jättävät viittauksen poistettuun kurssiin, joka
> sitten rikkoo paikat.
> 
> Pitäisikö tämä keskustelu muuten käydä fle3-dev -listalla??
> 
> -- 
> Tarmo Toikkanen
> http://www.iki.fi/tarmo/
> The Fle3 Team
> http://fle3.uiah.fi
> 
> On 24.07.2002, 16:59:03, Janne Pietarila wrote:
> >Avoimista bugeista 741, 804, ja 880 ovat sellaisia, joita en saa 
> >toistettua. Toimiiko teillä esim. 741, joka sentään kuulostaa ihan
> >uskottavalta (muut lienevät enempi Zope-ongelmia...)
> >
> >btw. Allekirjoittaneella testit epäonnistuvat seuraavasti:
> >
> >--> clip -->
> >
> >======================================================================
> >ERROR: Test that note previewing and canceling works for thread starters.
> >----------------------------------------------------------------------
> >Traceback (most recent call last):
> >  File "tests/testUiNotes.py", line 147, in testNotePreviewCancel
> >    res = wwwtest(_url,user="user2:passwd2",expected=302)
> >  File "./tests/__init__.py", line 76, in wwwtest
> >    raise 'Error publishing page:\n' + \
> >Error publishing page:
> >/usr/local/zope/7070/lib/python/Products/FLE/Note.py, 707: AttributeError
> >======================================================================
> >ERROR: Test that note previewing and cancelin works for thread replies.
> >----------------------------------------------------------------------
> >Traceback (most recent call last):
> >  File "tests/testUiNotes.py", line 166, in testNotePreviewCancel2
> >    res = wwwtest(_url,user="user2:passwd2",expected=302)
> >  File "./tests/__init__.py", line 76, in wwwtest
> >    raise 'Error publishing page:\n' + \
> >Error publishing page:
> >/usr/local/zope/7070/lib/python/Products/FLE/Note.py, 707: AttributeError
> >======================================================================
> >ERROR: Note previewing and publishing for thread starters.
> >----------------------------------------------------------------------
> >Traceback (most recent call last):
> >  File "tests/testUiNotes.py", line 185, in testNotePreviewEdit
> >    res = wwwtest(_url,user="user2:passwd2",expected=302)
> >  File "./tests/__init__.py", line 76, in wwwtest
> >    raise 'Error publishing page:\n' + \
> >Error publishing page:
> >/usr/local/zope/7070/lib/python/Products/FLE/Note.py, 707: AttributeError
> >======================================================================
> >ERROR: Test that note previewing and publishing works for thread starters.
> >----------------------------------------------------------------------
> >Traceback (most recent call last):
> >  File "tests/testUiNotes.py", line 91, in testNotePreviewPublish
> >    res = wwwtest(_url,user="user2:passwd2",expected=302)
> >  File "./tests/__init__.py", line 76, in wwwtest
> >    raise 'Error publishing page:\n' + \
> >Error publishing page:
> >/usr/local/zope/7070/lib/python/Products/FLE/Note.py, 707: AttributeError
> >======================================================================
> >ERROR: Check that note previewing and publishing works for thread replies.
> >----------------------------------------------------------------------
> >Traceback (most recent call last):
> >  File "tests/testUiNotes.py", line 119, in testNotePreviewPublish2
> >    res = wwwtest(_url,user="user2:passwd2",expected=302)
> >  File "./tests/__init__.py", line 76, in wwwtest
> >    raise 'Error publishing page:\n' + \
> >Error publishing page:
> >/usr/local/zope/7070/lib/python/Products/FLE/Note.py, 707: AttributeError
> >======================================================================
> >ERROR: testUserInvitation (testUiUserManager.testUiUserManager)
> >----------------------------------------------------------------------
> >Traceback (most recent call last):
> >  File "tests/testUiUserManager.py", line 90, in testUserInvitation
> >    (header,body) = sent_emails[-1]
> >IndexError: list index out of range
> >======================================================================
> >ERROR: testClipboard (testWebtopFolder.testWebtopFolderUse)
> >----------------------------------------------------------------------
> >Traceback (most recent call last):
> >  File "tests/testWebtopFolder.py", line 155, in testClipboard
> >    self.f.copy((self.item2[1],))
> >  File "/usr/local/zope/7070/lib/python/Products/FLE/WebtopFolder.py", 
> >line 506, in copy
> >    newitem.id = self.generate_id()
> >TypeError: attribute-less object (assign or del)
> >----------------------------------------------------------------------
> >Ran 122 tests in 52.900s
> >
> >FAILED (errors=7)
> >
> ><-- clip <--
> >
> >Parempia tuloksia?
> >
> >-- 
> >Janne Pietarila
> >
> >



reply via email to

[Prev in Thread] Current Thread [Next in Thread]