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

FreeMaker exception1/ while approving the cutomer reviews created by a PartyGroup user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Trunk
    • product
    • None
    • Ubuntu 7.10, Firefox 2.0.0.11

    Description

      FreeMaker exception1/ while approving the cutomer reviews created by a PartyGroup user.

      How to reproduce:

      1. Login as DemoCustCompany in the eCommerce,
      2. Create a customer review.
      3. Login to the Catalog Manager as admin.
      4. Click on the Review tab in Catalog Manager.

      FreeMarker exception is thrown. FreeMarker template expects a Person where as the user was created by PartyGroup. One fix is to to retrived the PartyGroup if the userLogin.getRelated() returns null Person. And then use the groupName field instead of firstName and lastName.

      Please advise.

      Attachments

        1. pendingReviews.ftl.patch
          2 kB
          Raj Saini

        Activity

          People

            jleroux Jacques Le Roux
            rajsaini Raj Saini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: