Hi,
Actually I work on gift card and I found some error on source code and
demo data.
I create a jira
https://issues.apache.org/jira/browse/OFBIZ-1113 for
source code but for second error I need your opinion.
For create gift card, after select it, we need fill survey. But the
associate survey with demo data doens't works. Why ?
In data demo I found this :
<ProductStoreSurveyAppl productStoreSurveyId="1000"
productStoreId="9000" surveyApplTypeId="CART_ADD" surveyId="1100"
productId="FA-001" fromDate="2003-11-24 16:00:02.467"
surveyTemplate="/applications/content/template/survey/genericsurvey.ftl"
lastUpdatedStamp="2003-12-04 21:40:23.27" lastUpdatedTxStamp="2003-12-04
21:40:20.607"/>
<ProductStoreSurveyAppl productStoreSurveyId="1000"
productStoreId="9000" surveyApplTypeId="CART_ADD" surveyId="1000"
productCategoryId="GC-101" fromDate="2003-11-24 16:00:02.467"
surveyTemplate="/applications/content/template/survey/genericsurvey.ftl"
lastUpdatedStamp="2003-12-04 21:40:23.27" lastUpdatedTxStamp="2003-12-04
21:40:20.607"/>
When you load demo data , we obtain :
<ProductStoreSurveyAppl productStoreSurveyId="1000"
productStoreId="9000" surveyApplTypeId="CART_ADD" surveyId="1000"
productCategoryId="GC-101" fromDate="2003-11-24 16:00:02.467"
productId="FA-001"
surveyTemplate="/applications/content/template/survey/genericsurvey.ftl"
lastUpdatedStamp="2003-12-04 21:40:23.27" lastUpdatedTxStamp="2003-12-04
21:40:20.607"/>
And when we buy gift card, we haven't survey to fill because
ProductStoreWorker.getProductSurver match first productId and not
productCategoryId.
error is on demo data or ProductStoreWorker.getProductSurver that to
have match productId and also productCategory if productId not equals?
Nicolas
--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet :
http://www.neogia.org/-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site :
http://www.librenberry.net/