In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
1284 |
[In-Portal CMS] Database |
bug report |
always |
2012-05-17 03:14 |
2012-07-25 05:30 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
5.1.2 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.2.0-RC1 |
|
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 |
|
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. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | |
Attached Files:
|
notice_for_db_getone_calls_in_debug_mode.patch (634) 2012-05-17 03:14 http://tracker.in-portal.org/file_download.php?file_id=1657&type=bug |
|
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 |