on 05-04-2017 1:23 PM
Hi,
I am implementing AfterSaveListener, where I perform some actions on StockLevelModel change. The problem occurs when I try to call ProductService method getProductForCode. Service call looks like this:
productService.getProductForCode(stockLevel.getProductCode());
Unfortunately service returns error: could not translate value expression 'session.catalogversions'
As I understand it can't find catalog version in the session. I can not set catalog version manually, because I don't know from which catalog this product code comes from.
Are there any thoughts how I can get product within AfterSaveListener?
User | Count |
---|---|
5 | |
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.