In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000692 [In-Portal CMS] Database bug report always 2010-04-10 07:25 2010-05-11 02:59
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.0.3-B2
Status closed Product Version 5.0.3-B2 Target Version 5.0.3
Time EstimateNo estimate
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.
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/4718b08bce97334d
Change Log Message
Estimate Points 0
Attached Files patch file icon translatable_fields_not_added_during_table_scan.patch [^] (682 bytes) 2010-04-10 07:25 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000279closed (5.1.0)alex Phrases of state and country names 

-  Notes
User avatar (0001842)
Dmitry (manager)
2010-04-10 23:41

Patch has been tested okay.
User avatar (0001846)
alex (manager)
2010-04-11 08:39

Fix committed to 5.0.x branch. Commit Message:

Fixes 0000692: Translatable fields are not always created during table scan
User avatar (0002089)
alex (manager)
2010-05-11 02:59

Closing all tasks from released versions.

- Related Changesets
In-Portal CMS: 5.0.x r13371
Timestamp: 2010-04-11 08:39:30
Author: alex
Details ] Diff ]
Fixes 0000692: Translatable fields are not always created during table scan
mod - /in-portal/branches/5.0.x/core/units/helpers/multilanguage_helper.php Diff ] File ]

- 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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker