-
Plone 3 Bug Bash
last modified March 20, 2007 by jonthomas1986
Debug Process
- Find a bug on Plone.org's Trac (Milestone 3.0)
- Verify it's replicable.
- Explain how to replicate if bug isn't clear
- If possible, write a doctest
- Fix it
- Make a patch (svn diff path/to/file/you/changed > diff##Bugnumber##.diff)
Bug Status
| ### | Owner | status | notes |
|---|---|---|---|
| 6151 | David R Jon T | open | Fixed sort order, refactoring UI per limi's suggestions |
| 6225 | non-rreplicable? | could not replicate (on two different machines) | |
| 4648 | blambert cheryl | submiited patch in trac | Fixed wording to be accurate for a default plone web site |
| 6257 | added comment in trac | It appears the titles for filesets in the edit_macros.pt are not in plone.pot | |
| 6256 | non-repl. | could not replicate | |
| 6022 | JJ | patch avail | |
| 5833 | unpatched | patch in trac doesn't seem to be applied. Bug verified. |
Plone 3 Installation Instructions
Fix for Plone Bug 6151
-Implemented fix for part of this bug 6151-Created test for functionality.
-Sorted list of items appearing in selection box.
-Patches included as attachments in ticket 6151
Fix for Bug 6022
- patch: bug6022.diffchanges made:
= Put title code (month name and links) into <caption> tag
= Altered css to style caption correctly
= Added i18n:attributes to non-event, today td so a translation can be added for whatever that should say (I assumed that's what was meant by 'other than only visual'... followed instructions here
Replication Instructions for Bug 5833
- create standard ATEvent object somplace within a plone instance (in my setup, it's /plone/new-test)- start debug zope session (I used buildout, ran instance debug, maps zope instance to 'app')
>>> from DateTime import DateTime- when you look at /plone/new-test, the widget shows -- for the end year, as the bug suggests
>>> app.plone['new-test'].endDate = DateTime('2020/03/15 14:25:00 GMT-4') # date should be some year beyond the end date in widget.. mine went to 2012
>>> import transaction
>>> transaction.commit
# JJ - In the process of updating to work without browser interaction
# Note to self: products/ATContentTypes/content/event.py
Installing
How to install the latest Plone 3.0 code from subversion
- Install Zope 2.10.2
- Then make sure you have the Plone 3 Dependencies
- cd into your Zope (2.10.2) instance directory
type the following:
svn co https://svn.plone.org/svn/plone/bundles/3.0 Products
then cd into your instance's lib directory and delete the python directory (as stated in http://svn.plone.org/svn/plone/bundles/3.0/README-BUNDLE-SETUP.txt):
rm -rf python
And check out the lib/python bundle for plone:
svn co https://svn.plone.org/svn/plone/bundles/3.0-lib python
Installing using the buildout script
Plone 3 Buildout
Checkout:
Run the following command from the ploneout directory:
- Run from the ploneout dir:
- python bootstrap.py
- This creates a few directories used by buildout. Then run:
- bin/buildout -v
- To start the instance:
- bin/instance fg
- Instance accessible from:
- localthost:8080/manage
- user:admin
- pass:admin
- localthost:8080/manage
Installing on windows
Get the Plone windows installer from:
http://www.enfoldsystems.com/Files/plone-3.0.0-6927.exe
Replace the contents of c:\Program Files\Plone 2\Data\Products with the latest code from
https://svn.plone.org/svn/plone/bundles/3.0
Then replace the contents of c:\Program Files\Plone 2\Data\lib\python with:
https://svn.plone.org/svn/plone/bundles/3.0-lib
Using a windows based subversion client.
Alternate Plone 3 SVN Windows Install, using ploneout
(worked unmodified in windows XP ser. pack 2):
http://svn.plone.org/svn/plone/ploneout/trunk/WINDOWS.txtNotes:
Expects a clean install. I already had python 2.4.4 installed so I left python alone. I removed all other versions of Zope just to be safe (probably not necessary). I had already installed PIL, libxml2 and ElementTree binaries.
Probably Relevant Path Additions (for above instructions)
(Right click on My Computer, click properties, click the Advanced Tab, then click Environment Variables):
C:\Python24;C:\Python24\Scripts;C:\Python24\Lib;C:\Program Files\Subversion\bin;C:\MinGW\bin
TestRunner Patch
http://zope.org/Collectors/Zope/2276
Apply to Zope2.10/bin/test.py
Plone 3 Dependencies
test.py