View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18856 | Bug reports | Import/Export | public | 2023-06-01 16:18 | 2024-11-19 18:15 |
Reporter | TonisOrmisson | Assigned To | TonisOrmisson | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.1.x | ||||
Summary | 18856: buildXMLFromQuery fails to implement LIMIT | ||||
Description | export_helper::buildXMLFromQuery () is supposed 3000 chunk limit to process items in max 3000 chunks. The query limit is applied incorrectly and the limit is not applied to actual query if the Query is a raw string. This will result in failing to copy/export surveys that have items over that limit. | ||||
Steps To Reproduce | Steps to reproduce
Expected resultsurvey is copied without error Actual resultChunk is bigger than expected and the XMLElement->startElement will sometimes fail to run. For example I have got an error "Memory allocation failed : growing buffer". probably depends on specific memory context. Error is not thrown consistently always. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 51fcdf9d94fc42c729b0e08e4508044143bb3804 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 10.6.7-MariaDB-2ubuntu1.1 | ||||
Server OS (if known) | Ubuntu 22 | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | 8.0.21 | ||||
A test file with a bunch of array questions with 100 subquestions each with a number of languages taking the limit >3000 in some items. Will post a PR |
|
file? somehow cannot see it in prev note |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35338 |
|
Tested and merged. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-06-01 16:18 | TonisOrmisson | New Issue | |
2023-06-01 16:18 | TonisOrmisson | Assigned To | => TonisOrmisson |
2023-06-01 16:18 | TonisOrmisson | Status | new => assigned |
2023-06-01 16:25 | TonisOrmisson | Note Added: 75311 | |
2023-06-01 16:25 | TonisOrmisson | File Added: limesurvey_survey_176664.lss | |
2023-06-01 16:25 | TonisOrmisson | Bug heat | 0 => 2 |
2023-06-01 16:27 | TonisOrmisson | Note Added: 75312 | |
2023-06-01 16:27 | TonisOrmisson | File Added: limesurvey_survey_176664-2.lss | |
2023-07-07 23:23 | gabrieljenik | Assigned To | TonisOrmisson => gabrieljenik |
2023-07-07 23:23 | gabrieljenik | Status | assigned => ready for code review |
2023-08-09 16:55 | TonisOrmisson | Changeset attached | => LimeSurvey master bba1a66e |
2023-08-09 16:55 | TonisOrmisson | Note Added: 76526 | |
2023-08-09 16:55 | TonisOrmisson | Assigned To | gabrieljenik => TonisOrmisson |
2023-08-09 16:55 | TonisOrmisson | Resolution | open => fixed |
2023-08-09 17:00 | tibor.pacalat | Status | ready for code review => resolved |
2023-08-09 17:00 | tibor.pacalat | Note Added: 76527 | |
2023-08-09 17:00 | tibor.pacalat | Bug heat | 2 => 4 |
2024-11-19 18:15 | c_schmitz | Status | resolved => closed |