Hi Danijel,
Is this working at runtime (in AEM)? I don’t believe it is working.
The reason is:
So in short:
--
You received this message because you are subscribed to the Google Groups "wcm-io Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
wcm-io-dev+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/wcm-io-dev/CAHy%3D9eAot9A9nAPYhn2ZXGr0ZAbxfQ4Gd-frVv62oOiceuakAA%40mail.gmail.com.
This email message is confidential and for the sole use of the intended recipient(s). For more information on our email security procedures and how we protect your data, check our www.amplexor.com/privacy. | Cet e-mail est confidentiel et pour l'usage exclusif du (des) destinataire(s) prévu(s). Pour plus d'informations sur nos procédures de sécurité relatives aux e-mails et à la manière dont nous protégeons vos données, veuillez consulter notre www.amplexor.com/politique-confidentialite.
To view this discussion on the web visit https://groups.google.com/d/msgid/wcm-io-dev/AM0PR04MB6627937F5B015E5ADC89C92EEAFA9%40AM0PR04MB6627.eurprd04.prod.outlook.com.
hello danijel.
i agree with henry that normally self-injecting a CAConfig (in your case adapting request to a specific CAconfig) should not work out of the box.
probably in your project there is a custom AdapterFactory in place that is doing this adaptation for convenience?
in this case you just have to register this AdapterFactory OSGi service in your test context as well.
stefan
To view this discussion on the web visit https://groups.google.com/d/msgid/wcm-io-dev/CAHy%3D9eCj36n1J5a3BQd3axuRhqaR6e0Fs_owYwkgKoJ%2BOq6F9w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wcm-io-dev/AS8PR07MB723838241585A8464621318FB8FA9%40AS8PR07MB7238.eurprd07.prod.outlook.com.