Skip to main content
Recent Posts
8
Bug Reports / Re: [1.1.3] merge more then one topic
Last post by Spuds -
*head scratch* .... I think It should allow you to merge more than one at a time.

So we may need to update that line of text so its actually correct :P

Although the bug is showing up in merge topics, I think its a bit more general of an issue, albeit very rare in the code.  ElkArte uses a centralized post and validation class to interact and validate form data.  I'd start with this edit to the HttpReq.class.php in sources and see how that goes.

Code: (find) [Select]
		// To the validator
$this->_dataValidator->validation_rules(array());
$this->_dataValidator->sanitation_rules(array($name => $sanitize));
$this->_dataValidator->validate($this->_param);

Code: (replace) [Select]
		// To the validator
$this->_dataValidator->validation_rules(array());
$this->_dataValidator->sanitation_rules(array($name => $sanitize));

if (is_array($this->_param[$name]))
$this->_dataValidator->input_processing(array($name => 'array'));

$this->_dataValidator->validate($this->_param);

That scripturl issue in the image looks to be your theme issue, I don't see that in the default theme (your probably missing a global $scripturl; in your theme function. 

Not being able to press back is "normal" as you submitted a form, going back is not going to work since your are effectively trying to submit again.  The message could be better, but the result would be the same, denied !

I'll track this for 1.1.5 ETA: https://github.com/elkarte/Elkarte/issues/3216
9
Bug Reports / Re: [1.1.3] merge more then one topic
Last post by tino -
On the top of the merge it says

"This function will merge the messages of two topics into one topic. The messages will be sorted according to the time of posting. Therefore the earliest posted message will be the first message of the merged topic. "

The bug is allowing you to select more than two.