Fixed Migrate from vbulletin 5.5.3 to xenforo2 - Step 18 of 25: Allegati

LottoCED

Member
Affected version
Xenforo v2.1.3 - XenForo Importers 1.2.3 - Vbulletin 5.5.3
Hi,
While doing a VB5 import to XF2 using XFI 1.2.3 I received the following error
On - Step 18 of 25: Allegati 01:46:30 [15.567] 60,77%

I have this error.

Thank's

On forum I have this log:



Analisi dello stack
#0 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'message', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(548): XF\Mvc\Entity\Entity->set('message', NULL)
#2 src/addons/XFI/Import/Importer/vBulletin5.php(1100): XF\Mvc\Entity\Entity->__set('message', NULL)
#3 src/XF/Import/Data/Attachment.php(101): XFI\Import\Importer\vBulletin5->rewriteEmbeddedAttachments(Object(XF\Entity\Post), Object(XF\Entity\Attachment), 1990266, Array)
#4 src/XF/Import/Data/AbstractData.php(136): XF\Import\Data\Attachment->postSave(1990266, 1990266)
#5 src/addons/XFI/Import/Importer/vBulletin.php(3861): XF\Import\Data\AbstractData->save(1990266)
#6 src/XF/Import/Runner.php(231): XFI\Import\Importer\vBulletin->stepAttachments(Object(XF\Import\StepState), Array, 8)
#7 src/XF/Import/Runner.php(59): XF\Import\Runner->runStep('attachments', Object(XF\Import\StepState), 8)
#8 src/XF/Import/Runner.php(151): XF\Import\Runner->run()
#9 src/XF/Import/Runner.php(128): XF\Import\Runner->runUntilCompleteInternal(Object(XF\Import\Manager), Object(Closure))
#10 src/XF/Cli/Command/Import.php(144): XF\Import\Runner->runUntilComplete(Object(XF\Import\Manager), Object(Closure))
#11 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\Import->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Application.php(960): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\Import), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 cmd.php(15): XF\Cli\Runner->run()
#17 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:130
#0 src/XF/Mvc/Entity/Entity.php(736): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'message', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(548): XF\Mvc\Entity\Entity->set('message', NULL)
#3 src/addons/XFI/Import/Importer/vBulletin5.php(1100): XF\Mvc\Entity\Entity->__set('message', NULL)
#4 src/XF/Import/Data/Attachment.php(101): XFI\Import\Importer\vBulletin5->rewriteEmbeddedAttachments(Object(XF\Entity\Post), Object(XF\Entity\Attachment), 1990266, Array)
#5 src/XF/Import/Data/AbstractData.php(136): XF\Import\Data\Attachment->postSave(1990266, 1990266)
#6 src/addons/XFI/Import/Importer/vBulletin.php(3861): XF\Import\Data\AbstractData->save(1990266)
#7 src/XF/Import/Runner.php(231): XFI\Import\Importer\vBulletin->stepAttachments(Object(XF\Import\StepState), Array, 8)
#8 src/XF/Import/Runner.php(59): XF\Import\Runner->runStep('attachments', Object(XF\Import\StepState), 8)
#9 src/XF/Import/Runner.php(151): XF\Import\Runner->run()
#10 src/XF/Import/Runner.php(128): XF\Import\Runner->runUntilCompleteInternal(Object(XF\Import\Manager), Object(Closure))
#11 src/XF/Cli/Command/Import.php(144): XF\Import\Runner->runUntilComplete(Object(XF\Import\Manager), Object(Closure))
#12 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\Import->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/vendor/symfony/console/Application.php(960): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\Import), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 cmd.php(15): XF\Cli\Runner->run()
#18 {main}

Stato richiesta
array(1) {
["cli"] => string(17) "cmd.php xf:import"
}
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XFI release (1.2.4).

Change log:
Bail out of rewriting messages with updated ATTACH BB code in vB5 if $message would be empty.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom