Jump to content

Applications downloads


mdmx

Recommended Posts

Posted

So, you edited the category, saved the category, on the now saved page you clicked the copy, then select where to copy it? 

If so, and still an issue, submit a ticket.

Posted

@Aiwa is correct. Your issue was that you didn't save the category. When you use the copy setting button, it will copy the existing value, but since the form wasn't submitted yet, the existing value is NULL.

Posted
1 hour ago, mdmx said:

@Daniel F This happens even if you save the settings

Submit a ticket.

I can confirm this bug

 

I've also found next issue

\system\Node\Controller.php

				function() use( $url )
				{
					/* Clear guest page caches */
					\IPS\Data\Cache::i()->clearAll();

					/* Clear the value in the session */
					unset( $_SESSION[ \IPS\Request::i()->key ] );

					/* And redirect */
					$finishUrl = $url->setQueryString( array( 'do' => 'form', 'id' => \IPS\Request::i()->from ) );
					if ( \IPS\Request::i()->subnode )
					{
						$finishUrl = $finishUrl->setQueryString( 'subnode', 1 );
					}
					\IPS\Output::i()->redirect( $finishUrl );
				},
				FALSE

Pay attention on FALSE

\system\Helpers\MultipleRedirect\MultipleRedirect.php

	/**
	 * Constructor
	 *
	 * @param	string		$url			The URL where the redirector takes place
	 * @param	callback	$callback		The function to run - should return an array with three elements, or NULL to indicate the process is finished or a string to display -
	 *	@li	Data to pass back to itself for the next "step"
	 *	@li	A message to display to the user
	 *	@li	[Optional] A number between 	1 and 100 for a progress bar
	 * @param	callback	$finished		Code to run when finished
	 * @param	bool		$finalRedirect	If FALSE, will not force a real redirect to the finished method
	 * @return	void
	 */

$finalRedirect    If FALSE, will not force a real redirect to the finished method

So we will always (while key exists) get old value from $_SESSION

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...