English custom field value is used instead of primary

1 lượt xem
Chuyển tới thư đầu tiên chưa đọc

Sergejs Gribs

chưa đọc,
16:43:46 28 thg 10, 200928/10/09
đến in-port...@googlegroups.com
When ModRewriteHelper tries to find default item template using correspoding custom field value in category, it uses English (language with id 1) instead if using primary language translation. It's very uncomfortable if you have other language set as primary, as you can't understand why custom field value is filled in category edit form, but it doesn't affect anything.

Attached patch fixes the issue.
use_primary_lang_not_id_1.patch

Alexander Obuhovich

chưa đọc,
15:00:51 29 thg 10, 200929/10/09
đến in-port...@googlegroups.com
I've also have noticed this error about 2 year ago, but forgot to report it, because most of projects I work with have primary language with id #1.

Thanks for finding it. I think, that we should search for "l1_" through all code to make sure, that such problem doesn't happen in other system places.


On Wed, Oct 28, 2009 at 10:43 PM, Sergejs Gribs <serg...@gmail.com> wrote:
When ModRewriteHelper tries to find default item template using correspoding custom field value in category, it uses English (language with id 1) instead if using primary language translation. It's very uncomfortable if you have other language set as primary, as you can't understand why custom field value is filled in category edit form, but it doesn't affect anything.

Attached patch fixes the issue.





--
Best Regards,

http://www.alex-time.com

Dmitry A.

chưa đọc,
13:51:45 18 thg 11, 200918/11/09
đến In-Portal Bugs
Any one knows if we have a Task for this yet?

Can't find anything related in Issue Tracker, but may be it's just
me...

DA.

On Oct 29, 1:00 pm, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> I've also have noticed this error about 2 year ago, but forgot to report it,
> because most of projects I work with have primary language with id #1.
>
> Thanks for finding it. I think, that we should search for "l1_" through all
> code to make sure, that such problem doesn't happen in other system places.
>

Alexander Obuhovich

chưa đọc,
13:55:42 18 thg 11, 200918/11/09
đến in-port...@googlegroups.com
I've checked, we don't have one in Tracker, but I suppose we have one in wiki.

--

You received this message because you are subscribed to the Google Groups "In-Portal Bugs" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.





--
Best Regards,

http://www.in-portal.org
http://www.alex-time.com

Phil

chưa đọc,
04:25:52 19 thg 11, 200919/11/09
đến In-Portal Bugs
Hi,

I also propose that when another language is setup as primary for
admin, automatically switch admin lang for the new primary lang
(actually, it stays on English).

Phil.
> > in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsu...@googlegroups.com>
> > .

Alexander Obuhovich

chưa đọc,
09:45:54 23 thg 11, 200923/11/09
đến in-port...@googlegroups.com
I've came across this bug in other project not so long ago. Dima/Sergey please check if there is task for this issue and if not create one and link with this discussion.

On Wed, Oct 28, 2009 at 10:43 PM, Sergejs Gribs <serg...@gmail.com> wrote:
When ModRewriteHelper tries to find default item template using correspoding custom field value in category, it uses English (language with id 1) instead if using primary language translation. It's very uncomfortable if you have other language set as primary, as you can't understand why custom field value is filled in category edit form, but it doesn't affect anything.

Attached patch fixes the issue.

--~--~---------~--~----~------------~-------~--~----~

You received this message because you are subscribed to the Google Groups "In-Portal Bugs" group.
To post to this group, send email to in-port...@googlegroups.com
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Dmitry A.

chưa đọc,
00:00:44 7 thg 12, 20097/12/09
đến In-Portal Bugs
New task filed (patch attached)

439: English Custom Field value is used instead of Primary

http://tracker.in-portal.org/view.php?id=439


DA.

On Nov 23, 8:45 am, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> I've came across this bug in other project not so long ago. Dima/Sergey
> please check if there is task for this issue and if not create one and link
> with this discussion.
>
>
>
>
>
> On Wed, Oct 28, 2009 at 10:43 PM, Sergejs Gribs <sergb...@gmail.com> wrote:
> > When ModRewriteHelper tries to find default item template using
> > correspoding custom field value in category, it uses English (language with
> > id 1) instead if using primary language translation. It's very uncomfortable
> > if you have other language set as primary, as you can't understand why
> > custom field value is filled in category edit form, but it doesn't affect
> > anything.
>
> > Attached patch fixes the issue.
>
> > --~--~---------~--~----~------------~-------~--~----~
> > You received this message because you are subscribed to the Google Groups
> > "In-Portal Bugs" group.
> > To post to this group, send email to in-port...@googlegroups.com
> > To unsubscribe from this group, send email to
> > in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go oglegroups.com>
Trả lời tất cả
Trả lời tác giả
Chuyển tiếp
0 tin nhắn mới