FSPhoto patch

話說前一陣子用了 FSPhoto ,後來發現不能用 FTP 的方式上傳,有點美中不足,所以又激起了找 bug 的鬥志,嗯,這是新舊 diff 的內容,請慢用,真的好短,不過我追了很久,真是太遜了。


相信在新版的 Plone 2.1 中,或是 Archetypes 1.3.4 會有更好的方法。


還有要在 SourceForge 上登記 bug 或是 submit patch 時,明明已經登入了,總還是會變成 nobody,疑惑中。


這是 diff 的內容,FSPhoto_New 的內容是新的:


Common subdirectories: FSPhoto/Extensions and FSPhoto_New/Extensions
diff FSPhoto/FSImage.py FSPhoto_New/FSImage.py
11a12
> from Products.Archetypes.Marshall import PrimaryFieldMarshaller
36a38
> primary=1,
41c43
< ))
---
> ),marshall=PrimaryFieldMarshaller())
diff FSPhoto/FSPhoto.py FSPhoto_New/FSPhoto.py
10a11
> from Products.Archetypes.Marshall import PrimaryFieldMarshaller
27a29
> primary=1,
36c38
< ))
---
> ),marshall=PrimaryFieldMarshaller())
diff FSPhoto/FSPhotoAlbum.py FSPhoto_New/FSPhotoAlbum.py
16a17
> from Acquisition import aq_base
Common subdirectories: FSPhoto/docs and FSPhoto_New/docs
Common subdirectories: FSPhoto/skins and FSPhoto_New/skins

comments powered by Disqus