[PATCH] Attachment support

Vladimir Prus ghost at cs.msu.su
Thu Oct 24 11:42:10 UTC 2002


I've just tried to make a test class that uses attachements and it did 
not work. First, when I create a test, the attachments are not copies to
AttachmentStore for the database. Second, when creating values for 
attachement attributes, None is passed as attachement store to 
AttachementField.GetValueFromDomNode, which makes attachments data 
unsulable.

I've fixed both problems with the patch I'm sending, so now at least 
basics work. There are several problems yet:
1. I don't handle storing of resources with attachments
2. Attachments are never removed
3. Paths to attachments are absolute, meaning it's impossible to move 
test databases around.

Anyway, is it possible to look at the patch, check if it's OK, and 
apply? I'll probably address other issues when I have time.

- Volodya
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: attachments.diff
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20021024/dd19f39d/attachment.ksh>


More information about the qmtest mailing list