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
0001284 [In-Portal CMS] Database bug report always 2012-05-17 03:14 2012-07-25 05:30
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-RC1
Status closed Product Version 5.1.2 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001284: Notice about incorrect "current" function usage in kDBConnection class
Description I'm seeing notice, that php can't pass argument by reference each time, when I use $this->Conn->GetOne method and debug mode is enabled.

This is happening, because we us current(current($ret)) construct and "current" function tries to modify given argument, which is not a variable, but a function result.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/rvzOnZ9oHss/discussion
Change Log Message Fixes notice with kDBConnection::GetOne call in debug mode
Estimate Points 1
Attached Files patch file icon notice_for_db_getone_calls_in_debug_mode.patch [^] (634 bytes) 2012-05-17 03:14 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0004639)
alex (manager)
2012-05-17 03:20

Will test all together later.
User avatar (0004640)
alex (manager)
2012-05-17 03:20

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001284: Notice about incorrect "current" function usage in kDBConnection class
User avatar (0004904)
alex (manager)
2012-07-25 05:30

Since 5.2.0/1.2.0 versions was released.

- Related Changesets
In-Portal CMS: 5.2.x r15338
Timestamp: 2012-05-17 03:20:59
Author: alex
Details ] Diff ]
Fixes 0001284: Notice about incorrect "current" function usage in kDBConnection class
mod - /in-portal/branches/5.2.x/core/kernel/db/db_connection.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:30 alex Note Added: 0004904
2012-07-25 05:30 alex Status resolved => closed
2012-05-17 03:21 alex Changeset attached 5.2.x r15338
2012-05-17 03:20 alex Note Added: 0004640
2012-05-17 03:20 alex Status reviewed and tested => resolved
2012-05-17 03:20 alex Fixed in Version => 5.2.0-RC1
2012-05-17 03:20 alex Resolution open => fixed
2012-05-17 03:20 alex Assigned To !COMMUNITY => alex
2012-05-17 03:20 alex Note Added: 0004639
2012-05-17 03:20 alex Status needs testing => reviewed and tested
2012-05-17 03:20 alex Assigned To => !COMMUNITY
2012-05-17 03:20 alex Developer => alex
2012-05-17 03:20 alex Status active => needs testing
2012-05-17 03:20 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/rvzOnZ9oHss/discussion
2012-05-17 03:14 alex New Issue
2012-05-17 03:14 alex File Added: notice_for_db_getone_calls_in_debug_mode.patch
2012-05-17 03:14 alex Change Log Message => Fixes notice with kDBConnection::GetOne call in debug mode
2012-05-17 03:14 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