- Affected version
- 2.0.0
Judging from the
However, pressing continue on the respective page does not load the step configuration properly because it is dependent on the following condition in
Since
import_config
template, the import system is supposed to allow for importers that don't need any base configuration:
HTML:
<div class="block-body">
<xf:if contentcheck="true">
<xf:contentcheck>
{{ $importer.renderBaseConfigOptions(vars())|raw }}
</xf:contentcheck>
<xf:else />
<div class="block-row">{{ phrase('no_configuration_necessary') }}</div>
</xf:if>
</div>
However, pressing continue on the respective page does not load the step configuration properly because it is dependent on the following condition in
\XF\Admin\Controller\Import
line 68:
PHP:
if ($baseConfig)
{
...
}
Since
$baseConfig
is an empty array, this line will always evaluate to false. The step importer does not have this problem, as the pertaining conditional instead checks for the presence of a hidden input (steps_configured
on line 109).
Last edited: