View Issue Details

IDProjectCategoryView StatusLast Update
0012491mantisbtadministrationpublic2013-10-04 14:21
Reportermwyraz Assigned Toatrol  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.2.3 
Summary0012491: It's not possible to store complex config ararys which elements contains commas
Description

If one tries to store an array with an element that contains commas, the elements get splitted.

E.g.
array ( 10=> "a,b" )
becomes
array ( 10=> "a", 1=>"b" )

The problem is in adm_config_set.php:
$t_values = explode( ',', trim( $t_match[1] ) );

This splits the array and ignores string boundaries.

Possible solution: split at ",\n"
Better solution: create a real parser ^^

Additional Information

This blocks creation of custom workflows!

TagsNo tags attached.

Relationships

duplicate of 0013298 closeddregad commas and multi-dimensional arrays in adm_config_set 

Activities

mwyraz

mwyraz

2010-10-27 08:45

reporter   ~0027182

Version is 1.2.3

jens876

jens876

2010-12-21 04:10

reporter   ~0027648

This Problem still exists in 1.2.4.

atrol

atrol

2013-09-23 14:48

developer   ~0038101

This issue is not reproducible with the current version of MantisBT.

We recommend that you upgrade to the latest stable version [1]; if after doing so the problem persists, do not hesitate to reopen the issue, with additional relevant information.

[1] https://sourceforge.net/projects/mantisbt/files/mantis-stable/

dregad

dregad

2013-09-24 04:33

developer   ~0038102

Was fixed in 1.2.13 actually, see duplicate 0013298