PhpBB: LogicException: Column 'question' is required and has an empty value while importing XF:Poll

Kirby

Well-known member
Affected version
1.5.2
Code:
#0 src/XF/Import/Data/EntityEmulator.php(328): XF\Import\Data\EntityEmulator->getWriteData()
#1 src/XF/Import/Data/AbstractEmulatedData.php(71): XF\Import\Data\EntityEmulator->insert(73, Object(XF\Db\Mysqli\Adapter))
#2 src/XF/Import/Data/AbstractData.php(129): XF\Import\Data\AbstractEmulatedData->write(73)
#3 src/addons/XFI/Import/Importer/PhpBb.php(1458): XF\Import\Data\AbstractData->save(73)
#4 src/XF/Import/Runner.php(244): XFI\Import\Importer\PhpBb->stepPolls(Object(XF\Import\StepState), Array, 8)
#5 src/XF/Import/Runner.php(61): XF\Import\Runner->runStep('polls', Object(XF\Import\StepState), 8)
#6 src/XF/Import/Runner.php(154): XF\Import\Runner->run()
#7 src/XF/Import/Runner.php(130): XF\Import\Runner->runUntilCompleteInternal(Object(XF\Import\Manager), Object(Closure))
#8 src/XF/Cli/Command/Import.php(156): XF\Import\Runner->runUntilComplete(Object(XF\Import\Manager), Object(Closure))
#9 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))
#10 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 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))
#12 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 cmd.php(15): XF\Cli\Runner->run()

The value of field poll_title was <t></t>.

Polls without title should be either ignored or imported with a generated title (preferred).
 
Back
Top Bottom