#0921 Changes needed with Zope 2.12
Found some changes needed with Zope 2.12
diff -r plone4/products/IssueTrackerProduct/__init__.py IssueTrackerProduct/__init__.py
209c209
< from zope.contenttype import guess_content_type
---
> from zope.app.content_types import guess_content_type
diff -r plone4/products/IssueTrackerProduct/Issue.py IssueTrackerProduct/Issue.py
23c23
< from webdav.interfaces import IWriteLock
---
> from webdav.WriteLockInterface import WriteLockInterface
3017c3017
< __implements__ = (IWriteLock,)
---
> __implements__ = (WriteLockInterface,)
diff -r plone4/products/IssueTrackerProduct/IssueTracker.py IssueTrackerProduct/IssueTracker.py
5454,5457c5454
< extras = Empty()
< extras.index_type = 'Okapi BM25 Rank'
< extras.lexicon_id = 'Lexicon'
< zcatalog.addIndex(idx, 'ZCTextIndex', extras)
---
> zcatalog.addIndex(idx, 'TextIndex')
1 year and 9 months and 3 weeks old
I also had to change the zpt/StandardHeader.zpt from this:
<h1 class="head" tal:content="structure python:here.getRoot().title_or_id().replace(' ',' ')">The Title</h1>
To this:
<h1 class="head" tal:content="structure python:here.getRoot().title_or_id()">The Title</h1>
can i get commit access? I have another fix.