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
0000807 [In-Portal CMS] Data Management bug report always 2010-07-23 16:05 2010-11-30 12:48
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.1.1-B1 Product Version 5.1.0
  Target Version 5.1.1 Product Build
Time EstimateNo estimate
Summary 0000807: Curl POST doesn't support multidimensional arrays
Description I'm trying to post multidimensional array using curl, but I get array instead.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/ab014c0fe56e798c
Change Log Message
Estimate Points 0
Attached Files patch file icon curl_multi_dimensional_array_support.patch [^] (471 bytes) 2010-07-23 16:05 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002609)
alex (manager)
2010-07-23 16:05

o test you must pass multidimensional array to kCurlHelper::setPostData method, e.g.

$curl_helper->setPostData( Array( Array ('test', test'), Array ('test', test') ));

And then verify, that $_POST is exactly as array given to setPostData method.
User avatar (0002622)
Dmitry (manager)
2010-07-30 17:46

I am getting "No values" for elements in your test case.
User avatar (0002632)
alex (manager)
2010-07-31 07:23

Ups, forgot to add POST variable names. Here is fixed test case:

$curl_helper->setPostData(
    Array (
        'variable1' => Array ('test1', test2'),
        'variable2' => Array ('test2', test3')
    )
);
User avatar (0002638)
Dmitry (manager)
2010-08-02 10:25

Tested good, please commit to 5.1.1
User avatar (0002734)
alex (manager)
2010-08-29 05:34

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000807: Curl POST doesn't support multidimensional arrays
User avatar (0003045)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13904
Timestamp: 2010-08-29 05:34:50
Author: alex
Details ] Diff ]
Fixes 0000807: Curl POST doesn't support multidimensional arrays
mod - /in-portal/branches/5.1.x/core/units/helpers/curl_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003045
2010-11-30 12:48 Dmitry Status resolved => closed
2010-08-31 14:09 alex version => 5.1.0
2010-08-29 05:34 alex Changeset attached 5.1.x r13904
2010-08-29 05:34 alex Note Added: 0002734
2010-08-29 05:34 alex Status reviewed and tested => resolved
2010-08-29 05:34 alex Fixed in Version => 5.1.1-B1
2010-08-29 05:34 alex Resolution open => fixed
2010-08-29 05:34 alex Assigned To !COMMUNITY => alex
2010-08-02 10:25 Dmitry Note Added: 0002638
2010-08-02 10:25 Dmitry Status needs testing => reviewed and tested
2010-07-31 13:19 Dmitry Target Version Icebox => 5.1.1
2010-07-31 13:12 alex Target Version => Icebox
2010-07-31 07:23 alex Note Added: 0002632
2010-07-31 07:23 alex Assigned To alex => !COMMUNITY
2010-07-31 07:23 alex Status needs work => needs testing
2010-07-30 17:46 Dmitry Note Added: 0002622
2010-07-30 17:46 Dmitry Assigned To !COMMUNITY => alex
2010-07-30 17:46 Dmitry Status needs testing => needs work
2010-07-23 16:05 alex Note Added: 0002609
2010-07-23 16:05 alex Assigned To => !COMMUNITY
2010-07-23 16:05 alex Developer => alex
2010-07-23 16:05 alex Status active => needs testing
2010-07-23 16:05 alex New Issue
2010-07-23 16:05 alex File Added: curl_multi_dimensional_array_support.patch
2010-07-23 16:05 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/ab014c0fe56e798c



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

Powered by Mantis Bugtracker