hey

something went wrong... the language got set as "Array", instead of the intended language (pt-pt).
when editing the node, it defaults back to language neutral... in other words, it failed, resulted in a invalid array, and drupal rejects the language setting for the content

Tecnologias novo Page admin não publicado Array editar

tried setting pt-pt for multiple content, some were neutral some pt-pt... all were of content type page.
content type set as multilingual, translatable

this a bug or am i doing something wrong?

specs:
drupal 6.19
i18n latest
lang assign 1.2
language neutral/english disabled
defaulting to pt-pt

CommentFileSizeAuthor
#1 ladebug.txt674 bytesAndrew Schulman

Comments

Andrew Schulman’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » Andrew Schulman
Category: support » bug
StatusFileSize
new674 bytes

Sounds like a bug allright. Sorry about that, that should never happen.

Can you please do some debugging for me, in order to help me figure out why this is happening? What I need you to do is to save the attached file (ladebug.txt) as ladebug.php, in the root of your site's Drupal directory. Then go to http://www.domain.com/ladebug.php, and post the resulting output here.

Andrew Schulman’s picture

Status: Active » Postponed (maintainer needs more info)

I'd like to fix this bug, but I need your help with debugging (see comment #1) since I can't reproduce it on my site.

lpalgarvio’s picture

will get back to you soon

lpalgarvio’s picture

Status: Postponed (maintainer needs more info) » Active

sorry for the delay, had other urgent issues.

currently, i have 2 languages set.
* Portuguese, Portugal (pt-pt), as default language, in path /
* English (en), as secondary language, in path /en

Set language => array(
    label => array(
        languageassign- => Neutro em relação ao idioma
        languageassign-en => Inglês
        languageassign-pt-pt => Português, Portugal
    ),
),
Andrew Schulman’s picture

Thanks, I think this helped me nail it. I just uploaded a revised module. Can you please test it, using either the new -dev release that will be available later today, or a CVS checkout? And let me know if the problem is fixed.

Andrew Schulman’s picture

Status: Active » Needs review
lpalgarvio’s picture

will test soon, when i get some free time

Andrew Schulman’s picture

Status: Needs review » Fixed

I tested this. It's fixed in version 6.x-1.3. Feel free to reopen if you think it's not fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.