#124 — Unable to submit new issue in Japanese environment

StateRejected
Version:
AreaFunctionality
Issue typeBug
SeverityMedium
Submitted by(anonymous)
Submitted onOct 09, 2006
Responsible
Target release:
Return to tracker
Last modified on Jan 05, 2009 by Matthew Wilkes


Submitting a new issue in Japanese (perhaps any multi-byte?) environment produces the following error:

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFPlone.FactoryTool, line 369, in __call__
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFFormController.FSControllerPageTemplate, line 96, in __call__
  Module Products.CMFFormController.BaseControllerPageTemplate, line 42, in _call
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  Module Products.CacheSetup.patch_cmf, line 38, in FSPT_pt_render
  Module Products.CacheSetup.patch_cmf, line 92, in PT_pt_render
   - <FSControllerPageTemplate at /Plone/base_edit used for /Plone/ok/portal_factory/PoiIssue/poiissue.2006-10-10.0992038880>
  Module TAL.TALInterpreter, line 238, in __call__
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 728, in do_defineMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 507, in do_setLocal_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:CMFPlone/skins/plone_templates/global_defines.pt
   - Line 3, Column 0
   - Expression: standard:'plone_view/globalize'
   - Names:
      {'container': <PloneSite at /Plone>,
       'context': <PoiIssue at /Plone/ok/portal_factory/PoiIssue/poiissue.2006-10-10.0992038880 used for /Plone/ok>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x016BF6C0>,
       'here': <PoiIssue at /Plone/ok/portal_factory/PoiIssue/poiissue.2006-10-10.0992038880 used for /Plone/ok>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x05F0D670>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x016ACC10>,
       'nothing': None,
       'options': {'args': (),
                   'state': <Products.CMFFormController.ControllerState.ControllerState object at 0x060B9A30>},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x05F0D670>,
       'request': <HTTPRequest, URL=http://localhost/[…]/base_edit>,
       'root': <Application at >,
       'template': <FSControllerPageTemplate at /Plone/base_edit used for /Plone/ok/portal_factory/PoiIssue/poiissue.2006-10-10.0992038880>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}
  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 180, in _eval
  Module Products.PageTemplates.Expressions, line 85, in render
  Module Products.CMFPlone.browser.plone, line 66, in globalize
  Module Products.CMFPlone.browser.plone, line 118, in _initializeData
  Module Products.CMFPlone.ActionsTool, line 46, in listFilteredActionsFor
  Module Products.CMFPlone.ActionsTool, line 34, in _getActions
  Module Products.CMFCore.ActionProviderBase, line 86, in listActionInfos
  Module Products.CMFCore.WorkflowTool, line 242, in listActions
  Module Products.DCWorkflow.DCWorkflow, line 202, in listObjectActions
  Module Products.DCWorkflow.DCWorkflow, line 453, in _checkTransitionGuard
  Module Products.DCWorkflow.Guard, line 90, in check
  Module Products.CMFCore.Expression, line 44, in __call__
  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 180, in _eval
  Module Products.PageTemplates.Expressions, line 85, in render
  Module Products.Poi.content.PoiIssue, line 447, in isValid
  Module Products.Archetypes.Schema, line 584, in validate
  Module Products.Archetypes.Field, line 304, in validate
  Module Products.Archetypes.Field, line 1098, in validate_required
  Module Products.Archetypes.Field, line 341, in validate_required
  Module Products.Archetypes.generator.widget, line 93, in Label
  Module Products.Archetypes.generator.widget, line 81, in _translate_attribute
  Module Products.Archetypes.generator.i18n, line 23, in translate_wrapper
  Module Products.Five.i18n, line 51, in translate
  Module Products.PlacelessTranslationService.PlacelessTranslationService, line 94, in translate
  Module Products.PlacelessTranslationService.PlacelessTranslationService, line 542, in translate
  Module ZPublisher.HTTPResponse, line 454, in _encode_unicode
  Module encodings.iso8859_15, line 18, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-1: character maps to <undefined>
Steps to reproduce:
Do a clean install of Plone 2.5.1 and Poi (latest release or svn version) and its dependencies
Switch the language to Japanese
Create Issue Tracker
Try to submit a new issue
Added byMaurits van ReesonNov 14, 2007 07:22 PM
I cannot reproduce this. Maybe this has been fixed already somewhere in Poi or Plone or Zope or anywhere else.

Maybe I am following instructions wrongly though. Especially, what do you mean with the step "Switch the language to Japanese"? On Plone 2.5.4 I installed the PloneLanguageTool, added Japanese to the available languages and set it to the default language. I also switch the language preference of Firefox to Japanese. This did not result in errors when creating a new tracker or issue, with some Japanese characters pasted in the title.

Can you still reproduce this now?
Added byMaurits van ReesonDec 17, 2007 08:38 PM
Issue state: unconfirmedrejected
Not reproducible. No reaction from original poster. Rejecting. Please reopen when needed.

No responses can be added.