Details

      Description

      Steps:

      1) Login in eCommerce app using DemoCustomer/ofbiz
      2) Click on expire link against an address under Contact Information screenlet and you see the error.

      Reported by Pranay Pandey.

      1. viewprofile.patch
        1 kB
        Chandan Khandelwal
      2. viewprofile.patch
        2 kB
        Chandan Khandelwal

        Activity

        Gavin made changes -
        Workflow jira [ 12462667 ] OFbiz Workflow [ 12506683 ]
        Jacques Le Roux made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Vikas Mayur [ vikasmayur ] Jacques Le Roux [ jacques.le.roux ]
        Resolution Fixed [ 1 ]
        Hide
        Jacques Le Roux added a comment - - edited

        Thanks Chandan,

        I have finally added a slightly modified version of your patch by hand (just removed the & nbsp; around the label) in trunk at r773697 and R9.04 at r773698.

        Show
        Jacques Le Roux added a comment - - edited Thanks Chandan, I have finally added a slightly modified version of your patch by hand (just removed the & nbsp; around the label) in trunk at r773697 and R9.04 at r773698.
        Hide
        Jacques Le Roux added a comment -

        Hi Chandan,

        There is an issue in your patch :

        D:\workspace\ofbizRun>patch -p0 0<viewprofile.patch
        patching file specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
        patch: **** malformed patch at line 17:

        BTW why everybody is putting   around each uilabels, very mysterious...

        Show
        Jacques Le Roux added a comment - Hi Chandan, There is an issue in your patch : D:\workspace\ofbizRun>patch -p0 0<viewprofile.patch patching file specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl patch: **** malformed patch at line 17: BTW why everybody is putting   around each uilabels, very mysterious...
        Chandan Khandelwal made changes -
        Attachment viewprofile.patch [ 12407536 ]
        Hide
        Chandan Khandelwal added a comment -

        updated patch for this issue.

        Show
        Chandan Khandelwal added a comment - updated patch for this issue.
        Hide
        Ashish Nagar added a comment -

        Hello Chandan,

        Is there any need to put name as *createCustRequestFromShoppingList_$

        {shoppingList.shoppingListId}* than a simple name as createCustRequestFromShoppingList ?

        The link
        <a href="<@ofbizUrl>createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId}

        </@ofbizUrl>" class="submenutext">$

        {uiLabelMap.OrderCreateCustRequestFromShoppingList}</a>
        is not under any list, so no need to name form like that.

        + <div>
        + <form name= "createCustRequestFromShoppingList_${shoppingList.shoppingListId}" method= "post" action= "<@ofbizUrl>createCustRequestFromShoppingList</@ofbizUrl>">
        + <input type= "hidden" name= "shoppingListId" value= "${shoppingList.shoppingListId}"/>
        + <a href='javascript:document.createCustRequestFromShoppingList_${shoppingList.shoppingListId}.submit()' class='submenutext'> ${uiLabelMap.OrderCreateCustRequestFromShoppingList}

         </a>
        + </form>
        + </div>

        Also, I don't think any need to put enclosing div's here. Please, let me know if you have any doubts.

        Thanks,

        Ashish Nagar

        Show
        Ashish Nagar added a comment - Hello Chandan, Is there any need to put name as *createCustRequestFromShoppingList_$ {shoppingList.shoppingListId}* than a simple name as createCustRequestFromShoppingList ? The link <a href="<@ofbizUrl>createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId} </@ofbizUrl>" class="submenutext">$ {uiLabelMap.OrderCreateCustRequestFromShoppingList}</a> is not under any list, so no need to name form like that. + <div> + <form name= "createCustRequestFromShoppingList_${shoppingList.shoppingListId}" method= "post" action= "<@ofbizUrl>createCustRequestFromShoppingList</@ofbizUrl>"> + <input type= "hidden" name= "shoppingListId" value= "${shoppingList.shoppingListId}"/> + <a href='javascript:document.createCustRequestFromShoppingList_${shoppingList.shoppingListId}.submit()' class='submenutext'> ${uiLabelMap.OrderCreateCustRequestFromShoppingList}  </a> + </form> + </div> Also, I don't think any need to put enclosing div's here. Please, let me know if you have any doubts. Thanks, – Ashish Nagar
        Chandan Khandelwal made changes -
        Attachment viewprofile.patch [ 12407345 ]
        Hide
        Chandan Khandelwal added a comment -

        Here is the patch for this issue
        Note : allignment of the link "Create New Quote" And " Save" is disturb due to use of form.

        Show
        Chandan Khandelwal added a comment - Here is the patch for this issue Note : allignment of the link "Create New Quote" And " Save" is disturb due to use of form.
        Vikas Mayur made changes -
        Field Original Value New Value
        Fix Version/s Release Branch 9.04 [ 12313602 ]
        Fix Version/s SVN trunk [ 12311928 ]
        Affects Version/s Release Branch 9.04 [ 12313602 ]
        Affects Version/s SVN trunk [ 12311928 ]
        Description Steps:

        1) Login in eCommerce app using DemoCustomer/ofbiz
        2) Click on expire link against an address under Contact Information screenlet and you see the error.

        Reported by Pranay Pandey.
        Component/s specialpurpose/ecommerce [ 12311148 ]
        Vikas Mayur created issue -

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Vikas Mayur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development