In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
692 |
[In-Portal CMS] Database |
bug report |
always |
2010-04-10 07:25 |
2010-05-11 02:59 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
5.0.3-B2 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.0.3-B2 |
|
Reference:
|
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/4718b08bce97334d |
Change Log Message:
|
|
Estimate Points:
|
0 |
|
Summary:
|
0000692: Translatable fields are not always created during table scan |
Description:
|
Each field in unit config can have formatter class set. When formatter is set to "kMultiLanguage" class, then during table scanning (when adding new language or pressing "Rebuild Multilingual Fields" in "System Tools" section) missing translatable fields are created, so we have 1 field for each language, like "l<LANGUAGE_ID>_<FIELD_NAME>".
* When "<FIELD_NAME>" is found in table, then it's parameters are used to create new translatable fields.
* When "<FIELD_NAME>" is not found, then we create translatable fields based on information from field declaration in unit config.
There is an error in regular expression, that checks, that we already have given field created in table resulting field being reported as existing, but it doesn't in fact. For example when you have field "DestName" in table and you have translatable field "Name", then "DestName" is matched instead of "Name" and none translatable fields are added. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | related to | 0000279 | closed (5.1.0) | alex | Phrases of state and country names |
|
Attached Files:
|
translatable_fields_not_added_during_table_scan.patch (682) 2010-04-10 07:25 http://tracker.in-portal.org/file_download.php?file_id=449&type=bug |
|
Issue History |
Date Modified |
Username |
Field |
Change |
2010-05-11 02:59 |
alex |
Note Added: 0002089 |
|
2010-05-11 02:59 |
alex |
Status |
resolved => closed |
2010-04-11 08:39 |
alex |
Note Added: 0001846 |
|
2010-04-11 08:39 |
alex |
Status |
reviewed and tested => resolved |
2010-04-11 08:39 |
alex |
Fixed in Version |
=> 5.0.3-B2 |
2010-04-11 08:39 |
alex |
Resolution |
open => fixed |
2010-04-11 08:39 |
alex |
Assigned To |
!COMMUNITY => alex |
2010-04-11 08:39 |
alex |
Changeset attached |
5.0.x r13371 |
2010-04-10 23:41 |
Dmitry |
Note Added: 0001842 |
|
2010-04-10 23:41 |
Dmitry |
Status |
needs testing => reviewed and tested |
2010-04-10 07:26 |
alex |
Relationship added |
related to 0000279 |
2010-04-10 07:26 |
alex |
Assigned To |
=> !COMMUNITY |
2010-04-10 07:26 |
alex |
Developer |
=> alex |
2010-04-10 07:26 |
alex |
Status |
active => needs testing |
2010-04-10 07:26 |
alex |
Reference |
=> http://groups.google.com/group/in-portal-bugs/browse_thread/thread/4718b08bce97334d |
2010-04-10 07:25 |
alex |
New Issue |
|
2010-04-10 07:25 |
alex |
File Added: translatable_fields_not_added_during_table_scan.patch |
|