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 Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001178 [In-Portal CMS] Data Management bug report always 2011-12-08 09:02 2012-07-25 05:32
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.2.0-B1 Product Version 5.1.3
  Target Version 5.2.0 Product Build
Time EstimateNo estimate
Summary 0001178: DBItem loading problem, when multiple keys are used
Description By default In-Portal looks for an ID of DBItem that is accessed from template in the url. When item ID is missing, but it's data needs to be displayed on a template, then "no_permission" template is shown.

As a part of customization process developer sometimes needs to load DBItem from database using not it's ID, but a combination of fields.
All works fine until nothing is loaded by a field combination.

In this case <inp2:prefix_Field name="IDField"/> tag returns "Array" field instead of "" as usual for unsuccessfully loaded DBItems.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/GznZpLZnKuA/discussion
Change Log Message Fixes DBItem load by multiple fields failure processing
Estimate Points 1
Attached Files patch file icon dbitem_array_load_fix.patch [^] (385 bytes) 2011-12-08 09:02 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0001133closed (5.2.0)Dmitry In-Commerce One-step Checkout 

-  Notes
User avatar (0004232)
alex (manager)
2011-12-08 09:05

Will test all together later.
User avatar (0004233)
alex (manager)
2011-12-08 09:05

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001178: DBItem loading problem, when multiple keys are used
User avatar (0005029)
alex (manager)
2012-07-25 05:32

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r14855
Timestamp: 2011-12-08 09:05:40
Author: alex
Details ] Diff ]
Fixes 0001178: DBItem loading problem, when multiple keys are used
mod - /in-portal/branches/5.2.x/core/kernel/db/db_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:32 alex Note Added: 0005029
2012-07-25 05:32 alex Status resolved => closed
2011-12-08 09:05 alex Note Added: 0004233
2011-12-08 09:05 alex Status reviewed and tested => resolved
2011-12-08 09:05 alex Fixed in Version => 5.2.0-B1
2011-12-08 09:05 alex Resolution open => fixed
2011-12-08 09:05 alex Assigned To !COMMUNITY => alex
2011-12-08 09:05 alex Changeset attached 5.2.x r14855
2011-12-08 09:05 alex Note Added: 0004232
2011-12-08 09:05 alex Status needs testing => reviewed and tested
2011-12-08 09:04 alex Relationship added related to 0001133
2011-12-08 09:04 alex Assigned To => !COMMUNITY
2011-12-08 09:04 alex Developer => alex
2011-12-08 09:04 alex Status active => needs testing
2011-12-08 09:04 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/GznZpLZnKuA/discussion
2011-12-08 09:02 alex New Issue
2011-12-08 09:02 alex File Added: dbitem_array_load_fix.patch
2011-12-08 09:02 alex Change Log Message => Fixes DBItem load by multiple fields failure processing
2011-12-08 09:02 alex Estimate Points => 1



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

Powered by Mantis Bugtracker