Hi Benjamin,
thanks - yeah, that sounds exactly like my problem ... too bad it is
already open since July :(
Hopefully this will be fixed soon!
Cheers,
Stefan
Am 04.11.17 um 14:32 schrieb Benjamin Joerger:
Hello Stefan,
I guess this is a bug which is already
reported https://bugs.oxid-esales.com/view.php?id=6668
Cheers
*Gesendet:* Freitag, 03. November 2017 um 17:01 Uhr
*Von:* "Stefan Moises" <moi...@shoptimax.de>
*An:* "dev-general@lists.oxidforge.org" <dev-general@lists.oxidforge.org>
*Betreff:* OXID 6 AJAX Popups in modules
Hi fellow v6 users,
I get a CLASSNOTFOUND error if I try to open a custom AJAX Popup in
the v6 Backend:
/[03 Nov 15:54:52.660799 2017] [exception] [type
OxidEsales\Eshop\Core\Exception\SystemComponentException] [code 0]
[file
/var/www/html/oxid6_demo/vendor/oxid-esales/oxideshop-ce/source/Core/UtilsObject.php]
[line 238] [message EXCEPTION_SYSTEMCOMPONENT_CLASSNOTFOUND
shoptifind_landingpages_ajax]/
I am pretty sure I have setup everything correctly in my metadata.php,
cause the other 99,9% of the module are working... ;)
$sMetadataVersion= '2.0';
/'controllers' => array(/
/ 'shoptifind_landingpages' =>
Shoptimax\Shoptifind\Application\Controller\Admin\ShoptifindLandingpages::class,/
/ 'shoptifind_landingpages_ajax'=>
Shoptimax\Shoptifind\Application\Controller\Admin\ShoptifindLandingpagesAjax::class,/
I've got a namespaced class:
/namespace Shoptimax\Shoptifind\Application\Controller\Admin;/
//**/
/ * Ajax component/
/ *//
/class ShoptifindLandingpagesAjax extends
\OxidEsales\Eshop\Application\Controller\Admin\ListComponentAjax/
/{/
and for all other classes in front- and backend the autoloading etc.
is working fine...
/"autoload": {/
/ "psr-4": {/
/ "Shoptimax\\Shoptifind\\":
"../../../source/modules/shoptimax/shoptifind"/
/ }/
/ }/
So, to me it seems that the "controllers" aliases aren't really
available at this stage when trying to load the popup via the
"shoptifind_landingpages_ajax" alias... any ideas?
Thanks a lot,
Stefan
--
--
************************************
Stefan Moises
Manager Research & Development
shoptimax GmbH
Ulmenstraße 52 H
90443 Nürnberg
Tel.: 0911/25566-0
Fax: 0911/25566-29
moi...@shoptimax.de
http://www.shoptimax.de
Geschäftsführung: Friedrich Schreieck
Ust.-IdNr.: DE 814340642
Amtsgericht Nürnberg HRB 21703
************************************
--
--
************************************
Stefan Moises
Manager Research & Development
shoptimax GmbH
Ulmenstraße 52 H
90443 Nürnberg
Tel.: 0911/25566-0
Fax: 0911/25566-29
moi...@shoptimax.de
http://www.shoptimax.de
Geschäftsführung: Friedrich Schreieck
Ust.-IdNr.: DE 814340642
Amtsgericht Nürnberg HRB 21703
************************************