Hi folks,
I noticed the Reference foundation component recently. You can use it as a pointer to another configured component. Apparently it is being deprecated. Does anyone know why, are there drawbacks to working with it ?
thanks
Fiona
hi Santosh, Are you saying, if you want to use annotations, don't use classes extended from wcmUsePojo : Convert the Class to be a @Model class instead. ? thanksFiona
hi folks,Can you annotate a class extended from WcmUsePojo with @componentand call a service using @reference? I.e. using felix scr annotations. I tried it and got errors messages about ScriptEvaluationExceptions. The service works fine with bundlecontext. thanksFiona
The problem seems to occur when we are reusing old artifacts on Stage environment. There is a pipeline directive that you can use so that you stop the pipeline reusing old artifacts so I'm going to do this. Hopefully this will resolve my problems.
Thanks Santosh. I might proceed to deploying to Prod, but keep a backup file of the configs on Prod just in case, the same thing happens in that environment. At least I can recover then.
The filter for the aem.config...<timestamp> package has a mode=update and runs after the aem.apps one.You don't suppose the order of these could ever get mixed up?