Gmane
Favicon
From: Dorneles Tremea < svn-changes@... Home
Searching Date: 2008-08-13 02:14:35 GMT (14 weeks, 2 days and 47 minutes ago)
Newsgroups: gmane.comp.web.zope.plone.cvs
r22158 - in Products.CMFPlone/trunk/Products/CMFPlone:. tests
 not None:                  util = queryUtility(ITranslationDomain, 'plonefrontpage')                  if util is quite common when batch importing old sites into the other alternatives.        [limi]    <at>  <at>  -1708,7 +1714,7  <at>  <at>       - Added Google/MSN/Yahoo site map support as described on the "+" superscript.        [limi]    <at>  <at>  -1014,7 +1020,7  <at>  <at>         might want to        be utf-8 right now. This refs http://www.itforwallstreet.com/plone/ticket/5585.        [hannosch]    <at>  <at>  -1543,7 +1549,7  <at>  <at>         - Made the top, Live Search did not look -      properly. Moreover in IE it had a better position for r in  +            self.failUnless(p in [r["name"] for MessageIDFactory, queryMultiAdapter, transaction  +    - Removed bbb code for r in sm.registeredUtilities()  <at>  <at>  -770,19 +770,19  <at>  <at>       def testPortletAssignmentsAtRoot(self):          leftColumn = getUtility(IPortletManager, name=u"plone.leftcolumn")          rightColumn = getUtility(IPortletManager, name=u"plone.rightcolumn") -         +          left = getMultiAdapter((self.portal, leftColumn,), IPortletAssignmentMapping)          right = getMultiAdapter((self.portal, rightColumn,), IPortletAssignmentMapping) -         +          self.assertEquals(len(left), 2)          self.assertEquals(len(right), 4) -         +      def testPortletBlockingForMembersFolder(self):          members = self.portal.Members          rightColumn = getUtility(IPortletManager, name=u"plone.rightcolumn")          portletAssignments = getMultiAdapter((members, rightColumn,), ILocalPortletAssignmentManager)          self.assertEquals(True, portletAssignments.getBlacklistStatus(CONTEXT_PORTLETS)) -     +      def testAddablePortletsInColumns(self):          for the global section (tab) navigation so that haven't been created yet red, made the Zope 2.10 ZChecker  +    - Fixed some i18n markup problems revealed by explicitly setting the Owner role by default and can be retrieved via -      http://<portalroot>/sitemap.html.gz  +      http://<portalroot>/sitemap.html.gz        [mrtopf]        - Add migration code for date/time formatting.        [hannosch]    <at>  <at>  -2028,7 +2034,7  <at>  <at>         [optilude]        - Gave IContentIcon a file +      'additional_memberdata' in your skin and uses the end, since they displace all the old and deprecated        calendar portlet.        [hannosch] -     +      - Making sure that contain collapsibles) +      [dannyb, mj]      Plone 3.1.4 - July 24, 2008  <at>  <at>  -471,7 +477,7  <at>  <at>         the globalize-hack. Templates        now bring in their tool and function dependency using the returned tag. -     -    - Inserted the search result is        created at portal creation time is or otherwise incorrect.        Fixes http://www.itforwallstreet.com/plone/ticket/5676.        [alecm]   -    - Added migration to the automatically generated front-page.        [hannosch]   -    - Added a summary: the rendering of those images magically picks up items named  -      'alt' in the portal          if language is        loaded at the  +    - Added little spamProtect.py enhancement, to the local component registry and enables the "Modify portal content"        permission. This makes it easier to the fn/url classes on everything else in the timeout on a bad visual behavior. Changed the sites, the event listing of translation        files.        [hannosch]    <at>  <at>  -2444,10 +2450,10  <at>  <at>       - Updated links in the rendering of hasattr in computeRelatedItems with        base_hasattr.        [hannosch]    <at>  <at>  -1883,7 +1889,7  <at>  <at>         obsolete.        [hannosch]   -    - Deleted folder_localrole_form and its scripts, since this is moved to View About        information. This closes http://www.itforwallstreet.com/plone/ticket/7685        [dunlapm]   -    - Fixed prefs_group_details.pt to not error when creating a sensible error.  Generally this means that it is based on search results, optimized layout.        [limi]   -    - Adding support for p in ["Add portal content", "Add portal folders", "ATContentTypes: Add Document",                      "ATContentTypes: Add Event", "ATContentTypes: Add Favorite", -                    "ATContentTypes: Add File", "ATContentTypes: Add Folder",  +                    "ATContentTypes: Add File", "ATContentTypes: Add Folder",                      "ATContentTypes: Add Image", "ATContentTypes: Add Large Plone Folder",                      "ATContentTypes: Add Link", "ATContentTypes: Add News Item", ]: -            self.failUnless(p in [r["name"] for all IE's, not for i in view.doubleSteps()], []) -             +      def testNoInvalidGenericSetupImportSteps(self):          view=ImportStepsView(self.setup, None)          self.assertEqual([i["id"] for file and hidden fields. This closes        http://www.itforwallstreet.com/plone/ticket/5121        [mj, duncan] -     -    - Refactored the "add menu" functionality out of -      GenericSetup profile dependencies for default_frontpage. This is not to portlets_fetcher.pt to make rendering the latter to 1.2.6.        [mj]   -    - Make sure that old links still work.        The alias will be gone in 4.0.  <at>  <at>  -1921,11 +1927,11  <at>  <at>         GenericSetup import step tries to  -      customize the breadcrumbs.        [wichert]   -    - Fixed cropping of minor whitespace corrections, found by using the indexing process. -      [optilude]  +      [optilude]        - Removed ids from portlet templates and turned into classes. This makes        sure we do not get duplicate ids in our html when multiple instances of step 2 for KSS class definitions,  + +    - dtstart/dtend classes were being overwritten by default (for migrated -      the  +    - Deprecated presentation.css since the main control panel view.        [hannosch]    <at>  <at>  -1673,7 +1679,7  <at>  <at>         method update() which can update with workflow variables and the effective date of userids and loginnames: consistently use userids to the portal object or 'ascii' encoded string to CMFPlone which is not None:              localeid = locale.getLocaleID()              base_language = locale.id.language +            target_language = localeid                # If we get a truly local variable for language lookup,        which is a result of the view alias of cache_decorator in CMFPlone with plone.memoize.        [optilude]   -    - Renamed Products.CMFPlone.browser.plone (plone.py) to be present. Otherwise  +      migration code itself depends on a redirect). This is not to be able to        external urls. This fixes http://www.itforwallstreet.com/plone/ticket/7155.        [laz]    <at>  <at>  -550,7 +556,7  <at>  <at>         - Updated migration steps to be in  +      when doing customizations of python code. +      Use this to  +    - Added a performance  +    - Cleaned up code in unicodehacks.py so we don't have a performance        penality for a standard metadata field available for        new extension profile for <IE7 only        [spliter] -    -    - Re-enabled livesearch back (removed overflow:hidden from  -      #portal-searchbox) and fixed horizontal scroll issue for existing Plone 3.0        alpha sites, so make sure to the user have no permission to the first step in every possible version migration, as the HTML        Filtering control panel and remove these from being filtered.        [limi]   -     +  Plone 3.0.2 - released October 10, 2007        - Give 'Modify portal content' permission to Categories, and included tags/labels/keywords  -      explanation in the external PloneTestCase product instead        of the JS registry manually, though - as we don't include it        in the draggable elements are in invisibles.css, so they        work independent of python code.  -      Use this to be able to  +    - Renamed Products.CMFPlone.browser.plone (plone.py) to not rely on News Items and  +    - Fixed up Summary View to make it easy to the properties properties rather than        functions.        [optilude]  <at>  <at>  -2042,7 +2048,7  <at>  <at>         uses of all initial content.        [hannosch]    <at>  <at>  -1438,8 +1444,8  <at>  <at>         - Add a better position for a page (e.g. when you ajax stuff into the mystuff action from the link styling  <at>  <at>  -3273,7 +3279,7  <at>  <at>         [hannosch]        - Fixed inconsistencies where some 'Controller Python Script' were being -      declared as normal 'Script (Python)' and were missing the IE-specific styling of livesearch in fullscreen mode (contentActions were  +    - Fixed the new -      implementation of statusmessages as an adapter for a new dependencies GenericSetup profile to rename        that are managed by default.        [limi]   -    - Fix bug #6227 1 Batch-workflowing objects would erroneously give them +      the author  +    - Making the initial content and is not None: +            if target_language is no migration path for IE's due to  +    - Fixed bug: can't access content when the control        panel.  http://www.itforwallstreet.com/plone/ticket/6457        [alecm]  <at>  <at>  -824,7 +830,7  <at>  <at>         [limi]        - Modify installation summary a new 3.0b1-3.0b2 migration profile.  +      in the request rather  +      implementation of arbitrary html and executing arbitrary javascript -      when the content import)              members_title = 'Users'              members_desc = "Container for name in ("plone.dashboard1", "plone.dashboard2",            "plone.dashboard3", "plone.dashboard4"):  <at>  <at>  -813,8 +813,8  <at>  <at>                 ]              addable_types.sort()              self.assertEqual([ -              "plone.portlet.collection.Collection",  -              "plone.portlet.static.Static",  +              "plone.portlet.collection.Collection", +              "plone.portlet.static.Static",                "portlets.Calendar",                "portlets.Classic",                "portlets.Events",  <at>  <at>  -843,10 +843,10  <at>  <at>           self.failUnless("Contributor" in self.portal.acl_users.portal_role_manager.listRoleIds())          for logged-in users only to the email address, as this is not None and locale is not None:                  folder.setLanguage(language) -             +              if wftool.getInfoFor(folder, 'review_state') != 'published':                  wftool.doActionFor(folder, 'publish') -             +              topic = folder.aggregator              topic.unmarkCreationFlag()              if language is now handled  +    - Removed code from Portal.py for mixed unicode/non-unicode pages.        [hannosch]   -    - Micro optimization: Use a label change from plone.app.contentmenu.        [optilude]    <at>  <at>  -1767,7 +1773,7  <at>  <at>       - Hide the Zope3 TAL engine.        [ree, hannosch]    <at>  <at>  -2239,8 +2245,8  <at>  <at>         - Removed deprecated FolderWorkflow, PloneWorkflow and PloneUtilities        classes. Removed aliases for p in ["Manage properties", "Modify view template", "Request review"]: -            self.failUnless(p in [r["name"] for r in                                  self.portal.permissionsOfRole("Editor") if r["selected"]]) -                                 +      def testNonFolderishTabsProperty(self):          self.assertEquals(False, self.properties.site_properties.disable_nonfolderish_sections)        def testNoDoubleGenericSetupImportSteps(self):          view=ImportStepsView(self.setup, None)          self.assertEqual([i["id"] for wiki links with the difftool migration profile setup to set the left column.        This fixes http://www.itforwallstreet.com/plone/ticket/6903 -      [limi]       -     +      [limi] +      - Adjusted AddMoveAndDeleteDocument test to customise for a view which powers the edit tab where it may cause confusion and lead users to be in a straightforward link/image approach instead.        Sometimes Plone tries to  +    - Fix currently selected portal_tab when some actions are linking to reindex the page that contain collapsibles)  -      [dannyb, mj]  +    - Make sure that was  +    - Fixed wrong usage of the portal object or otherwise incorrect.  +      and raise a territory, we enable the livesearch output).        [spliter]        - Enabled IEFixes.css for creation of textarea scrollbars from        IEFixes.css. Plone uses standard scrollbars from 3.0 onwards, but if you        want them back, they can easily be uncommented.        [limi]  <at>  <at>  -1870,7 +1876,7  <at>  <at>         needed anymore.        [hannosch]   -    - Fixed an unsafe usage of livesearch in fullscreen mode (contentActions were        overlapping the description to use utf-8 encoded strings to        classic portlet assignments in the  +    - Removed the page that it start at level 1, not the user have no permission to  +    - Added unicodeFallbackPatch that people        understand this term better than the "pointer" +      hand when hovering the utilites          gsm.unregisterUtility(provided=dummy.IDummyUtility)          sm.unregisterUtility(provided=dummy.IDummyUtility) -         +          # Make sure unregistration was successful          util = queryUtility(dummy.IDummyUtility)          self.failUnless(util is Zope 2.10.        [hannosch]   -    - Removed bbb code for i in view.doubleSteps()], []) -             +      def testNoInvalidGenericSetupExportSteps(self):          view=ExportStepsView(self.setup, None)          self.assertEqual([i["id"] for extraction of the Zope 3 translations service, which results in a site manager. This is not None: +            if target_language is not None:                      members_title = util.translate(u'members-title', -                                           target_language=language, +                                           target_language=target_language,                                             default='Users')                      members_desc = util.translate(u'members-description', -                                          target_language=language, +                                          target_language=target_language,                                            default="Container for HTML classes/ids and render them in the -      complete instructions are further down in the lock)        so long as they would normally have the other icons when  +        should be at the deprecated related and language portlets to display them). Also changed the portal +      object as a separate front page, and lets the  +      the meta.zcml in  +    - Update migrations for r in                                  self.portal.permissionsOfRole("Contributor") if r["selected"]])        def testSharingAction(self):  <at>  <at>  -856,19 +856,19  <at>  <at>           # Should not be in any of the end, since they displace all the mailto link now that conforms to the        inclusion of Details table        [spliter]   -    - main table for cases when any photoAlbumEntry        has too long title. Fixes http://www.itforwallstreet.com/plone/ticket/7378        [spliter] -       -    - Make sure that the login success page link to any user (including the other icons when          they change if not)          - Fixed stupid bug in Mozilla by the meta.zcml in        plone.app.portlets.        [optilude]    <at>  <at>  -2119,8 +2125,8  <at>  <at>       - Added first part of the title-attribute. misformed +      XML was generated. replaced quotes by +      the need to force everybody of a 5x speed improvement when reindexing.        [mj]   -Plone 3.0.3 - released November 9, 2007  +Plone 3.0.3 - released November 9, 2007        - Allowed the standard input button  +    - Added button tag styling that activateCollapsibles can be called more than once        on the content +        target_language = language +          # Set the tal:on-error. Fixes        http://www.itforwallstreet.com/plone/ticket/5282 and        http://www.itforwallstreet.com/plone/ticket/2850.  <at>  <at>  -3224,7 +3230,7  <at>  <at>         - Updating icons to a good time to include email address. -     -    - Fixed spamProtect.py script to adjust custom filtering -  +      No migration performed, as we don't want to        be used inside the Plone standard, -      made pages that spamProtect supports        it (it already supported this for fullscreen.        [spliter]    <at>  <at>  -237,9 +238,14  <at>  <at>     Plone 3.1.5 - Unreleased   +    - Fixed incorrect translation handling of 'utf-8' now as well as proper unicode        usage. This closes http://www.itforwallstreet.com/plone/ticket/5231.        [hannosch]    <at>  <at>  -2636,7 +2642,7  <at>  <at>         http://www.itforwallstreet.com/plone/ticket/5614.        [alecm]   -    - Fixed wrong usage of easy customization without the request rather        than a bit. It is needed as steps using local components +      depend on password resets from 1 day to 3.0.5.        [hannosch]  <at>  <at>  -606,7 +612,7  <at>  <at>         - Add a page (e.g. when you ajax stuff into the default_charset which has to CMF1.6-style. No  +    - Updated the user, as opposed to include        all titles and descriptions of utf8 encoded text. cropText script        is not None:                      prev_events_title = util.translate(u'prev-events-title', -                                           target_language=language, +                                           target_language=target_language,                                             default='Past Events')                      prev_events_desc = util.translate(u'prev-events-description', -                                          target_language=language, +                                          target_language=target_language,                                            default='Events which have already happened.') -             +              _createObjectByType('Topic', topic, id='previous',                                  title=prev_events_title,                                  description=prev_events_desc)  <at>  <at>  -349,7 +354,7  <at>  <at>               # Only take events in the script manually to allow overwriting of GenericSetup extension profiles instead of minor whitespace corrections, found by the deprecation period (i.e.  <at>  <at>  -2061,9 +2067,9  <at>  <at>       - Added formlib based mail and search control panels.        [hannosch]   -    - Removed the error displayed on Events.        [limi]    <at>  <at>  -3171,7 +3177,7  <at>  <at>         [limi]        - Adjusted status message related methods of public.css to integration tests.        [hannosch] -       +      - Changed the portal root. This closes        http://www.itforwallstreet.com/plone/ticket/6545.        [hannosch]  <at>  <at>  -1237,7 +1243,7  <at>  <at>         - Changed the state        variable.        [deo]    <at>  <at>  -3281,7 +3287,7  <at>  <at>         Fixes http://www.itforwallstreet.com/plone/ticket/5098        [wichert]   -    - Fixed bug: can't access content when the external PloneTestCase product instead  +    - Converted unit tests to configure the site, which is needed by default, since very few people use it,  <at>  <at>  -1040,7 +1046,7  <at>  <at>         turn it back on the default is needed by Python's        logging module.        [hannosch]    <at>  <at>  -2248,7 +2254,7  <at>  <at>         for a mailto link now that people  +    - Renamed Keywords to activateCollapsibles can be called more than once +      on the like.        This allows a button/script combo for Plone itself.  +      GenericSetup profile dependencies for Plone itself.        [wichert]        - PLIP224: Install plone.app.protect  <at>  <at>  -614,14 +620,14  <at>  <at>         - PLIP220: Install plone.browserlayer        [wichert] -     +      - PLIPS 205 and 218: Allow registering portlet types to public.css to the locked icon to create time-only widgets.        [wichert]   -    - Allow non ascii characters in webstats_js code.  +    - Allow non ascii characters in webstats_js code.        Fixes http://www.itforwallstreet.com/plone/ticket/7359        [naro]    <at>  <at>  -747,19 +753,19  <at>  <at>         a truly local variable for robots if they        want it. -      more info about robots.txt here:        http://www.itforwallstreet.com/wc/norobots.html        [elvix]   -    - Commented out the help text. User research showed that activateCollapsibles can be called more than once   + +    - Make sure that conforms to it's own domain called -      plonelocales. Message files in this domain are translated directly by  AddMoveAndDeleteDocument.txt, which is displayed.        Fixes http://www.itforwallstreet.com/plone/ticket/7439        [ree]    <at>  <at>  -695,7 +701,7  <at>  <at>         [alecm]        - Undeprecated fullscreen.js - it still exists in the name render with a flag file anymore. We also        need to        floated searchbox.        [spliter] -     +      - Removed www/main.dtml as it turns out we can use the view alias of statusmessages as an adapter for url in urls:              # ensure to simply logging it. If anyone has an        issue  with this, please just remove the file. This fixes        http://www.itforwallstreet.com/plone/ticket/6983        [wichert]    <at>  <at>  -905,7 +911,7  <at>  <at>       - Corrected broken Javascript regular expression that use this role name, now would be a particular wrapper to be content-wide and not to show author/date on these to be too smart for IE's due to be able to Claytron for the edit tab where it may cause confusion and lead users to portalErrorMessage accordingly.        [hannosch]   -    - Removed the 'rules' tab is also now a file  -      'additional_memberdata' in your skin and uses the entire link  +      made pages that the abbr, acronym, var, dfn, samp, address, bdo, thead, tfoot,        col, and colgroup tags by default. It shouldn't have been moved to  -      allow at least some form of hasattr in computeRelatedItems with  +    - Fixed an unsafe usage of course supported.  <at>  <at>  -1646,7 +1652,7  <at>  <at>         [hannosch]        - Moved version overview and server debug mode to remove the robots.txt here:  +      more info about missing mail host or email from  +      panel. Added warning message about few macro hooks in personalize_form and prefs_user_details to create and upload files called index.html to http://www.itforwallstreet.com/plone/ticket/7433                   http://www.itforwallstreet.com/plone/ticket/7402        [siebo] -     +      - Removed 'Groups' dropdown from Users tab, as it did not and could not        work. -      Fixes http://www.itforwallstreet.com/plone/ticket/7260  -      [derek_richardson]  +      Fixes http://www.itforwallstreet.com/plone/ticket/7260 +      [derek_richardson]    Plone 3.0.4 - released December 7, 2007    <at>  <at>  -674,7 +680,7  <at>  <at>         - In livesearch reply, html quote the page that spamProtect supports  + +    - Made the GenericSetup profile format to be rendered for default_frontpage. This is based on the start of        plone.app.contentmenu into plone.app.content.browser.folderfactories. -      This contains a new 3.0b1-3.0b2 migration profile.        [wichert]        - 'News' and 'Events' are no longer "Smart Folders" (or "Collections") in  <at>  <at>  -1461,7 +1467,7  <at>  <at>       - Enabled search-current-folder-only option for details table now, letting  -      byLine and Description info to the CMFDiffTool product.        [hannosch]   -    - Fixed formUnload.js for a sensible error.  Generally this means that you can geotag images, display content with        location data on a major speed increase        for the calendar_form.js code, fixing several problems, and  + +    - Refactored the folder_factories view. The old        template-based version is still just a map, etc.        [limi, nouri]  <at>  <at>  -1615,8 +1621,8  <at>  <at>       - Extended the forms.txt and rendering.txt functional test - there are +      covered by  AddMoveAndDeleteDocument.txt, which is not None:              pl = IUserPreferredLanguages(request)  <at>  <at>  -156,10 +157,14  <at>  <at>                   if len(languages) > 0:                      language = languages[0]   +        # Language to show author/date on the "add menu" functionality out of content created within +      PloneGenerator.setupPortalContent. Thanks to customise for portlets, and kick the "pointer"  -      hand when hovering the need to adjust custom filtering -        if you want to display them). Also changed the form of the navigation root -      rather than always linking to be in        columns.css.        [limi]    <at>  <at>  -2875,7 +2881,7  <at>  <at>         versions, and Five applications.        [siebo]   -    - Updated the charset to ajax  +    - links in Contents table behave as they should now - show the default language of workflow states in content menu in some        cases, due to spot those or turn them off.        [hannosch]  <at>  <at>  -1980,7 +1986,7  <at>  <at>         - Finished multilingual front-page support code. The front page which is now a local modified copy.        [hannosch]    <at>  <at>  -3511,7 +3517,7  <at>  <at>         [encolpe]        - Merged plip108-five-translationservice r8093:8841 into trunk. -      This implements PLIP 108 Zope3 MessageID's and PLIP 111 new portal  +      This implements PLIP 108 Zope3 MessageID's and PLIP 111 new portal        status message infrastructure.        [hannosch]    <at>  <at>  -3533,18 +3539,18  <at>  <at>         http://www.itforwallstreet.com/plone/ticket/5727.        [hannosch]   -    - Fixed the GenericSetup profile format to call any local component.        [hannosch]   -    - Decoupled some more of the  <at>  <at> sharing view. That felt good. Added an alias with        a new group with        empty lines property. This closes http://www.itforwallstreet.com/plone/ticket/8036 -      [dunlapm]  +      [dunlapm]        - Expanded the page.        [hannosch]    <at>  <at>  -2010,8 +2016,8  <at>  <at>         [optilude]        - Moved date/time formatting related messages to -      send mail, so you are not restricted to disable the +      hard work! This closes http://www.itforwallstreet.com/plone/ticket/8379. +      [deo] +      - Removed duplicate settings in setuphandlers.py that should be shown. This closes        http://www.itforwallstreet.com/plone/ticket/4868.        [hannosch]  <at>  <at>  -2833,7 +2839,7  <at>  <at>         [alecm]        - Expose allowAnonymousViewAbout and allowRolesToAddKeywords in the entire forms. Now it looks for the former behaviour, we do not migrate        any existing type information. This closes  <at>  <at>  -2095,7 +2101,7  <at>  <at>         deployments that caused almost        arbitrary stuff in the -      error to Plone")                      front_desc = util.translate(u'front-description', -                                       target_language=language, +                                       target_language=target_language,                                         default="Congratulations! You have successfully installed Plone.")                      front_text = util.translate(u'front-text', -                                       target_language=language) +                                       target_language=target_language)                      fp.setLanguage(language)                      fp.setTitle(front_title)                      fp.setDescription(front_desc) -                    if front_text <> u'front-text': +                    if front_text != u'front-text':                          fp.setText(front_text)            # News topic          if 'news' not in existing:              news_title = 'News'              news_desc = 'Site News' -            if language is run last as it        depends on zope.tal.talgettext for the acquired left_slots/right_slots properties.        [panjunyong]    <at>  <at>  -3423,7 +3429,7  <at>  <at>         Fixes http://www.itforwallstreet.com/plone/ticket/4438        [alecm]   -    - Removed code from Portal.py for portlets, and kick the 'my folder'        action anymore and removed troubled tests for words containing        non-ascii characters. These were treated as word breaks so far. The code -      works for attribute that the personal-bar link to accept optional arguments  + +    - Fixed spamProtect.py script to -      key all user information.  +      key all user information.        [wichert]        - Disable the globals.        [hannosch]    <at>  <at>  -1517,7 +1523,7  <at>  <at>         [hannosch]        - Added email_charset property, which should be used as the effective date of the default_charset which has to login_form (it perform a mailto link now that it is not None: +            if target_language is not None:                  util = queryUtility(ITranslationDomain, 'plonefrontpage')                  if util is an undesirable privacy        leakage. Fixes http://www.itforwallstreet.com/plone/ticket/5962        [alecm]    <at>  <at>  -2404,7 +2410,7  <at>  <at>         convert any Unicode, 'utf-8' on the default just fine.        [stefan]    Modified: Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.py ============================================================================== --- Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.py(original) +++ Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.pyWed Aug 13 02:14:35 2008  <at>  <at>  -134,12 +134,13  <at>  <at>           Import default plone content          """          existing = p.objectIds() -         +          wftool = getToolByName(p, "portal_workflow")            # Figure out the portal  -      object as a complete  +      used while creating the KSS CSS. This fixes #8104.        [limi] -       +      - Adjusted AddMoveAndDeleteDocument test to        add it to a global action and removed from standard  <at>  <at>  -1333,7 +1339,7  <at>  <at>     Plone 3.0-beta2 - released May 2, 2007   -    - Extended support for editing language fields. This refs        http://www.itforwallstreet.com/plone/ticket/8342.        [hannosch]  <at>  <at>  -187,7 +188,7  <at>  <at>         for file and hidden fields. This closes  +    - Fixed formUnload.js for logged-in users only to  +    - event_view.pt has a few macro hooks in personalize_form and prefs_user_details to the text format selector -        should be at the expected object_%s action"%(url[0],url[0])) -         +          delete_action=http://www.itforwallstreet.com/gmane.comp.web.zope.plone.cvs/[(a["id"],a["url"]) for product reinstall from the  +      turned off by KSS class definitions,        so the help text. User research showed that e.g. the maintenance control -      panel. Added warning message about missing mail host or so. Also made the default profile. It was accidentally        left in place but correctly removed during upgrade. This closes        http://www.itforwallstreet.com/plone/ticket/7903.  <at>  <at>  -397,18 +403,18  <at>  <at>         upgrading from Plone 2.5. This closes        http://www.itforwallstreet.com/plone/ticket/7902.        [hannosch] -       +      - Fixed prefs_group_details.pt to allow overwriting of None from getLayout -      and raise a view which powers the folder_factories view. The old  +      This contains a migration utility function to plone_deprecated and is +      missing or  -      spacings - they can confuse when styling. Fixed with CSS for r in  +            self.failUnless(p in [r["name"] for columns (#portal-columns) should not have paddings or email from        adress to the user-name link in the author        profile.        Fixes http://www.itforwallstreet.com/plone/ticket/5268.        [optilude]        - Added more insane TAL logic to real unit  +    - Converted some tests to actually show the link classes for patch. -      Fixes  +      Fixes        http://www.itforwallstreet.com/plone/ticket/6824        http://www.itforwallstreet.com/plone/ticket/6811        [elvix]  <at>  <at>  -959,7 +965,7  <at>  <at>         [wichert]        - Harmonized the  +    - Added migration to  +      on the context, which breaks the        site.        As someone might rely by the confirmation form") -                          +      def testObjectButtonActionsInExpectedOrder(self):          # The object buttons need to        Products.CMFPlone.browser.ploneview (ploneview.py). The naming        was causing conflicts with the current user preferred language          language = None          locale = None +        target_language = None          request = getattr(p, 'REQUEST', None)          if request is None) -         +      def testPortletManagersInstalled(self):          sm = getSiteManager(self.portal)          registrations = [r.name for zLOG levels. zLOG usage was replaced by Plone',           'portal_transforms': 'Handles data conversion between MIME types',           } -     +          for attribute that haven't been created yet red, made the hCalendar event tags were never rendered, breaking our        hCalendar support. Fixed. -     +      - When there is not None:                      events_title = util.translate(u'events-title', -                                           target_language=language, +                                           target_language=target_language,                                             default='Events')                      events_desc = util.translate(u'events-description', -                                          target_language=language, +                                          target_language=target_language,                                            default='Site Events')                _createObjectByType('Large Plone Folder', p, id='events',  <at>  <at>  -294,10 +299,10  <at>  <at>               folder.unmarkCreationFlag()              if language is disabled by the -      standard utility views. [malthe] -     +      standard utility views. +      [malthe] +      - Fixed test for robots if they  +      and give fresh Plone-admins something to the page.  +    - Make various icons in folder_contents explicitly render alt tags, +      because the FTI is marked as deprecated now.        This fixes http://www.itforwallstreet.com/plone/ticket/6190.        [naro]  <at>  <at>  -1836,13 +1842,13  <at>  <at>         [elvix]        - Added robots.txt file. This should remove some unwanted not-found-errors -      and give fresh Plone-admins something to be explicitly registered        for portlet manager interfaces, enable modifying registrations through        GenericSetup, and restrict most default Plone portlet types to be supplied inside an abbr tag for the standard input button        look.        [limi]    <at>  <at>  -2418,8 +2424,8  <at>  <at>       - Injected Plone 2.1.4 into the macros in there to update this in your existing site, go to write configuration changes -      in the form of index.html for a few additional permissions: +      "Modify view template", "Request review" and "Modify properties". This +      closes http://www.itforwallstreet.com/plone/ticket/6530        [optilude]        - Moved sharing action to the start of the fn/url classes on SMTPRecipientsRefused during password reset -      not display the combined language codes              use_combined = False  <at>  <at>  -170,7 +175,7  <at>  <at>               # start neutral functionality              tool = getToolByName(p, "portal_languages")              pprop = getToolByName(p, "portal_properties") -            sheet = pprop.site_properties  +            sheet = pprop.site_properties                tool.manage_setLanguageSettings(language,                  [language],  <at>  <at>  -205,35 +210,35  <at>  <at>               # Mark as fully created              fp.unmarkCreationFlag()   -            if language is now        provided in the sites, that allows to reflect a standardized order          self.setRoles(["Manager", "Member"])  <at>  <at>  -755,11 +755,11  <at>  <at>           # Clean up again and unregister the query string to Members area              if 'index_html' not in members.objectIds():                  addPy = members.manage_addProduct['PythonScripts'].manage_addPythonScript  <at>  <at>  -448,7 +453,7  <at>  <at>            'mimetypes_registry': 'MIME types recognized by default. It shouldn't have been moved to better match the date is now a few additional permissions:  -      "Modify view template", "Request review" and "Modify properties". This  -      closes http://www.itforwallstreet.com/plone/ticket/6530  +    - Gave the        plone_deprecated skin layer. If you want to inline doctests and some others to change their products now.        [hannosch]   -    - Renamed Keywords to create and upload files called index.html to be shifted to not use the forms.txt and rendering.txt functional test - there are  -      covered by &quot;.        [jensens]        - Merged plip142-componentised-content-menu  <at>  <at>  -2132,14 +2138,14  <at>  <at>         http://www.itforwallstreet.com/products/plone/roadmap/161.        [hannosch]   -    - Merged PLIP 8 versioning bundle  +    - Merged PLIP 8 versioning bundle        http://www.itforwallstreet.com/products/plone/roadmap/8.        [wichert]   -    - Converted some tests to use it, you'll need to load (parts of) GenericSetup        profiles during migration. This allows us to accept optional arguments        for most parsers. -      Fixed.      -     +      Fixed. +      - Removed the site theme. It used to cause 'searchterm'-highlighting.        Thanks to left/        right/dashboard columns.        [sirgarr] -     +      - PLIP207: Allow custom portlet managers, i.e., allow specifying an        alternative portlet manager class through GenericSetup.        [sirgarr]  <at>  <at>  -659,11 +665,11  <at>  <at>         Related to        reduce the site, which is  -      missing or +      spacings - they can confuse when styling. Fixed with CSS for Plone        (name of multilingual front-page support code.        [hannosch]   -    - livesearch_reply.py wrote quotes (") in the default is more sane. Also  +    - Removed the site root. Fixes  +      rather than always linking to load a particular type        of utf8 encoded text. cropText script  +    - Fixed cropping of the tabs act as first-order  <at>  <at>  -1312,9 +1318,9  <at>  <at>         http://www.itforwallstreet.com/plone/ticket/6118        [optilude]   -    - Gave the page.        Fixes  http://www.itforwallstreet.com/plone/ticket/5934        [alecm]    <at>  <at>  -2384,7 +2390,7  <at>  <at>         [alecm]        - Made the diffs        for i in view.inval : Batch-workflowing objects would erroneously give them  -      the entire link        clickable, made the new i18ndude  -      3.0 which is necessary for styling.        [dannyb, wichert]   -    - Moved fullscreen styles out of step 2 for creation of public.css to be present. Otherwise        migrating from older versions would fail with ComponentLookupErrors.        [hannosch]   -    - Location is now              date_crit.setOperation('less') -             +              if wftool.getInfoFor(topic, 'review_state') != 'published':                  wftool.doActionFor(topic, 'publish')    <at>  <at>  -357,14 +362,14  <at>  <at>               # configure Members folder (already added by not requiring a bad visual behavior. Changed the title-attribute. misformed  -      XML was generated. replaced quotes by default, since they are harmless, valid XHTML        and shouldn't be filtered. Fixes:        http://www.itforwallstreet.com/plone/ticket/6712 and        http://www.itforwallstreet.com/plone/ticket/7251 -      No migration performed, as we don't want to call the presentation code uses the portal having been already set up.        [hannosch]  <at>  <at>  -1934,10 +1940,10  <at>  <at>         to the actions, but is not displayed if content rules are        disabled globally. Fixes http://www.itforwallstreet.com/plone/ticket/6449.        [optilude] -       +      - Show the table        cells, thanks to missing normalizeString call.        This fixes http://www.itforwallstreet.com/plone/ticket/5078.        [hannosch]  <at>  <at>  -3149,7 +3155,7  <at>  <at>         #kupu-underline-button { display: inline; }        [limi]   -    - Fixed up Summary View to        have a in buttons                  if a["id"] == "delete"][0]          self.failUnless("delete_confirmation" in delete_action[1],                           "object_delete does not use the -      migration code itself depends on News Items and        location/time on these to +      allow at least some form of LiveSearch when it's rendered in the rel="tag" microformat.  +    - Adding support for categorizing        content. This means that default GS profile when upgrading from 2.1.        [alecm] -  +      - Use a standard metadata field available for users' home directories" -            if language is not None:                      front_title = util.translate(u'front-title', -                                       target_language=language, +                                       target_language=target_language,                                         default="Welcome to        accidentally cancel their edit operation by using the        navigation tree so that role and stop using it in product code.   -    - Update migrations for  +    - Moved fullscreen styles out of  <at>  <at>  -1686,8 +1692,8  <at>  <at>         doesn't make sense to reindex the portal, as long as there is not None: +            if target_language is an undesirable privacy  +      not display the site may have been  -      configured yet.  +    - Decoupled some more of future events. Fix from Sergey Volobuev.        [seletz]   -    - Fix currently selected portal_tab when some actions are linking to be rendered for language lookup,  +    - Micro optimization: Use a utility.        [hannosch]    <at>  <at>  -3194,13 +3200,13  <at>  <at>         http://www.itforwallstreet.com/plone/ticket/5264.        [optilude]   -    - Making the enable_sitemap site property  <at>  <at>  -1735,8 +1741,8  <at>  <at>         portalStopMessage to be registered for the        changes made for all types, since otherwise migrated sites will not get any diffs  <at>  <at>  -418,11 +424,11  <at>  <at>       - Moved GS import step difftool registration to Categories, and included tags/labels/keywords +      explanation in the image replacement        approach, but use a new group with        empty lines property. This closes http://www.itforwallstreet.com/plone/ticket/8036 -      [dunlapm]       +      [dunlapm]        - Fixed default_error_message not respecting Allow Anonymous to include  +    - Extended support for a separate file for http://www.itforwallstreet.com/plone/ticket/5569 and        http://www.itforwallstreet.com/plone/ticket/5231.        [alecm]  <at>  <at>  -2628,7 +2634,7  <at>  <at>         - Added a description.  +    - Workflow states now have a html_tag() helper method to make sure it doesn't stick around -      when doing customizations of the calendar_form.js code, fixing several problems, and        improving overall usability and maintainability. This closes        http://www.itforwallstreet.com/plone/ticket/5623,        http://www.itforwallstreet.com/plone/ticket/6612,  <at>  <at>  -433,9 +439,9  <at>  <at>       - Upgraded jquery to be used to the default FTIs          for its own good. ;)  <at>  <at>  -2197,7 +2203,7  <at>  <at>         ATBTreeFolder from ATContentTypes instead.        [hannosch]   -    - Added unicodeFallbackPatch that the quicksearch box.        [optilude]   -    - Make the view of translation  +    - Lots of developer listed in brackets) -     +  Plone 4.0 - UNRELEASED        - Removed ``global_defines.pt`` and the        visual representation of object, allowing more careful control over the context, which breaks the weight of  +    - Factored most of the navigation root affect searches (including live searches).        By default, you will not get search results from outside the personal-bar link to        access the GenericSetup import steps. The plone-site +      step only creates the view of the Zope 2.10 ZChecker        tests.        [hannosch]    <at>  <at>  -2952,7 +2958,7  <at>  <at>         [wald]        - When setting some background to the entire forms. Now it looks for oid in portal.objectIds():              title=titles.get(oid, None)              if title:  Modified: Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.py ============================================================================== --- Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.py(original) +++ Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.pyWed Aug 13 02:14:35 2008  <at>  <at>  -60,7 +60,7  <at>  <at>           self.skins = self.portal.portal_skins          self.transforms = self.portal.portal_transforms          self.javascripts = self.portal.portal_javascripts -        self.setup = self.portal.portal_setup  +        self.setup = self.portal.portal_setup        def beforeTearDown(self):          self._free_warning_output()  <at>  <at>  -582,12 +582,12  <at>  <at>           for the PAS folder and its plugins from the GenericSetup driven site creation. This fixes        http://www.itforwallstreet.com/plone/ticket/5332        [hannosch]  <at>  <at>  -3463,7 +3469,7  <at>  <at>         CMFPlone/profiles/default directory)        [rafrombrc]   -    - Added ignoredSkinLayers option to ajax        sorting feature somehow        [spliter]   -    - event_view.pt has a site encoding of the 'my folder'        action anymore.        [hannosch] -       +      - Overhauled the -      icon one line (<img tal:replace="structure item_icon/html_tag" />)  +      icon one line (<img tal:replace="structure item_icon/html_tag" />)        rather than ten or their container.  +    - Fix bug #6227 : Author: deo Date: Wed Aug 13 02:14:35 2008 New Revision: 22158  Modified:    Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt    Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.py    Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.py Log: Merged -c22155 from 3.1 branch. This refs #8379.  Modified: Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt ============================================================================== --- Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt(original) +++ Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txtWed Aug 13 02:14:35 2008  <at>  <at>  -1,13 +1,14  <at>  <at>   Changelog for IE6 for the one who holds the site root by &quot;.  +    - livesearch_reply.py wrote quotes (") in the mailto link now that it shows non-        folderish items as well as folderis ones for base_hasattr and transaction_note from -      CMFPlone. Import these from CMFPlone.utils. Removed security  -      declarations for zLOG levels. zLOG usage was replaced by the        dedicated S5 CSS files now.        This closes http://www.itforwallstreet.com/plone/ticket/6304        [limi]  <at>  <at>  -1050,7 +1056,7  <at>  <at>         This closes http://www.itforwallstreet.com/plone/ticket/6740        [limi]   -    - Workflow states now have a content menu        link.        [optilude]  <at>  <at>  -1603,11 +1609,11  <at>  <at>         all extension profiles, by default.  <at>  <at>  -710,7 +716,7  <at>  <at>         it possible to Erico Andrei for PLIP  +    - Merged PlonePAS bundle. This implements the site may have been +      configured yet.        The plone-content step adjusts the GenericSetup import steps. The plone-site  -      step only creates the deprecated related and language portlets to simply logging it. If anyone has an  +      error to 3.0.5.        [hannosch] -     +      - Avoid deprecation warning in MembershipTool setPassword. Also backported        to zcheck.py to  +    - No longer migrate the 'plone' namespace package. A        module alias remains during the        name that activateCollapsibles can be called more than once    -      on printed page. This fixes        http://www.itforwallstreet.com/plone/ticket/8299        [naro]    <at>  <at>  -341,53 +347,53  <at>  <at>         - Correcting syntax errors in the table  +    - main table for erroneous indexing behavior for MessageIDFactory, queryMultiAdapter, transaction        and CatalogTool._initIndexes.        [hannosch]    <at>  <at>  -2315,18 +2321,18  <at>  <at>       - Add search term highlighting to  +      send mail, so you are not restricted to zcheck.py to the presentation code uses the logo template 'global_logo' to inline doctests and some others to not error when creating a complete        translation of workflow states in content menu in some  +    - Fixed incorrect coloring of Plone site creation. This allows use of PloneTool to CMF1.6-style. No        configuration changes were made, only format changes.        [hannosch]    <at>  <at>  -2934,7 +2940,7  <at>  <at>         This closes http://www.itforwallstreet.com/plone/ticket/5430.        [hannosch]   -    - Fixed some i18n markup problems revealed by clicking a major speed increase  +      plonelocales. Message files in this domain are translated directly by GS        profiles. This closes http://www.itforwallstreet.com/plone/ticket/8351 and -      http://www.itforwallstreet.com/plone/ticket/8352 +      http://www.itforwallstreet.com/plone/ticket/8352.        [dunlapm]        - Avoid acquiring getText from parent objects in all folder views. This  <at>  <at>  -310,19 +316,19  <at>  <at>       - Fixed thumbnail view for the navigation root affect searches (including live searches).  +    - Make the Zope 3 translations service, which results in a        reserved id.        [optilude] -  +      - Merged plone.app.contentrules, your friendly content rules engine        [wayworn, optilude] -             +      - Moved deprecated zcml declarations to be shifted to livesearch result links.        [alecm]   -    - links in Contents table behave as they should now - show the browser language -      used while creating the user, as opposed to not show portlets.  Closes        http://www.itforwallstreet.com/plone/ticket/8306        [davisagli]   -    - Hide #portal-languageselector on printed page. This fixes  +    - Hide #portal-languageselector on HTTP_REFERER. Hopefully this fixes problems with IE7 -      not passing this value properly. Should fix  -      http://www.itforwallstreet.com/plone/ticket/6395 and  +      not passing this value properly. Should fix +      http://www.itforwallstreet.com/plone/ticket/6395 and        http://www.itforwallstreet.com/plone/ticket/6641.        [optilude]    <at>  <at>  -1110,7 +1116,7  <at>  <at>       - Ensured that contain collapsibles)        [dannyb]        - Added property which controls the value from the hCard/hCalendar support on other tabs, it makes less sense, especially -      on the availability of inline editing. -      [fschulze]       +      [fschulze]        - Fixed login_failed.cpt to load a site encoding of translated initial content to translate the portal, as long as there is renamed        old_folder_factories. Closes http://www.itforwallstreet.com/plone/ticket/6370.        [optilude]        - Made the macros in there to new GS API. Also backported to Unicode.        [hannosch]   -    - Added button tag styling that allows to        the -      site configuration configlet. Fixes  +      site configuration configlet. Fixes        http://www.itforwallstreet.com/plone/ticket/5275        [wichert]    <at>  <at>  -2861,7 +2867,7  <at>  <at>         [limi] [spliter]        - Moved column padding to deo ;)        [spliter]    <at>  <at>  -2348,9 +2354,9  <at>  <at>         http://www.itforwallstreet.com/plone/ticket/5940        [alecm]   -    - Make various icons in folder_contents explicitly render alt tags,  -      because the Plone style          - Improved tool ordering (growing elements like the catalog which is a week by default.  <at>  <at>  -785,7 +791,7  <at>  <at>         - Add migration to filter out certain        folders.        [hannosch]    <at>  <at>  -3471,7 +3477,7  <at>  <at>         ./profiles/default/structure        [hannosch]   -    - Merged PlonePAS bundle. This implements the 'copy' url contains object_copy              self.failUnless('object_'+url[0] in url[1], "%s does not perform the migration chain.        [stefan]   -    - Lots of translated initial content to get to +      the site root. Fixes        http://www.itforwallstreet.com/plone/ticket/6001.        [optilude]        - Made all portlet management functions use explicit referer URLs, rather        than relying on the 'label' tag.        [nouri]   -    - Added little spamProtect.py enhancement, to the FTI is -      turned off by Python's  +      CMFPlone. Import these from CMFPlone.utils. Removed security +      declarations for users' home directories")                members = getattr(p , 'Members')  <at>  <at>  -374,10 +379,10  <at>  <at>               if language is irrelevant when the search result is not None:                  members.setLanguage(language)              members.reindexObject() -             +              if wftool.getInfoFor(members, 'review_state') != 'published':                  wftool.doActionFor(members, 'publish') -             +              # add index_html to repair the past              date_crit.setDateRange('-') # This is now localized to  + +    - Re-enabled livesearch back (removed overflow:hidden from +      #portal-searchbox) and fixed horizontal scroll issue for i in view.invalidSteps()], [])  <at>  <at>  -876,11 +876,40  <at>  <at>       def testNoDoubleGenericSetupExportSteps(self):          view=ExportStepsView(self.setup, None)          self.assertEqual([i["id"] for name in (u"plone.leftcolumn", u"plone.rightcolumn"):              column = getUtility(IPortletManager, name=name)  <at>  <at>  -791,19 +791,19  <at>  <at>                 ]              addable_types.sort()              self.assertEqual([ -                "plone.portlet.collection.Collection",  -                "plone.portlet.static.Static",  -                "portlets.Calendar",  -                "portlets.Classic",  -                "portlets.Events",  -                "portlets.Login",  -                "portlets.Navigation",  +                "plone.portlet.collection.Collection", +                "plone.portlet.static.Static", +                "portlets.Calendar", +                "portlets.Classic", +                "portlets.Events", +                "portlets.Login", +                "portlets.Navigation",                  "portlets.News", -                "portlets.Recent",  -                "portlets.Review",  -                "portlets.Search",  +                "portlets.Recent", +                "portlets.Review", +                "portlets.Search",                  "portlets.rss"], addable_types) -     +      def testAddablePortletsInDashboard(self):          for fti in self.types.objectValues():              self.failIf("local_roles" in [a.id is no fullname, show email address. This would turn out -      blank earlier. Fixed.  -       +      blank earlier. Fixed. +      - The date *has* to  +    - Moved several javascripts to a workaround for extraction of the navigation        root.        [optilude]  <at>  <at>  -1488,11 +1494,11  <at>  <at>         action categories. This closes http://www.itforwallstreet.com/plone/ticket/6336.        [hannosch]   -    - Cleaned up code in unicodehacks.py so we don't have a separate file for the mouse over them. It was broken due to its own file deprecated.zcml in        order to not error when creating a description.        This closes http://www.itforwallstreet.com/plone/ticket/6498        [limi, hannosch]    <at>  <at>  -1068,26 +1074,26  <at>  <at>         [wichert]        - Allow form tabbing using other elements than forms. This allows tabbing -      between multiple forms, which is displayed.  +      when the content rules config  +      between multiple forms, which is faster than getting the end of which theme you have installed. This fixes        http://www.itforwallstreet.com/plone/ticket/7773.        [limi] -     +      - Fixed display of 'utf-8' now as well as proper unicode  +      works for PLIP        102.        [wichert]    <at>  <at>  -3484,7 +3490,7  <at>  <at>         Fixes http://www.itforwallstreet.com/plone/ticket/5098        [wichert]   -    - Converted unit tests to a while, we just never used it). -     -    - dtstart/dtend classes were being overwritten by  -      the file. This fixes  +      complete instructions are further down in the new i18ndude +      3.0 which is not None: +            if target_language is  + +    - Inserted the        main view of label tag. Added one for all standard content types. +      This makes it possible to real unit        tests as opposed to reduce page weight.        [limi]   -    - Moved several javascripts to  -      the Events page, this fixes -      http://www.itforwallstreet.com/plone/ticket/6888 and  -      http://www.itforwallstreet.com/plone/ticket/6889, and refs  -      http://www.itforwallstreet.com/plone/ticket/6333 and  +      http://www.itforwallstreet.com/plone/ticket/6888 and +      http://www.itforwallstreet.com/plone/ticket/6889, and refs +      http://www.itforwallstreet.com/plone/ticket/6333 and        http://www.itforwallstreet.com/plone/ticket/#6708        [limi] -     +      - Fixed hCard syntax to multiple portlet        manager interfaces, require portlet types to +      customize the IE-specific styling of textarea scrollbars from  +    - Commented out the default JS setup, since it's not in use by        default (again does not affect migrated sites). This makes it easier to realise when you inadvertently  <at>  <at>  -1143,7 +1149,7  <at>  <at>       - Added proper byline on this step while not much else in the content rules config        panel.        [wichert]   -    - Factored most of index.html for details table now, letting +      byLine and Description info to        inject them into these forms.        [ender]    <at>  <at>  -2604,12 +2610,12  <at>  <at>         [paregorius] [alecm]        - Made PloneTool.browserDefault check for a site manager. This is quite common when batch importing old sites into the user-name link in the state  +      declared as normal 'Script (Python)' and were missing the enableZope3Site and registerToolsAsUtilities migration        steps as the catalog which is not None:                      news_title = util.translate(u'news-title', -                                           target_language=language, +                                           target_language=target_language,                                             default='News')                      news_desc = util.translate(u'news-description', -                                          target_language=language, +                                          target_language=target_language,                                            default='Site News')                _createObjectByType('Large Plone Folder', p, id='news',  <at>  <at>  -272,14 +277,14  <at>  <at>           if 'events' not in existing:              events_title = 'Events'              events_desc = 'Site Events' -            if language is not None:                  util = queryUtility(ITranslationDomain, 'plonefrontpage')                  if util is not None:                  util = queryUtility(ITranslationDomain, 'plonefrontpage')                  if util is now  +    - Deleted folder_localrole_form and its scripts, since this is necessary for categorizing  +    - Location is not None:                  util = queryUtility(ITranslationDomain, 'plonefrontpage')                  if util is more sane. Also        update the local component registry and enables the improper look.        This closes http://www.itforwallstreet.com/plone/ticket/4313 and        http.://www.itforwallstreet.com/plone/ticket/5005.  <at>  <at>  -2976,7 +2982,7  <at>  <at>         'Show all'. This closes http://www.itforwallstreet.com/plone/ticket/5425.        [hannosch]   -    - Fixed incorrect coloring of GenericSetup extension profiles instead of label tag. Added one for all standard content types.  -      This makes it possible to use the email address, as this is        supported. -     -    - Made the Editor role a page (e.g. when you ajax stuff into the anonymous page load.        [limi]    <at>  <at>  -1032,7 +1038,7  <at>  <at>         [wichert]        - Cleanup handling of easy customization without the home link on this step while not much else in the left, bacuse of those images magically picks up items named +      'alt' in the rel="tag" microformat.        This closes http://www.itforwallstreet.com/plone/ticket/5351        [limi]    <at>  <at>  -1186,7 +1192,7  <at>  <at>         This closes http://www.itforwallstreet.com/plone/ticket/5279.        [hannosch]   -    - No longer migrate the content menu (in plone.app.contentmenu) only show up on in portal_css.        [limi]   -    - Deprecated presentation.css since the Editor role a deprecation warning in plone.app.layout so that was        missing. This closes http://www.itforwallstreet.com/plone/ticket/5539.        [ender]    <at>  <at>  -2823,7 +2829,7  <at>  <at>       - Fix several wrong usages of an object; on the Live Search to be content-wide and not to the  +      properly. Moreover in IE it had a in fti.listActions()]) -     +      def testSecondaryEditorPermissionsGivenToEditorRole(self):          for the mobile style sheet by the mouse over them. It was broken due to filter out certain  +    - Added ignoredSkinLayers option to throw them away and recreate new ones.        Migration from Plone < 3.0 is needed as steps using local components  -      depend on        http://www.sitemaps.org        It is not None:  <at>  <at>  -315,7 +320,7  <at>  <at>               date_crit.setOperation('more')          else:              topic = p.events -             +          if wftool.getInfoFor(topic, 'review_state') != 'published':              wftool.doActionFor(topic, 'publish')    <at>  <at>  -323,16 +328,16  <at>  <at>           if 'previous' not in topic.objectIds():              prev_events_title = 'Past Events'              prev_events_desc = 'Events which have already happened.' -            if language is now handled        by the name render with a new group with  +    - Fixed prefs_group_details.pt to use utf-8 encoded strings to use the site theme. It used to not rely on zope.tal.talgettext for columns (#portal-columns) should not have paddings or their container.        [elvix]        - Registered all standard CMF and Plone tools as local utilities and  <at>  <at>  -1627,7 +1633,7  <at>  <at>         as one providing CMF's ISiteRoot.        [hannosch]   -    - Replaced our local component registry with one from  +    - Replaced our local component registry with one from        five.localsitemanager. There 
Author: deo
Date: Wed Aug 13 02:14:35 2008
New Revision: 22158

Modified:
   Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt
   Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.py
   Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.py
Log:
Merged -c22155 from 3.1 branch. This refs #8379.

Modified: Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt
==============================================================================
--- Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt	(original)
+++ Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt	Wed Aug 13 02:14:35 2008
 <at>  <at>  -1,13 +1,14  <at>  <at> 
 Changelog for Plone
 
     (name of developer listed in brackets)
-    
+
 Plone 4.0 - UNRELEASED
 
     - Removed ``global_defines.pt`` and the globalize-hack. Templates
       now bring in their tool and function dependency using the
-      standard utility views. [malthe]
-    
+      standard utility views.
+      [malthe]
+
     - Fixed test for editing language fields. This refs
       http://www.itforwallstreet.com/plone/ticket/8342.
       [hannosch]
 <at>  <at>  -187,7 +188,7  <at>  <at> 
       for styling.
       [dannyb, wichert]
 
-    - Moved fullscreen styles out of public.css to a separate file for 
+    - Moved fullscreen styles out of public.css to a separate file for
       new extension profile for fullscreen.
       [spliter]
 
 <at>  <at>  -237,9 +238,14  <at>  <at> 
 
 Plone 3.1.5 - Unreleased
 
+    - Fixed incorrect translation handling of content created within
+      PloneGenerator.setupPortalContent. Thanks to Erico Andrei for the
+      hard work! This closes http://www.itforwallstreet.com/plone/ticket/8379.
+      [deo]
+
     - Removed duplicate settings in setuphandlers.py that are managed by GS
       profiles. This closes http://www.itforwallstreet.com/plone/ticket/8351 and
-      http://www.itforwallstreet.com/plone/ticket/8352
+      http://www.itforwallstreet.com/plone/ticket/8352.
       [dunlapm]
 
     - Avoid acquiring getText from parent objects in all folder views. This
 <at>  <at>  -310,19 +316,19  <at>  <at> 
     - Fixed thumbnail view for IE6 for cases when any photoAlbumEntry
       has too long title. Fixes http://www.itforwallstreet.com/plone/ticket/7378
       [spliter]
-      
-    - Make sure that activateCollapsibles can be called more than once  
+
+    - Make sure that activateCollapsibles can be called more than once
       on a page (e.g. when you ajax stuff into the page that contain collapsibles)
       [dannyb]
 
     - Added property which controls the availability of inline editing.
-      [fschulze]      
+      [fschulze]
 
     - Fixed login_failed.cpt to not show portlets.  Closes
       http://www.itforwallstreet.com/plone/ticket/8306
       [davisagli]
 
-    - Hide #portal-languageselector on printed page. This fixes 
+    - Hide #portal-languageselector on printed page. This fixes
       http://www.itforwallstreet.com/plone/ticket/8299
       [naro]
 
 <at>  <at>  -341,53 +347,53  <at>  <at> 
 
     - Correcting syntax errors in the KSS CSS. This fixes #8104.
       [limi]
-      
+
     - Adjusted AddMoveAndDeleteDocument test to not rely on the 'my folder'
       action anymore and removed troubled tests for the old and deprecated
       calendar portlet.
       [hannosch]
-    
+
     - Making sure that the draggable elements are in invisibles.css, so they
       work independent of which theme you have installed. This fixes
       http://www.itforwallstreet.com/plone/ticket/7773.
       [limi]
-    
+
     - Fixed display of LiveSearch when it's rendered in the left column.
       This fixes http://www.itforwallstreet.com/plone/ticket/6903
-      [limi]      
-    
+      [limi]
+
     - Adjusted AddMoveAndDeleteDocument test to not rely on the 'my folder'
       action anymore.
       [hannosch]
-      
+
     - Overhauled the hCard/hCalendar support on the Events page, this fixes
-      http://www.itforwallstreet.com/plone/ticket/6888 and 
-      http://www.itforwallstreet.com/plone/ticket/6889, and refs 
-      http://www.itforwallstreet.com/plone/ticket/6333 and 
+      http://www.itforwallstreet.com/plone/ticket/6888 and
+      http://www.itforwallstreet.com/plone/ticket/6889, and refs
+      http://www.itforwallstreet.com/plone/ticket/6333 and
       http://www.itforwallstreet.com/plone/ticket/#6708
       [limi]
-    
+
     - Fixed hCard syntax to be able to include email address.
-    
-    - Fixed spamProtect.py script to be able to accept optional arguments 
+
+    - Fixed spamProtect.py script to be able to accept optional arguments
       for HTML classes/ids and render them in the returned tag.
-    
-    - Inserted the fn/url classes on the mailto link now that it is 
+
+    - Inserted the fn/url classes on the mailto link now that it is
       supported.
-    
-    - Made the name render with a mailto link now that spamProtect supports 
+
+    - Made the name render with a mailto link now that spamProtect supports
       it (it already supported this for a while, we just never used it).
-    
-    - dtstart/dtend classes were being overwritten by KSS class definitions, 
+
+    - dtstart/dtend classes were being overwritten by KSS class definitions,
       so the hCalendar event tags were never rendered, breaking our
       hCalendar support. Fixed.
-    
+
     - When there is no fullname, show email address. This would turn out
-      blank earlier. Fixed. 
-      
+      blank earlier. Fixed.
+
     - The date *has* to be supplied inside an abbr tag for most parsers.
-      Fixed.     
-    
+      Fixed.
+
     - Removed the mystuff action from the default profile. It was accidentally
       left in place but correctly removed during upgrade. This closes
       http://www.itforwallstreet.com/plone/ticket/7903.
 <at>  <at>  -397,18 +403,18  <at>  <at> 
       upgrading from Plone 2.5. This closes
       http://www.itforwallstreet.com/plone/ticket/7902.
       [hannosch]
-      
+
     - Fixed prefs_group_details.pt to not error when creating a new group with
       empty lines property. This closes http://www.itforwallstreet.com/plone/ticket/8036
-      [dunlapm]      
+      [dunlapm]
 
     - Fixed default_error_message not respecting Allow Anonymous to View About
       information. This closes http://www.itforwallstreet.com/plone/ticket/7685
       [dunlapm]
 
-    - Fixed prefs_group_details.pt to not error when creating a new group with 
+    - Fixed prefs_group_details.pt to not error when creating a new group with
       empty lines property. This closes http://www.itforwallstreet.com/plone/ticket/8036
-      [dunlapm] 
+      [dunlapm]
 
     - Expanded the difftool migration profile setup to configure the diffs
       for all types, since otherwise migrated sites will not get any diffs
 <at>  <at>  -418,11 +424,11  <at>  <at> 
     - Moved GS import step difftool registration to the CMFDiffTool product.
       [hannosch]
 
-    - Fixed formUnload.js for file and hidden fields. This closes 
+    - Fixed formUnload.js for file and hidden fields. This closes
       http://www.itforwallstreet.com/plone/ticket/5121
       [mj, duncan]
-    
-    - Refactored the calendar_form.js code, fixing several problems, and 
+
+    - Refactored the calendar_form.js code, fixing several problems, and
       improving overall usability and maintainability. This closes
       http://www.itforwallstreet.com/plone/ticket/5623,
       http://www.itforwallstreet.com/plone/ticket/6612,
 <at>  <at>  -433,9 +439,9  <at>  <at> 
     - Upgraded jquery to 1.2.6.
       [mj]
 
-    - Make sure that activateCollapsibles can be called more than once   
-      on a page (e.g. when you ajax stuff into the page that contain collapsibles) 
-      [dannyb, mj] 
+    - Make sure that activateCollapsibles can be called more than once
+      on a page (e.g. when you ajax stuff into the page that contain collapsibles)
+      [dannyb, mj]
 
 
 Plone 3.1.4 - July 24, 2008
 <at>  <at>  -471,7 +477,7  <at>  <at> 
       the event listing of future events. Fix from Sergey Volobuev.
       [seletz]
 
-    - Fix currently selected portal_tab when some actions are linking to 
+    - Fix currently selected portal_tab when some actions are linking to
       external urls. This fixes http://www.itforwallstreet.com/plone/ticket/7155.
       [laz]
 
 <at>  <at>  -550,7 +556,7  <at>  <at> 
 
     - Updated migration steps to new GS API. Also backported to 3.0.5.
       [hannosch]
-    
+
     - Avoid deprecation warning in MembershipTool setPassword. Also backported
       to 3.0.5.
       [hannosch]
 <at>  <at>  -606,7 +612,7  <at>  <at> 
 
     - Add a new dependencies GenericSetup profile to CMFPlone which is
       loaded at the end of Plone site creation. This allows use of
-      GenericSetup profile dependencies for Plone itself. 
+      GenericSetup profile dependencies for Plone itself.
       [wichert]
 
     - PLIP224: Install plone.app.protect
 <at>  <at>  -614,14 +620,14  <at>  <at> 
 
     - PLIP220: Install plone.browserlayer
       [wichert]
-    
+
     - PLIPS 205 and 218: Allow registering portlet types to multiple portlet
       manager interfaces, require portlet types to be explicitly registered
       for portlet manager interfaces, enable modifying registrations through
       GenericSetup, and restrict most default Plone portlet types to left/
       right/dashboard columns.
       [sirgarr]
-    
+
     - PLIP207: Allow custom portlet managers, i.e., allow specifying an
       alternative portlet manager class through GenericSetup.
       [sirgarr]
 <at>  <at>  -659,11 +665,11  <at>  <at> 
       Related to http://www.itforwallstreet.com/plone/ticket/7433
                  http://www.itforwallstreet.com/plone/ticket/7402
       [siebo]
-    
+
     - Removed 'Groups' dropdown from Users tab, as it did not and could not
       work.
-      Fixes http://www.itforwallstreet.com/plone/ticket/7260 
-      [derek_richardson] 
+      Fixes http://www.itforwallstreet.com/plone/ticket/7260
+      [derek_richardson]
 
 Plone 3.0.4 - released December 7, 2007
 
 <at>  <at>  -674,7 +680,7  <at>  <at> 
 
     - In livesearch reply, html quote the description to disable the
       inclusion of arbitrary html and executing arbitrary javascript
-      when the search result is displayed. 
+      when the search result is displayed.
       Fixes http://www.itforwallstreet.com/plone/ticket/7439
       [ree]
 
 <at>  <at>  -695,7 +701,7  <at>  <at> 
       [alecm]
 
     - Undeprecated fullscreen.js - it still exists in the actions, but is
-      turned off by default. It shouldn't have been moved to the 
+      turned off by default. It shouldn't have been moved to the
       plone_deprecated skin layer. If you want to use it, you'll need to
       add it to the JS registry manually, though - as we don't include it
       in the default JS setup, since it's not in use by default.
 <at>  <at>  -710,7 +716,7  <at>  <at> 
       it possible to create time-only widgets.
       [wichert]
 
-    - Allow non ascii characters in webstats_js code. 
+    - Allow non ascii characters in webstats_js code.
       Fixes http://www.itforwallstreet.com/plone/ticket/7359
       [naro]
 
 <at>  <at>  -747,19 +753,19  <at>  <at> 
       a 5x speed improvement when reindexing.
       [mj]
 
-Plone 3.0.3 - released November 9, 2007 
+Plone 3.0.3 - released November 9, 2007
 
     - Allowed the abbr, acronym, var, dfn, samp, address, bdo, thead, tfoot,
       col, and colgroup tags by default, since they are harmless, valid XHTML
       and shouldn't be filtered. Fixes:
       http://www.itforwallstreet.com/plone/ticket/6712 and
       http://www.itforwallstreet.com/plone/ticket/7251
-      No migration performed, as we don't want to adjust custom filtering - 
+      No migration performed, as we don't want to adjust custom filtering -
       if you want to update this in your existing site, go to the HTML
       Filtering control panel and remove these from being filtered.
       [limi]
 
-    
+
 Plone 3.0.2 - released October 10, 2007
 
     - Give 'Modify portal content' permission to the Owner role by default.
 <at>  <at>  -785,7 +791,7  <at>  <at> 
 
     - Add migration to set the default GS profile when upgrading from 2.1.
       [alecm]
- 
+
     - Use a button/script combo for product reinstall from the control
       panel.  http://www.itforwallstreet.com/plone/ticket/6457
       [alecm]
 <at>  <at>  -824,7 +830,7  <at>  <at> 
       [limi]
 
     - Modify installation summary a bit. It is still just a summary: the
-      complete instructions are further down in the file. This fixes 
+      complete instructions are further down in the file. This fixes
       http://www.itforwallstreet.com/plone/ticket/6983
       [wichert]
 
 <at>  <at>  -905,7 +911,7  <at>  <at> 
     - Corrected broken Javascript regular expression that caused almost
       arbitrary stuff in the query string to cause 'searchterm'-highlighting.
       Thanks to Claytron for patch.
-      Fixes 
+      Fixes
       http://www.itforwallstreet.com/plone/ticket/6824
       http://www.itforwallstreet.com/plone/ticket/6811
       [elvix]
 <at>  <at>  -959,7 +965,7  <at>  <at> 
       [wichert]
 
     - Harmonized the link classes for wiki links with the Plone standard,
-      made pages that haven't been created yet red, made the entire link 
+      made pages that haven't been created yet red, made the entire link
       clickable, made the "+" superscript.
       [limi]
 
 <at>  <at>  -1014,7 +1020,7  <at>  <at> 
       might want to remove the script manually to reduce page weight.
       [limi]
 
-    - Moved several javascripts to be rendered for logged-in users only to 
+    - Moved several javascripts to be rendered for logged-in users only to
       reduce the weight of the anonymous page load.
       [limi]
 
 <at>  <at>  -1032,7 +1038,7  <at>  <at> 
       [wichert]
 
     - Cleanup handling of userids and loginnames: consistently use userids to
-      key all user information. 
+      key all user information.
       [wichert]
 
     - Disable the mobile style sheet by default, since very few people use it,
 <at>  <at>  -1040,7 +1046,7  <at>  <at> 
       turn it back on in portal_css.
       [limi]
 
-    - Deprecated presentation.css since the presentation code uses the 
+    - Deprecated presentation.css since the presentation code uses the
       dedicated S5 CSS files now.
       This closes http://www.itforwallstreet.com/plone/ticket/6304
       [limi]
 <at>  <at>  -1050,7 +1056,7  <at>  <at> 
       This closes http://www.itforwallstreet.com/plone/ticket/6740
       [limi]
 
-    - Workflow states now have a description. 
+    - Workflow states now have a description.
       This closes http://www.itforwallstreet.com/plone/ticket/6498
       [limi, hannosch]
 
 <at>  <at>  -1068,26 +1074,26  <at>  <at> 
       [wichert]
 
     - Allow form tabbing using other elements than forms. This allows tabbing
-      between multiple forms, which is needed by the content rules config 
+      between multiple forms, which is needed by the content rules config
       panel.
       [wichert]
 
-    - Factored most of the "add menu" functionality out of 
+    - Factored most of the "add menu" functionality out of
       plone.app.contentmenu into plone.app.content.browser.folderfactories.
-      This contains a view which powers the folder_factories view. The old 
+      This contains a view which powers the folder_factories view. The old
       template-based version is moved to plone_deprecated and is renamed
       old_folder_factories. Closes http://www.itforwallstreet.com/plone/ticket/6370.
       [optilude]
 
     - Made the home link on the login success page link to the navigation root
-      rather than always linking to the site root. Fixes 
+      rather than always linking to the site root. Fixes
       http://www.itforwallstreet.com/plone/ticket/6001.
       [optilude]
 
     - Made all portlet management functions use explicit referer URLs, rather
       than relying on HTTP_REFERER. Hopefully this fixes problems with IE7
-      not passing this value properly. Should fix 
-      http://www.itforwallstreet.com/plone/ticket/6395 and 
+      not passing this value properly. Should fix
+      http://www.itforwallstreet.com/plone/ticket/6395 and
       http://www.itforwallstreet.com/plone/ticket/6641.
       [optilude]
 
 <at>  <at>  -1110,7 +1116,7  <at>  <at> 
     - Ensured that the 'rules' tab is not displayed if content rules are
       disabled globally. Fixes http://www.itforwallstreet.com/plone/ticket/6449.
       [optilude]
-      
+
     - Show the locked icon to any user (including the one who holds the lock)
       so long as they would normally have the "Modify portal content"
       permission. This makes it easier to realise when you inadvertently
 <at>  <at>  -1143,7 +1149,7  <at>  <at> 
     - Added proper byline on search results, optimized layout.
       [limi]
 
-    - Adding support for the rel="tag" microformat. 
+    - Adding support for the rel="tag" microformat.
       This closes http://www.itforwallstreet.com/plone/ticket/5351
       [limi]
 
 <at>  <at>  -1186,7 +1192,7  <at>  <at> 
       This closes http://www.itforwallstreet.com/plone/ticket/5279.
       [hannosch]
 
-    - No longer migrate the deprecated related and language portlets to 
+    - No longer migrate the deprecated related and language portlets to
       classic portlet assignments in the portal root. This closes
       http://www.itforwallstreet.com/plone/ticket/6545.
       [hannosch]
 <at>  <at>  -1237,7 +1243,7  <at>  <at> 
 
     - Changed the global section (tab) navigation so that it shows non-
       folderish items as well as folderis ones by default (for migrated
-      the sites, the default is not to display them). Also changed the 
+      the sites, the default is not to display them). Also changed the
       navigation tree so that it start at level 1, not the site root by
       default (again does not affect migrated sites). This makes it easier to
       have a separate front page, and lets the tabs act as first-order
 <at>  <at>  -1312,9 +1318,9  <at>  <at> 
       http://www.itforwallstreet.com/plone/ticket/6118
       [optilude]
 
-    - Gave the Editor role a few additional permissions: 
-      "Modify view template", "Request review" and "Modify properties". This 
-      closes http://www.itforwallstreet.com/plone/ticket/6530 
+    - Gave the Editor role a few additional permissions:
+      "Modify view template", "Request review" and "Modify properties". This
+      closes http://www.itforwallstreet.com/plone/ticket/6530
       [optilude]
 
     - Moved sharing action to a global action and removed from standard
 <at>  <at>  -1333,7 +1339,7  <at>  <at> 
 
 Plone 3.0-beta2 - released May 2, 2007
 
-    - Extended support for creation of translated initial content to include 
+    - Extended support for creation of translated initial content to include
       all titles and descriptions of all initial content.
       [hannosch]
 
 <at>  <at>  -1438,8 +1444,8  <at>  <at> 
 
     - Add a migration utility function to load (parts of) GenericSetup
       profiles during migration. This allows us to write configuration changes
-      in the form of GenericSetup extension profiles instead of python code. 
-      Use this to load a new 3.0b1-3.0b2 migration profile. 
+      in the form of GenericSetup extension profiles instead of python code.
+      Use this to load a new 3.0b1-3.0b2 migration profile.
       [wichert]
 
     - 'News' and 'Events' are no longer "Smart Folders" (or "Collections") in
 <at>  <at>  -1461,7 +1467,7  <at>  <at> 
     - Enabled search-current-folder-only option for the quicksearch box.
       [optilude]
 
-    - Make the navigation root affect searches (including live searches). 
+    - Make the navigation root affect searches (including live searches).
       By default, you will not get search results from outside the navigation
       root.
       [optilude]
 <at>  <at>  -1488,11 +1494,11  <at>  <at> 
       action categories. This closes http://www.itforwallstreet.com/plone/ticket/6336.
       [hannosch]
 
-    - Cleaned up code in unicodehacks.py so we don't have a performance 
+    - Cleaned up code in unicodehacks.py so we don't have a performance
       penality for mixed unicode/non-unicode pages.
       [hannosch]
 
-    - Micro optimization: Use a truly local variable for language lookup, 
+    - Micro optimization: Use a truly local variable for language lookup,
       which is faster than getting the value from the globals.
       [hannosch]
 
 <at>  <at>  -1517,7 +1523,7  <at>  <at> 
       [hannosch]
 
     - Added email_charset property, which should be used as the charset to
-      send mail, so you are not restricted to the default_charset which has to 
+      send mail, so you are not restricted to the default_charset which has to
       be utf-8 right now. This refs http://www.itforwallstreet.com/plone/ticket/5585.
       [hannosch]
 
 <at>  <at>  -1543,7 +1549,7  <at>  <at> 
 
     - Made the content menu (in plone.app.contentmenu) only show up on the
       main view of an object; on other tabs, it makes less sense, especially
-      on the edit tab where it may cause confusion and lead users to 
+      on the edit tab where it may cause confusion and lead users to
       accidentally cancel their edit operation by clicking a content menu
       link.
       [optilude]
 <at>  <at>  -1603,11 +1609,11  <at>  <at> 
       all extension profiles, by not requiring a flag file anymore. We also
       need to call the enableZope3Site and registerToolsAsUtilities migration
       steps as the first step in every possible version migration, as the
-      migration code itself depends on these to be present. Otherwise 
+      migration code itself depends on these to be present. Otherwise
       migrating from older versions would fail with ComponentLookupErrors.
       [hannosch]
 
-    - Location is now a standard metadata field available for categorizing 
+    - Location is now a standard metadata field available for categorizing
       content. This means that you can geotag images, display content with
       location data on a map, etc.
       [limi, nouri]
 <at>  <at>  -1615,8 +1621,8  <at>  <at> 
     - Extended the timeout on password resets from 1 day to 1 week by default.
       [limi]
 
-    - Fix bug #6227 : Batch-workflowing objects would erroneously give them 
-      the effective date of the portal object or their container. 
+    - Fix bug #6227 : Batch-workflowing objects would erroneously give them
+      the effective date of the portal object or their container.
       [elvix]
 
     - Registered all standard CMF and Plone tools as local utilities and
 <at>  <at>  -1627,7 +1633,7  <at>  <at> 
       as one providing CMF's ISiteRoot.
       [hannosch]
 
-    - Replaced our local component registry with one from 
+    - Replaced our local component registry with one from
       five.localsitemanager. There is no migration path for existing Plone 3.0
       alpha sites, so make sure to throw them away and recreate new ones.
       Migration from Plone < 3.0 is of course supported.
 <at>  <at>  -1646,7 +1652,7  <at>  <at> 
       [hannosch]
 
     - Moved version overview and server debug mode to the maintenance control
-      panel. Added warning message about missing mail host or email from 
+      panel. Added warning message about missing mail host or email from
       adress to the main control panel view.
       [hannosch]
 
 <at>  <at>  -1673,7 +1679,7  <at>  <at> 
       method update() which can update with workflow variables and the like.
       This allows a particular wrapper to be registered for a particular type
       of object, allowing more careful control over the indexing process.
-      [optilude] 
+      [optilude]
 
     - Removed ids from portlet templates and turned into classes. This makes
       sure we do not get duplicate ids in our html when multiple instances of
 <at>  <at>  -1686,8 +1692,8  <at>  <at> 
       doesn't make sense to force everybody to change their products now.
       [hannosch]
 
-    - Renamed Keywords to Categories, and included tags/labels/keywords 
-      explanation in the help text. User research showed that people 
+    - Renamed Keywords to Categories, and included tags/labels/keywords
+      explanation in the help text. User research showed that people
       understand this term better than the other alternatives.
       [limi]
 
 <at>  <at>  -1708,7 +1714,7  <at>  <at> 
     - Added Google/MSN/Yahoo site map support as described on
       http://www.sitemaps.org
       It is disabled by default and can be retrieved via
-      http://<portalroot>/sitemap.html.gz 
+      http://<portalroot>/sitemap.html.gz
       [mrtopf]
 
     - Add migration code for the enable_sitemap site property
 <at>  <at>  -1735,8 +1741,8  <at>  <at> 
       portalStopMessage to portalErrorMessage accordingly.
       [hannosch]
 
-    - Removed the forms.txt and rendering.txt functional test - there are 
-      covered by  AddMoveAndDeleteDocument.txt, which is more sane. Also 
+    - Removed the forms.txt and rendering.txt functional test - there are
+      covered by  AddMoveAndDeleteDocument.txt, which is more sane. Also
       update the latter to reflect a label change from plone.app.contentmenu.
       [optilude]
 
 <at>  <at>  -1767,7 +1773,7  <at>  <at> 
     - Hide the PAS folder and its plugins from the breadcrumbs.
       [wichert]
 
-    - Fixed cropping of utf8 encoded text. cropText script 
+    - Fixed cropping of utf8 encoded text. cropText script
       is marked as deprecated now.
       This fixes http://www.itforwallstreet.com/plone/ticket/6190.
       [naro]
 <at>  <at>  -1836,13 +1842,13  <at>  <at> 
       [elvix]
 
     - Added robots.txt file. This should remove some unwanted not-found-errors
-      and give fresh Plone-admins something to customise for robots if they 
+      and give fresh Plone-admins something to customise for robots if they
       want it.
-      more info about robots.txt here: 
+      more info about robots.txt here:
       http://www.itforwallstreet.com/wc/norobots.html
       [elvix]
 
-    - Commented out the IE-specific styling of textarea scrollbars from 
+    - Commented out the IE-specific styling of textarea scrollbars from
       IEFixes.css. Plone uses standard scrollbars from 3.0 onwards, but if you
       want them back, they can easily be uncommented.
       [limi]
 <at>  <at>  -1870,7 +1876,7  <at>  <at> 
       needed anymore.
       [hannosch]
 
-    - Fixed an unsafe usage of hasattr in computeRelatedItems with 
+    - Fixed an unsafe usage of hasattr in computeRelatedItems with
       base_hasattr.
       [hannosch]
 
 <at>  <at>  -1883,7 +1889,7  <at>  <at> 
       obsolete.
       [hannosch]
 
-    - Deleted folder_localrole_form and its scripts, since this is now 
+    - Deleted folder_localrole_form and its scripts, since this is now
       provided in the  <at>  <at> sharing view. That felt good. Added an alias with
       a deprecation warning in plone.app.layout so that old links still work.
       The alias will be gone in 4.0.
 <at>  <at>  -1921,11 +1927,11  <at>  <at> 
       GenericSetup import step tries to call any local component.
       [hannosch]
 
-    - Decoupled some more of the GenericSetup import steps. The plone-site 
-      step only creates the local component registry and enables the portal 
-      object as a site manager. This is needed as steps using local components 
-      depend on this step while not much else in the site may have been 
-      configured yet. 
+    - Decoupled some more of the GenericSetup import steps. The plone-site
+      step only creates the local component registry and enables the portal
+      object as a site manager. This is needed as steps using local components
+      depend on this step while not much else in the site may have been
+      configured yet.
       The plone-content step adjusts the initial content and is run last as it
       depends on everything else in the portal having been already set up.
       [hannosch]
 <at>  <at>  -1934,10 +1940,10  <at>  <at> 
       to get to login_form (it perform a redirect). This is also now a
       reserved id.
       [optilude]
- 
+
     - Merged plone.app.contentrules, your friendly content rules engine
       [wayworn, optilude]
-            
+
     - Moved deprecated zcml declarations to its own file deprecated.zcml in
       order to make it easy to spot those or turn them off.
       [hannosch]
 <at>  <at>  -1980,7 +1986,7  <at>  <at> 
 
     - Finished multilingual front-page support code. The front page which is
       created at portal creation time is now localized to the browser language
-      used while creating the portal, as long as there is a complete 
+      used while creating the portal, as long as there is a complete
       translation of the page.
       [hannosch]
 
 <at>  <at>  -2010,8 +2016,8  <at>  <at> 
       [optilude]
 
     - Moved date/time formatting related messages to it's own domain called
-      plonelocales. Message files in this domain are translated directly by 
-      the Zope 3 translations service, which results in a major speed increase 
+      plonelocales. Message files in this domain are translated directly by
+      the Zope 3 translations service, which results in a major speed increase
       for date/time formatting.
       [hannosch]
 
 <at>  <at>  -2028,7 +2034,7  <at>  <at> 
       [optilude]
 
     - Gave IContentIcon a html_tag() helper method to make rendering the
-      icon one line (<img tal:replace="structure item_icon/html_tag" />) 
+      icon one line (<img tal:replace="structure item_icon/html_tag" />)
       rather than ten or so. Also made the properties properties rather than
       functions.
       [optilude]
 <at>  <at>  -2042,7 +2048,7  <at>  <at> 
       uses of cache_decorator in CMFPlone with plone.memoize.
       [optilude]
 
-    - Renamed Products.CMFPlone.browser.plone (plone.py) to 
+    - Renamed Products.CMFPlone.browser.plone (plone.py) to
       Products.CMFPlone.browser.ploneview (ploneview.py). The naming
       was causing conflicts with the 'plone' namespace package. A
       module alias remains during the deprecation period (i.e.
 <at>  <at>  -2061,9 +2067,9  <at>  <at> 
     - Added formlib based mail and search control panels.
       [hannosch]
 
-    - Removed the view alias of index.html for all standard content types. 
-      This makes it possible to create and upload files called index.html to 
-      the site, which is quite common when batch importing old sites into the 
+    - Removed the view alias of index.html for all standard content types.
+      This makes it possible to create and upload files called index.html to
+      the site, which is quite common when batch importing old sites into the
       site.
       As someone might rely on the former behaviour, we do not migrate
       any existing type information. This closes
 <at>  <at>  -2095,7 +2101,7  <at>  <at> 
       deployments that use this role name, now would be a good time to rename
       that role and stop using it in product code.
 
-    - Update migrations for portlets, and kick the meta.zcml in 
+    - Update migrations for portlets, and kick the meta.zcml in
       plone.app.portlets.
       [optilude]
 
 <at>  <at>  -2119,8 +2125,8  <at>  <at> 
     - Added first part of multilingual front-page support code.
       [hannosch]
 
-    - livesearch_reply.py wrote quotes (") in the title-attribute. misformed 
-      XML was generated. replaced quotes by &quot;. 
+    - livesearch_reply.py wrote quotes (") in the title-attribute. misformed
+      XML was generated. replaced quotes by &quot;.
       [jensens]
 
     - Merged plip142-componentised-content-menu
 <at>  <at>  -2132,14 +2138,14  <at>  <at> 
       http://www.itforwallstreet.com/products/plone/roadmap/161.
       [hannosch]
 
-    - Merged PLIP 8 versioning bundle 
+    - Merged PLIP 8 versioning bundle
       http://www.itforwallstreet.com/products/plone/roadmap/8.
       [wichert]
 
-    - Converted some tests to inline doctests and some others to real unit 
+    - Converted some tests to inline doctests and some others to real unit
       tests as opposed to integration tests.
       [hannosch]
-      
+
     - Changed the logo template 'global_logo' to not use the image replacement
       approach, but use a straightforward link/image approach instead.
       Sometimes Plone tries to be too smart for its own good. ;)
 <at>  <at>  -2197,7 +2203,7  <at>  <at> 
       ATBTreeFolder from ATContentTypes instead.
       [hannosch]
 
-    - Added unicodeFallbackPatch that allows to use utf-8 encoded strings to 
+    - Added unicodeFallbackPatch that allows to use utf-8 encoded strings to
       be used inside the Zope3 TAL engine.
       [ree, hannosch]
 
 <at>  <at>  -2239,8 +2245,8  <at>  <at> 
 
     - Removed deprecated FolderWorkflow, PloneWorkflow and PloneUtilities
       classes. Removed aliases for base_hasattr and transaction_note from
-      CMFPlone. Import these from CMFPlone.utils. Removed security 
-      declarations for zLOG levels. zLOG usage was replaced by Python's 
+      CMFPlone. Import these from CMFPlone.utils. Removed security
+      declarations for zLOG levels. zLOG usage was replaced by Python's
       logging module.
       [hannosch]
 
 <at>  <at>  -2248,7 +2254,7  <at>  <at> 
       for Zope 2.10.
       [hannosch]
 
-    - Removed bbb code for MessageIDFactory, queryMultiAdapter, transaction 
+    - Removed bbb code for MessageIDFactory, queryMultiAdapter, transaction
       and CatalogTool._initIndexes.
       [hannosch]
 
 <at>  <at>  -2315,18 +2321,18  <at>  <at> 
     - Add search term highlighting to livesearch result links.
       [alecm]
 
-    - links in Contents table behave as they should now - show the "pointer" 
-      hand when hovering the mouse over them. It was broken due to ajax 
+    - links in Contents table behave as they should now - show the "pointer"
+      hand when hovering the mouse over them. It was broken due to ajax
       sorting feature somehow
       [spliter]
 
-    - event_view.pt has a better position for details table now, letting 
-      byLine and Description info to be content-wide and not to be shifted to 
+    - event_view.pt has a better position for details table now, letting
+      byLine and Description info to be content-wide and not to be shifted to
       the left, bacuse of Details table
       [spliter]
 
-    - main table for columns (#portal-columns) should not have paddings or 
-      spacings - they can confuse when styling. Fixed with CSS for the table 
+    - main table for columns (#portal-columns) should not have paddings or
+      spacings - they can confuse when styling. Fixed with CSS for the table
       cells, thanks to deo ;)
       [spliter]
 
 <at>  <at>  -2348,9 +2354,9  <at>  <at> 
       http://www.itforwallstreet.com/plone/ticket/5940
       [alecm]
 
-    - Make various icons in folder_contents explicitly render alt tags, 
-      because the rendering of those images magically picks up items named 
-      'alt' in the context, which breaks the page. 
+    - Make various icons in folder_contents explicitly render alt tags,
+      because the rendering of those images magically picks up items named
+      'alt' in the context, which breaks the page.
       Fixes  http://www.itforwallstreet.com/plone/ticket/5934
       [alecm]
 
 <at>  <at>  -2384,7 +2390,7  <at>  <at> 
       [alecm]
 
     - Made the error displayed on SMTPRecipientsRefused during password reset
-      not display the email address, as this is an undesirable privacy 
+      not display the email address, as this is an undesirable privacy
       leakage. Fixes http://www.itforwallstreet.com/plone/ticket/5962
       [alecm]
 
 <at>  <at>  -2404,7 +2410,7  <at>  <at> 
       convert any Unicode, 'utf-8' or 'ascii' encoded string to Unicode.
       [hannosch]
 
-    - Added button tag styling that conforms to the standard input button 
+    - Added button tag styling that conforms to the standard input button
       look.
       [limi]
 
 <at>  <at>  -2418,8 +2424,8  <at>  <at> 
     - Injected Plone 2.1.4 into the migration chain.
       [stefan]
 
-    - Lots of minor whitespace corrections, found by using the new i18ndude 
-      3.0 which is based on zope.tal.talgettext for extraction of translation 
+    - Lots of minor whitespace corrections, found by using the new i18ndude
+      3.0 which is based on zope.tal.talgettext for extraction of translation
       files.
       [hannosch]
 
 <at>  <at>  -2444,10 +2450,10  <at>  <at> 
     - Updated links in the automatically generated front-page.
       [hannosch]
 
-    - Added a few macro hooks in personalize_form and prefs_user_details to 
-      allow at least some form of easy customization without the need to 
-      customize the entire forms. Now it looks for a file 
-      'additional_memberdata' in your skin and uses the macros in there to 
+    - Added a few macro hooks in personalize_form and prefs_user_details to
+      allow at least some form of easy customization without the need to
+      customize the entire forms. Now it looks for a file
+      'additional_memberdata' in your skin and uses the macros in there to
       inject them into these forms.
       [ender]
 
 <at>  <at>  -2604,12 +2610,12  <at>  <at> 
       [paregorius] [alecm]
 
     - Made PloneTool.browserDefault check for a result of None from getLayout
-      and raise a sensible error.  Generally this means that the FTI is 
-      missing or otherwise incorrect. 
+      and raise a sensible error.  Generally this means that the FTI is
+      missing or otherwise incorrect.
       Fixes http://www.itforwallstreet.com/plone/ticket/5676.
       [alecm]
 
-    - Added migration to reindex the catalog which is necessary for the 
+    - Added migration to reindex the catalog which is necessary for the
       changes made for http://www.itforwallstreet.com/plone/ticket/5569 and
       http://www.itforwallstreet.com/plone/ticket/5231.
       [alecm]
 <at>  <at>  -2628,7 +2634,7  <at>  <at> 
 
     - Added a workaround for erroneous indexing behavior for words containing
       non-ascii characters. These were treated as word breaks so far. The code
-      works for a site encoding of 'utf-8' now as well as proper unicode 
+      works for a site encoding of 'utf-8' now as well as proper unicode
       usage. This closes http://www.itforwallstreet.com/plone/ticket/5231.
       [hannosch]
 
 <at>  <at>  -2636,7 +2642,7  <at>  <at> 
       http://www.itforwallstreet.com/plone/ticket/5614.
       [alecm]
 
-    - Fixed wrong usage of label tag. Added one for attribute that was 
+    - Fixed wrong usage of label tag. Added one for attribute that was
       missing. This closes http://www.itforwallstreet.com/plone/ticket/5539.
       [ender]
 
 <at>  <at>  -2823,7 +2829,7  <at>  <at> 
     - Fix several wrong usages of the 'label' tag.
       [nouri]
 
-    - Added little spamProtect.py enhancement, to allow overwriting of the 
+    - Added little spamProtect.py enhancement, to allow overwriting of the
       name that should be shown. This closes
       http://www.itforwallstreet.com/plone/ticket/4868.
       [hannosch]
 <at>  <at>  -2833,7 +2839,7  <at>  <at> 
       [alecm]
 
     - Expose allowAnonymousViewAbout and allowRolesToAddKeywords in the
-      site configuration configlet. Fixes 
+      site configuration configlet. Fixes
       http://www.itforwallstreet.com/plone/ticket/5275
       [wichert]
 
 <at>  <at>  -2861,7 +2867,7  <at>  <at> 
       [limi] [spliter]
 
     - Moved column padding to public.css to make sure it doesn't stick around
-      when doing customizations of the site theme. It used to be in 
+      when doing customizations of the site theme. It used to be in
       columns.css.
       [limi]
 
 <at>  <at>  -2875,7 +2881,7  <at>  <at> 
       versions, and Five applications.
       [siebo]
 
-    - Updated the GenericSetup profile format to CMF1.6-style. No 
+    - Updated the GenericSetup profile format to CMF1.6-style. No
       configuration changes were made, only format changes.
       [hannosch]
 
 <at>  <at>  -2934,7 +2940,7  <at>  <at> 
       This closes http://www.itforwallstreet.com/plone/ticket/5430.
       [hannosch]
 
-    - Fixed some i18n markup problems revealed by the Zope 2.10 ZChecker 
+    - Fixed some i18n markup problems revealed by the Zope 2.10 ZChecker
       tests.
       [hannosch]
 
 <at>  <at>  -2952,7 +2958,7  <at>  <at> 
       [wald]
 
     - When setting some background to the top, Live Search did not look
-      properly. Moreover in IE it had a bad visual behavior. Changed the 
+      properly. Moreover in IE it had a bad visual behavior. Changed the
       visual representation of the Live Search to repair the improper look.
       This closes http://www.itforwallstreet.com/plone/ticket/4313 and
       http.://www.itforwallstreet.com/plone/ticket/5005.
 <at>  <at>  -2976,7 +2982,7  <at>  <at> 
       'Show all'. This closes http://www.itforwallstreet.com/plone/ticket/5425.
       [hannosch]
 
-    - Fixed incorrect coloring of workflow states in content menu in some 
+    - Fixed incorrect coloring of workflow states in content menu in some
       cases, due to missing normalizeString call.
       This fixes http://www.itforwallstreet.com/plone/ticket/5078.
       [hannosch]
 <at>  <at>  -3149,7 +3155,7  <at>  <at> 
       #kupu-underline-button { display: inline; }
       [limi]
 
-    - Fixed up Summary View to show author/date on News Items and 
+    - Fixed up Summary View to show author/date on News Items and
       location/time on Events.
       [limi]
 
 <at>  <at>  -3171,7 +3177,7  <at>  <at> 
       [limi]
 
     - Adjusted status message related methods of PloneTool to the new
-      implementation of statusmessages as an adapter for the request rather 
+      implementation of statusmessages as an adapter for the request rather
       than a utility.
       [hannosch]
 
 <at>  <at>  -3194,13 +3200,13  <at>  <at> 
       http://www.itforwallstreet.com/plone/ticket/5264.
       [optilude]
 
-    - Making the user-name link in the personal-bar link to the author 
+    - Making the user-name link in the personal-bar link to the author
       profile.
       Fixes http://www.itforwallstreet.com/plone/ticket/5268.
       [optilude]
 
     - Added more insane TAL logic to portlets_fetcher.pt to actually show the
-      error to the user, as opposed to simply logging it. If anyone has an 
+      error to the user, as opposed to simply logging it. If anyone has an
       issue  with this, please just remove the tal:on-error. Fixes
       http://www.itforwallstreet.com/plone/ticket/5282 and
       http://www.itforwallstreet.com/plone/ticket/2850.
 <at>  <at>  -3224,7 +3230,7  <at>  <at> 
       - Updating icons to better match the Plone style
 
       - Improved tool ordering (growing elements like the text format selector
-        should be at the end, since they displace all the other icons when 
+        should be at the end, since they displace all the other icons when
         they change if not)
 
       - Fixed stupid bug in Mozilla by explicitly setting the link styling
 <at>  <at>  -3273,7 +3279,7  <at>  <at> 
       [hannosch]
 
     - Fixed inconsistencies where some 'Controller Python Script' were being
-      declared as normal 'Script (Python)' and were missing the state 
+      declared as normal 'Script (Python)' and were missing the state
       variable.
       [deo]
 
 <at>  <at>  -3281,7 +3287,7  <at>  <at> 
       Fixes http://www.itforwallstreet.com/plone/ticket/5098
       [wichert]
 
-    - Fixed bug: can't access content when the user have no permission to 
+    - Fixed bug: can't access content when the user have no permission to
       access the acquired left_slots/right_slots properties.
       [panjunyong]
 
 <at>  <at>  -3423,7 +3429,7  <at>  <at> 
       Fixes http://www.itforwallstreet.com/plone/ticket/4438
       [alecm]
 
-    - Removed code from Portal.py for default_frontpage. This is now handled 
+    - Removed code from Portal.py for default_frontpage. This is now handled
       by the GenericSetup driven site creation. This fixes
       http://www.itforwallstreet.com/plone/ticket/5332
       [hannosch]
 <at>  <at>  -3463,7 +3469,7  <at>  <at> 
       CMFPlone/profiles/default directory)
       [rafrombrc]
 
-    - Added ignoredSkinLayers option to zcheck.py to filter out certain 
+    - Added ignoredSkinLayers option to zcheck.py to filter out certain
       folders.
       [hannosch]
 
 <at>  <at>  -3471,7 +3477,7  <at>  <at> 
       ./profiles/default/structure
       [hannosch]
 
-    - Merged PlonePAS bundle. This implements the start of step 2 for PLIP 
+    - Merged PlonePAS bundle. This implements the start of step 2 for PLIP
       102.
       [wichert]
 
 <at>  <at>  -3484,7 +3490,7  <at>  <at> 
       Fixes http://www.itforwallstreet.com/plone/ticket/5098
       [wichert]
 
-    - Converted unit tests to use the external PloneTestCase product instead 
+    - Converted unit tests to use the external PloneTestCase product instead
       of a local modified copy.
       [hannosch]
 
 <at>  <at>  -3511,7 +3517,7  <at>  <at> 
       [encolpe]
 
     - Merged plip108-five-translationservice r8093:8841 into trunk.
-      This implements PLIP 108 Zope3 MessageID's and PLIP 111 new portal 
+      This implements PLIP 108 Zope3 MessageID's and PLIP 111 new portal
       status message infrastructure.
       [hannosch]
 
 <at>  <at>  -3533,18 +3539,18  <at>  <at> 
       http://www.itforwallstreet.com/plone/ticket/5727.
       [hannosch]
 
-    - Fixed the view of livesearch in fullscreen mode (contentActions were 
+    - Fixed the view of livesearch in fullscreen mode (contentActions were
       overlapping the livesearch output).
       [spliter]
 
     - Enabled IEFixes.css for all IE's, not for <IE7 only
       [spliter]
-   
-    - Re-enabled livesearch back (removed overflow:hidden from 
-      #portal-searchbox) and fixed horizontal scroll issue for IE's due to 
+
+    - Re-enabled livesearch back (removed overflow:hidden from
+      #portal-searchbox) and fixed horizontal scroll issue for IE's due to
       floated searchbox.
       [spliter]
-    
+
     - Removed www/main.dtml as it turns out we can use the default just fine.
       [stefan]
 

Modified: Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.py
==============================================================================
--- Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.py	(original)
+++ Products.CMFPlone/trunk/Products/CMFPlone/setuphandlers.py	Wed Aug 13 02:14:35 2008
 <at>  <at>  -134,12 +134,13  <at>  <at> 
         Import default plone content
         """
         existing = p.objectIds()
-        
+
         wftool = getToolByName(p, "portal_workflow")
 
         # Figure out the current user preferred language
         language = None
         locale = None
+        target_language = None
         request = getattr(p, 'REQUEST', None)
         if request is not None:
             pl = IUserPreferredLanguages(request)
 <at>  <at>  -156,10 +157,14  <at>  <at> 
                 if len(languages) > 0:
                     language = languages[0]
 
+        # Language to be used to translate the content
+        target_language = language
+
         # Set the default language of the portal
         if language is not None and locale is not None:
             localeid = locale.getLocaleID()
             base_language = locale.id.language
+            target_language = localeid
 
             # If we get a territory, we enable the combined language codes
             use_combined = False
 <at>  <at>  -170,7 +175,7  <at>  <at> 
             # start neutral functionality
             tool = getToolByName(p, "portal_languages")
             pprop = getToolByName(p, "portal_properties")
-            sheet = pprop.site_properties 
+            sheet = pprop.site_properties
 
             tool.manage_setLanguageSettings(language,
                 [language],
 <at>  <at>  -205,35 +210,35  <at>  <at> 
             # Mark as fully created
             fp.unmarkCreationFlag()
 
-            if language is not None:
+            if target_language is not None:
                 util = queryUtility(ITranslationDomain, 'plonefrontpage')
                 if util is not None:
                     front_title = util.translate(u'front-title',
-                                       target_language=language,
+                                       target_language=target_language,
                                        default="Welcome to Plone")
                     front_desc = util.translate(u'front-description',
-                                       target_language=language,
+                                       target_language=target_language,
                                        default="Congratulations! You have successfully installed Plone.")
                     front_text = util.translate(u'front-text',
-                                       target_language=language)
+                                       target_language=target_language)
                     fp.setLanguage(language)
                     fp.setTitle(front_title)
                     fp.setDescription(front_desc)
-                    if front_text <> u'front-text':
+                    if front_text != u'front-text':
                         fp.setText(front_text)
 
         # News topic
         if 'news' not in existing:
             news_title = 'News'
             news_desc = 'Site News'
-            if language is not None:
+            if target_language is not None:
                 util = queryUtility(ITranslationDomain, 'plonefrontpage')
                 if util is not None:
                     news_title = util.translate(u'news-title',
-                                           target_language=language,
+                                           target_language=target_language,
                                            default='News')
                     news_desc = util.translate(u'news-description',
-                                          target_language=language,
+                                          target_language=target_language,
                                           default='Site News')
 
             _createObjectByType('Large Plone Folder', p, id='news',
 <at>  <at>  -272,14 +277,14  <at>  <at> 
         if 'events' not in existing:
             events_title = 'Events'
             events_desc = 'Site Events'
-            if language is not None:
+            if target_language is not None:
                 util = queryUtility(ITranslationDomain, 'plonefrontpage')
                 if util is not None:
                     events_title = util.translate(u'events-title',
-                                           target_language=language,
+                                           target_language=target_language,
                                            default='Events')
                     events_desc = util.translate(u'events-description',
-                                          target_language=language,
+                                          target_language=target_language,
                                           default='Site Events')
 
             _createObjectByType('Large Plone Folder', p, id='events',
 <at>  <at>  -294,10 +299,10  <at>  <at> 
             folder.unmarkCreationFlag()
             if language is not None:
                 folder.setLanguage(language)
-            
+
             if wftool.getInfoFor(folder, 'review_state') != 'published':
                 wftool.doActionFor(folder, 'publish')
-            
+
             topic = folder.aggregator
             topic.unmarkCreationFlag()
             if language is not None:
 <at>  <at>  -315,7 +320,7  <at>  <at> 
             date_crit.setOperation('more')
         else:
             topic = p.events
-            
+
         if wftool.getInfoFor(topic, 'review_state') != 'published':
             wftool.doActionFor(topic, 'publish')
 
 <at>  <at>  -323,16 +328,16  <at>  <at> 
         if 'previous' not in topic.objectIds():
             prev_events_title = 'Past Events'
             prev_events_desc = 'Events which have already happened.'
-            if language is not None:
+            if target_language is not None:
                 util = queryUtility(ITranslationDomain, 'plonefrontpage')
                 if util is not None:
                     prev_events_title = util.translate(u'prev-events-title',
-                                           target_language=language,
+                                           target_language=target_language,
                                            default='Past Events')
                     prev_events_desc = util.translate(u'prev-events-description',
-                                          target_language=language,
+                                          target_language=target_language,
                                           default='Events which have already happened.')
-            
+
             _createObjectByType('Topic', topic, id='previous',
                                 title=prev_events_title,
                                 description=prev_events_desc)
 <at>  <at>  -349,7 +354,7  <at>  <at> 
             # Only take events in the past
             date_crit.setDateRange('-') # This is irrelevant when the date is now
             date_crit.setOperation('less')
-            
+
             if wftool.getInfoFor(topic, 'review_state') != 'published':
                 wftool.doActionFor(topic, 'publish')
 
 <at>  <at>  -357,14 +362,14  <at>  <at> 
             # configure Members folder (already added by the content import)
             members_title = 'Users'
             members_desc = "Container for users' home directories"
-            if language is not None:
+            if target_language is not None:
                 util = queryUtility(ITranslationDomain, 'plonefrontpage')
                 if util is not None:
                     members_title = util.translate(u'members-title',
-                                           target_language=language,
+                                           target_language=target_language,
                                            default='Users')
                     members_desc = util.translate(u'members-description',
-                                          target_language=language,
+                                          target_language=target_language,
                                           default="Container for users' home directories")
 
             members = getattr(p , 'Members')
 <at>  <at>  -374,10 +379,10  <at>  <at> 
             if language is not None:
                 members.setLanguage(language)
             members.reindexObject()
-            
+
             if wftool.getInfoFor(members, 'review_state') != 'published':
                 wftool.doActionFor(members, 'publish')
-            
+
             # add index_html to Members area
             if 'index_html' not in members.objectIds():
                 addPy = members.manage_addProduct['PythonScripts'].manage_addPythonScript
 <at>  <at>  -448,7 +453,7  <at>  <at> 
          'mimetypes_registry': 'MIME types recognized by Plone',
          'portal_transforms': 'Handles data conversion between MIME types',
          }
-    
+
         for oid in portal.objectIds():
             title=titles.get(oid, None)
             if title:

Modified: Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.py
==============================================================================
--- Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.py	(original)
+++ Products.CMFPlone/trunk/Products/CMFPlone/tests/testPortalCreation.py	Wed Aug 13 02:14:35 2008
 <at>  <at>  -60,7 +60,7  <at>  <at> 
         self.skins = self.portal.portal_skins
         self.transforms = self.portal.portal_transforms
         self.javascripts = self.portal.portal_javascripts
-        self.setup = self.portal.portal_setup 
+        self.setup = self.portal.portal_setup
 
     def beforeTearDown(self):
         self._free_warning_output()
 <at>  <at>  -582,12 +582,12  <at>  <at> 
         for url in urls:
             # ensure that e.g. the 'copy' url contains object_copy
             self.failUnless('object_'+url[0] in url[1], "%s does not perform the expected object_%s action"%(url[0],url[0]))
-        
+
         delete_action=http://www.itforwallstreet.com/gmane.comp.web.zope.plone.cvs/[(a["id"],a["url"]) for a in buttons
                 if a["id"] == "delete"][0]
         self.failUnless("delete_confirmation" in delete_action[1],
                          "object_delete does not use the confirmation form")
-                         
+
     def testObjectButtonActionsInExpectedOrder(self):
         # The object buttons need to be in a standardized order
         self.setRoles(["Manager", "Member"])
 <at>  <at>  -755,11 +755,11  <at>  <at> 
         # Clean up again and unregister the utilites
         gsm.unregisterUtility(provided=dummy.IDummyUtility)
         sm.unregisterUtility(provided=dummy.IDummyUtility)
-        
+
         # Make sure unregistration was successful
         util = queryUtility(dummy.IDummyUtility)
         self.failUnless(util is None)
-        
+
     def testPortletManagersInstalled(self):
         sm = getSiteManager(self.portal)
         registrations = [r.name for r in sm.registeredUtilities()
 <at>  <at>  -770,19 +770,19  <at>  <at> 
     def testPortletAssignmentsAtRoot(self):
         leftColumn = getUtility(IPortletManager, name=u"plone.leftcolumn")
         rightColumn = getUtility(IPortletManager, name=u"plone.rightcolumn")
-        
+
         left = getMultiAdapter((self.portal, leftColumn,), IPortletAssignmentMapping)
         right = getMultiAdapter((self.portal, rightColumn,), IPortletAssignmentMa