Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6665

ecommerce screen exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 14.12.01, 16.11.01
    • ecommerce
    • None

    Description

      Try this. http://localhost:8080/ecommerce/scanning-book-product-CFSV1001-p

      console output...

      2015-10-09 12:39:04,778 |http-bio-8080-exec-7 |ServiceDispatcher |T| Sync service [ecommerce/getProductFeatures] finished in [1] milliseconds
      2015-10-09 12:39:04,789 |http-bio-8080-exec-7 |ServiceDispatcher |T| [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'ecommerce / countProductView'
      2015-10-09 12:39:04,789 |http-bio-8080-exec-7 |ServiceDispatcher |T| [[ASync service finished...- total:0.0,since last(ASync service sta...):0.0]] - 'ecommerce / countProductView'
      2015-10-09 12:39:04,914 |http-bio-8080-exec-7 |ProductConfigWorker |I| New configId created:null
      2015-10-09 12:39:04,964 |http-bio-8080-exec-7 |runtime |E| Error executing FreeMarker template
      freemarker.core._TemplateModelException: Java method "org.ofbiz.product.config.ProductConfigItemContentWrapper.get(String)" takes 1 argument, but 2 was given.


      FTL stack trace ("~" means nesting-related):

      • Failed at: #assign image = question.content.get(... [in template "component://ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl" at line 464, column 17]

        at freemarker.ext.beans.SimpleMethod.unwrapArguments(SimpleMethod.java:67) ~[freemarker-2.3.22.jar:2.3.22]
        at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:72) ~[freemarker-2.3.22.jar:2.3.22]
        at freemarker.core.MethodCall._eval(MethodCall.java:62) ~[freemarker-2.3.22.jar:2.3.22]
        at freemarker.core.Expression.eval(Expression.java:78) ~[freemarker-2.3.22.jar:2.3.22]
        at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:80) ~[freemarker-2.3.22.jar:2.3.22]
        at freemarker.core.Expression.eval(Expression.java:78) ~[freemarker-2.3.22.jar:2.3.22]

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            wt Wai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: