bernhard | 5 Jan 08:33

Kupu 1.4 beta 3, i18n image uploads fail!

Hello, Duncan, hello kupu list!

I still have problems with image uploads as soon as i switch the  
language of a plone site; Image uploads just _fail_ then.

I took three screenshots to show what's going wrong: I have a working  
example with no problems, the site bilingual and english is selected  
(1). I have the same site with german selected, where you can see a  
bug (2), I also experienced a display bug in camino when you click  
the scrollbar (3); But that's of minor importance;

See the screenshots @
(1) http://devwww.akbild.ac.at/zope/misc/ff_good.png
(2) http://devwww.akbild.ac.at/zope/misc/ff_bug.png
(3) http://devwww.akbild.ac.at/zope/misc/camino_1.png

If anyone wants to try that 'live' i have a plone site available @
http://gogo.bluedynamics.com:8380/pl01
u: test
p: test

Zope 2.8.8-final, python 2.3.5, linux2,
CMFPlone (Installed product CMFPlone (2.5.1))
LinguaPlone (Installed product LinguaPlone (0.9.0 - $Revision: 10093 $))
kupu (Installed product kupu (kupu 1.4)), Beta3

This temporary Zope/Plone instance was installed from scratch. To  
reproduce the error simply click the german flag and then edit a  
document to upload an image; Click "Current Folder", click "upload",  
then you can see that the "Title" field is missing and the Labels of  
(Continue reading)

bernhard | 9 Jan 08:17

Fwd: Kupu 1.4 beta 3, i18n image uploads fail!

Hello, again, kupu list!

I really have some serious issues with i18n and kupu-1.4b3, has  
anyone a clue what could be wrong? I have no response. Was anyone  
able to reproduce / view the problems I encounter? I will not be able  
to use kupu on a bi- or multilingual site if image upload does not  
work. I would think it is very unfortunate to abandon kupu for our  
university's site. I hope someone can at least give me a clue where  
to look for the bugs...

Regards,
Georg Gogo. BERNHARD
g.bernhard <at> akbild.ac.at

Begin forwarded message:

> From: bernhard <g.bernhard <at> akbild.ac.at>
> Date: 05. Jänner 2007 08:33:21 GMT+01:00
> To: KUPU dev <kupu-dev <at> codespeak.net>
> Subject: [kupu-dev]  Kupu 1.4 beta 3, i18n image uploads fail!
>
> Hello, Duncan, hello kupu list!
>
> I still have problems with image uploads as soon as i switch the
> language of a plone site; Image uploads just _fail_ then.
>
> I took three screenshots to show what's going wrong: I have a working
> example with no problems, the site bilingual and english is selected
> (1). I have the same site with german selected, where you can see a
> bug (2), I also experienced a display bug in camino when you click
(Continue reading)

Duncan Booth | 9 Jan 09:30
X-Face
Favicon

Re: Fwd: Kupu 1.4 beta 3, i18n image uploads fail!

bernhard <g.bernhard <at> akbild.ac.at> wrote:

> 
> I really have some serious issues with i18n and kupu-1.4b3, has  
> anyone a clue what could be wrong? I have no response. Was anyone  
> able to reproduce / view the problems I encounter? I will not be able  
> to use kupu on a bi- or multilingual site if image upload does not  
> work. I would think it is very unfortunate to abandon kupu for our  
> university's site. I hope someone can at least give me a clue where  
> to look for the bugs...
> 

I can see three messages in this thread, the original one you posted, my 
response to that, and the message to which I'm now replying. Was my earlier 
response not helpful?

If you missed my earlier response, then check one of the list archives. 
e.g. http://comments.gmane.org/gmane.comp.web.kupu.devel/1935
Duncan Booth | 5 Jan 09:48
X-Face
Favicon

Re: Kupu 1.4 beta 3, i18n image uploads fail!

bernhard <g.bernhard <at> akbild.ac.at> wrote:

> I still have problems with image uploads as soon as i switch the  
> language of a plone site; Image uploads just _fail_ then.

Yes, I'm afraid I still need to go through all the i18n attributes and 
make sure everything which should be translatable is translatable. 
However, this problem appears to be some i18n attributes from the older version 
still lurking on some tags when I'd made some other edits.
Here's a patch which should cure it:

Index: common/kupudrawers/drawer.xsl
===================================================================
--- common/kupudrawers/drawer.xsl	(revision 36104)
+++ common/kupudrawers/drawer.xsl	(working copy)
@@ -432,15 +432,14 @@
                     </span></label>
                 <input id="kupu-upload-file" type="file" name="node_prop_image" size="20"/>
                 <br/>
-                <label i18n:translate="imagedrawer_upload_title_label"
-                    >Title
-                <input id="kupu-upload-title" type="text" name="node_prop_title" size="23"
-                    value=""/>
-                 </label>
-                <label i18n:translate="imagedrawer_upload_desc_label"
-                    >Description<br />
-                <textarea rows="5" cols="40" name="node_prop_desc">&#160;</textarea>
+                <label>
+                   <span i18n:translate="imagedrawer_upload_title_label">Title</span>
+                   <input id="kupu-upload-title" type="text" name="node_prop_title" size="23" value=""/>
(Continue reading)


Gmane