on ‎2018 May 22 10:54 AM
Hi folks
I created a backoffice-wizard doing some things for a lot of products. Last step is showing the result of the work. The displayed texts are coming from ...label.properties files
In order to avoid timeout-problems, I transferred the last step to a cronjob. But unfortunately within the cronjob-environment, the available labels are quite different. Very strange: Obviously only labels from ext-content/productcockpit/web/webroot/WEB-INF/i3-label.properties are available.
Question: How to make my labels available to cronjob?
Thanks in advance, Heiko
Request clarification before answering.
Hi,
in general the cron job runs outside the backoffice context (Spring), therefore you cannot use the LabelService backoffice provides and cannot reach to the bundles defined for the backoffice. I think that the only option would be to pass the required labels to the business logic while triggering the job.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.