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

Error on Add Item to Shopping List Screen

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.11.04
    • Fix Version/s: Release Branch 16.11
    • Component/s: party
    • Labels:
      None

      Description

      While working on 16.11 branch, I noticed error when I try to add an item into shopping cart. Here are the steps to replicate the issue:

      1. Go to Party Manager.
      2. Select customer to navigate over profile page.
      3. Click upon Shopping Lists tab.
      4. Create new shopping list, if no one is persist.
      5. Add an item to existing/new shopping list.

      As soon as you click to add on item you will see following error in list item and quick add to shopping list sections.

      The following has evaluated to null or missing: ==> renderNextPrev [in 
      template "component://common/template/includes/HtmlTemplate.ftl" at line
       66, column 5] ---- Tip: If the failing expression is known to be 
      legally refer to something that's sometimes null or missing, either 
      specify a default value like myOptionalVar!myDefault, or use <#if 
      myOptionalVar??>when-present<#else>when-missing. (These only 
      cover the last step of the expression; to cover the whole expression, 
      use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? 
      ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: 
      @renderNextPrev paginateStyle, pagina... [in template 
      "component://common/template/includes/HtmlTemplate.ftl" in macro 
      "nextPrev" at line 66, column 3] - Reached through: @nextPrev 
      commonUrl=commonUrl ajaxEna... [in template 
      "component://party/template/party/EditShoppingList.ftl" at line 187, 
      column 9] ----
      

        Attachments

        1. OFBIZ-10208-EditShoppingListScreen-Fixed.png
          123 kB
          Yogesh Naroliya
        2. OFBIZ-10208-R16.11.patch
          6 kB
          Yogesh Naroliya

          Activity

            People

            • Assignee:
              rishisolankii Rishi Solanki
              Reporter:
              upadhyay.ratnesh Ratnesh Upadhyay
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: