[ZCM] [ZC] 1081/ 9 Comment " There is no way to work with Russian characters is Zope >2.6.x :("

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Jan 21 08:42:05 EST 2005


Issue #1081 Update (Comment) " There is no way to work with Russian characters is Zope >2.6.x :("
 Status Accepted, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1081

==============================================================
= Comment - Entry #9 by shh on Jan 21, 2005 8:41 am

IIRC people wanted to be able to use 'ustring' titles.
________________________________________
= Comment - Entry #8 by chrisw on Jan 21, 2005 4:48 am

Andreas introduced this change, and put in the warning message in deference to actually checking to code to see what happens when titles are deletable.

For me, it seems easiest just to make titles not deletable anymore...

What was the original reason for wanting title properties to be deletable in the first place?
________________________________________
= Resubmit - Entry #7 by efge on Jan 20, 2005 2:34 pm

 Status: Resolved => Accepted

Reopening in light of request in http://zope.org/Collectors/Zope/1671

Note that is has never been made clear (at least in this collector issue) what broke when the title properties is removed.

FWIW I agree that the message in the properties form is a pain. Usually it reduces the useable form width by half.

Lastly, Yuppie is of the opinion that even the workaround is not enough.

________________________________________
= Comment - Entry #6 by yuppie on Dec 10, 2004 5:48 am

I doubt this issue is resolved.

Re-adding a 'title' property doesn't work for me. 'title' is a class attribute, so after removing the 'title' property the object has still a 'title' attribute and using that name for a new propety is not allowed.
________________________________________
= Resolve - Entry #5 by ajung on Oct 21, 2003 11:25 am

 Status: Accepted => Resolved

Not a solution but a workaround:

- the 'title' property in Zope 2.7/CVS HEAD can not be
  removed for objects derived from Folder or PropertyManager

- so you can remove 'title' and re-add the property with
  type 'ustring'

If this is too complicated you might change the default type for
'title' in the files in OFS from string to ustring.
Changing this in the sources might break existing code so
for now we leave it as it is with the possibility to
change the type of the 'title' property on your own.

Hope that this is reasonable for you.

-aj



________________________________________
= Assign - Entry #4 by ajung on Oct 21, 2003 8:35 am

 Status: Pending => Accepted

 Supporters added: ajung


________________________________________
= Edit - Entry #3 by ajung on Oct 21, 2003 8:35 am

 Changes: edited transcript, importance (critical => medium)
________________________________________
= Comment - Entry #2 by ajung on Oct 21, 2003 8:35 am

Can you please provide the full traceback available
from /error_log?

-aj
________________________________________
= Request - Entry #1 by Anonymous User on Oct 10, 2003 1:34 am

In Zope 2.6.2, when I try to give my "test_folder" Zope folder a russian title:
http://profsolutions.com/zcollector/manage_page.gif
I get this error:
http://profsolutions.com/zcollector/error.gif
Error Type: UnicodeError
Error Value: Latin-1 encoding error: ordinal not in range(256)

Ok, maybe there is a solution for that (use UTF-8 as default locale, management_page_charset...) but there is another problem with that:

I have some old sites with non-unicode characters and when i try to import them into Zope > 2.6 everything goes wrong, I can't get the properties page, it doesn't work at all (Page not Found) if there is a non-latin title.

Sorry for my poor english :) It's not easy to find Zope guru in Russia, please help.
==============================================================



More information about the Zope-Collector-Monitor mailing list