-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: logTab is not a constructor when accessing Datahub Config #344
Comments
Eventually application logger is not installed/activated. |
@sessterling Hi, sorry I am only able to reproduce the bug when I uninstall |
@robertSt7 Hi, i unistall I also have this error when i login |
@robertSt7 please check if the dependent ( |
@sessterling Hi, sorry, but we are closing the issue as we are not able to reproduce it. Please feel free to open it again if you have a reproducible case. Thanks for your understanding |
For people who have the same problem, the solution is to first import PimcoreApplicationLoggerBundle, then PimcoreDataHubBundle in config\bundles.php. `<?php use Pimcore\Bundle\DataHubBundle\PimcoreDataHubBundle; return [ |
The problem also happened to me. I did not register the <?php
use Pimcore\Bundle\DataHubBundle\PimcoreDataHubBundle;
use Pimcore\Bundle\DataImporterBundle\PimcoreDataImporterBundle;
return [
PimcoreDataHubBundle::class => ['all' => true],
PimcoreDataImporterBundle::class => ['all' => true],
]; Unfortunately, because loading priority has not been defined for Error https://github.com/pimcore/data-importer/blob/1.8/src/PimcoreDataImporterBundle.php#L154 public static function registerDependentBundles(BundleCollection $collection): void
{
$collection->addBundle(PimcoreDataHubBundle::class, 20);
$collection->addBundle(new FlysystemBundle());
$collection->addBundle(new PimcoreAdminBundle(), 60);
if (\Pimcore\Version::getMajorVersion() >= 11) {
// Missed priority
$collection->addBundle(
\Pimcore\Bundle\ApplicationLoggerBundle\PimcoreApplicationLoggerBundle::class
);
}
} When I defined priority to $collection->addBundle(\Pimcore\Bundle\ApplicationLoggerBundle\PimcoreApplicationLoggerBundle::class, 1); Temporary solution:
<?php
use Pimcore\Bundle\ApplicationLoggerBundle\PimcoreApplicationLoggerBundle;
use Pimcore\Bundle\DataHubBundle\PimcoreDataHubBundle;
use Pimcore\Bundle\DataImporterBundle\PimcoreDataImporterBundle;
return [
PimcoreApplicationLoggerBundle::class => ['all' => true],
PimcoreDataHubBundle::class => ['all' => true],
PimcoreDataImporterBundle::class => ['all' => true],
]; |
we need to set priority of application logger bundle properly. |
Fixed by #351 |
Expected behavior
When a "Data Object Importer" configuration is created, an interface is displayed to configure it.
Actual behavior
When creating a "Data Object Importer" configuration, the screen remains blank.
I receive the error "Uncaught TypeError: pimcore.plugin.pimcoreDataImporterBundle.configuration.components.logTab is not a constructor" when trying to access the Datahub Config window.
The Datahub Config window is then stuck and is not interactive
Steps to reproduce
Install Pimcore Version: v11.0.3
Install Datahub
Install Data Importer
The text was updated successfully, but these errors were encountered: