Fixed vBulletin: Can't import notice with empty message

Kirby

Well-known member
Affected version
1.2.3
Code:
#0 src/XF/Import/Data/EntityEmulator.php(325): XF\Import\Data\EntityEmulator->getWriteData()
#1 src/XF/Import/Data/AbstractEmulatedData.php(55): XF\Import\Data\EntityEmulator->insert(2, Object(XF\Db\Mysqli\Adapter))
#2 src/XF/Import/Data/AbstractData.php(127): XF\Import\Data\AbstractEmulatedData->write(2)
#3 src/addons/XFI/Import/Importer/vBulletin.php(4568): XF\Import\Data\AbstractData->save(2)
#4 src/XF/Import/Runner.php(231): XFI\Import\Importer\vBulletin->stepNotices(Object(XF\Import\StepState), Array, 8)
#5 src/XF/Import/Runner.php(59): XF\Import\Runner->runStep('notices', Object(XF\Import\StepState), 8)
#6 src/XF/Import/Runner.php(151): XF\Import\Runner->run()
#7 src/XF/Import/ParallelRunner.php(40): XF\Import\Runner->runUntilCompleteInternal(Object(XF\Import\Manager), Object(Closure))
#8 src/XF/Import/Runner.php(128): XF\Import\ParallelRunner->runUntilCompleteInternal(Object(XF\Import\Manager), Object(Closure))
#9 src/XF/Cli/Command/Import.php(144): XF\Import\Runner->runUntilComplete(Object(XF\Import\Manager), Object(Closure))
#10 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))
#11 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))
#12 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))
#13 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 cmd.php(15): XF\Cli\Runner->run()
#16 {main}
 
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:
If an imported vBulletin notice has no message, set a default value to prevent an error.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom