Anonymous | Login | Signup for a new account | 2024-03-29 10:53 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0000859 | [In-Portal CMS] Front End | bug report | always | 2010-09-12 13:11 | 2010-11-30 12:48 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.1.1-B1 | ||
Status | closed | Product Version | 5.0.2 | Target Version | 5.1.1 | ||
Time Estimate | No estimate | ||||||
Summary | 0000859: Multilingual field sorting sometimes doesn't work | ||||||
Description |
I have one language installed, e.g. "English" (id = 1). Then I create several products (because their name/description is multilingual). Then in database I could verify, that such products have values in "l1_Name", "l1_Description" fields, but doesn't have values inside "l2_Name", "l2_Description" fields, because I don't have language with ID = 2 yet. I add new language to the site, e.g. "Russian" (id = 2). Products I've created still have empty values for "l2_*" fields, because kMultiLanguage formatter class will automatically show values from l1_* fields, when requested l2_* field value is missing. When I try to sort products in category on Front-End, when I'm on Russian language (id = 2), then it doesn't sort, because l2_* fields for products created before "Russian" language was added is empty. I propose we use same kind of functionality for multilingual field ordering as kMultiLanguage formatter class: sort value on current language, when present, but when not present, then sort value in primary language. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | http://groups.google.com/group/in-portal-bugs/browse_thread/thread/89c14c52fea8aa8b | ||||||
Change Log Message | |||||||
Estimate Points | 0 | ||||||
Attached Files | ml_field_sorting_problem_v2.patch [^] (2,970 bytes) 2010-09-12 13:11 [Show Content] | ||||||
|
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||
|
Notes | |
(0002820) alex (manager) 2010-09-12 13:12 |
Only will work on Front-End. Test use dropdown to sort links in category. Verify, that links are sorted no matter if they have value in "Name" field on current language or not. |
(0002823) Dmitry (manager) 2010-09-12 20:20 |
Tested and ready for commit. |
(0002825) alex (manager) 2010-09-13 02:05 |
Fix committed to 5.1.x branch. Commit Message: Fixes 0000859: Multilingual field sorting sometimes doesn't work |
(0003035) Dmitry (manager) 2010-11-30 12:48 |
Closing released 5.1.1 task. |
Related Changesets | |||
In-Portal CMS: 5.1.x r13936 Timestamp: 2010-09-13 02:05:58 Author: alex [ Details ] [ Diff ] |
Fixes 0000859: Multilingual field sorting sometimes doesn't work | ||
mod - /in-portal/branches/5.1.x/core/kernel/db/cat_tag_processor.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.1.x/core/kernel/db/dblist.php | [ Diff ] [ File ] | ||
Issue History | |||
Date Modified | Username | Field | Change |
2011-05-16 03:00 | alex | Relationship added | parent of 0001052 |
2010-11-30 12:48 | Dmitry | Note Added: 0003035 | |
2010-11-30 12:48 | Dmitry | Status | resolved => closed |
2010-11-21 05:14 | alex | Relationship added | parent of 0000931 |
2010-09-13 02:05 | alex | Note Added: 0002825 | |
2010-09-13 02:05 | alex | Status | reviewed and tested => resolved |
2010-09-13 02:05 | alex | Fixed in Version | => 5.1.1-B1 |
2010-09-13 02:05 | alex | Resolution | open => fixed |
2010-09-13 02:05 | alex | Assigned To | !COMMUNITY => alex |
2010-09-13 02:05 | alex | Changeset attached | 5.1.x r13936 |
2010-09-12 20:20 | Dmitry | Note Added: 0002823 | |
2010-09-12 20:20 | Dmitry | Status | needs testing => reviewed and tested |
2010-09-12 13:12 | alex | Note Added: 0002820 | |
2010-09-12 13:12 | alex | Assigned To | => !COMMUNITY |
2010-09-12 13:12 | alex | Developer | => alex |
2010-09-12 13:12 | alex | Status | active => needs testing |
2010-09-12 13:11 | alex | New Issue | |
2010-09-12 13:11 | alex | File Added: ml_field_sorting_problem_v2.patch | |
2010-09-12 13:11 | alex | Reference | => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/89c14c52fea8aa8b |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |