Anonymous | Login | Signup for a new account | 2023-12-06 14:44 CST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
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 Estimate | No 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 |
![]() |
||||||
|
![]() |
|
![]() |
|
![]() alex (manager) 2012-05-17 03:20 |
Will test all together later. |
![]() 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 |
![]() alex (manager) 2012-07-25 05:30 |
Since 5.2.0/1.2.0 versions was released. |
![]() |
|||
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 ] | ||
![]() |
|||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |