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

SimpleMethod: Problem with Variables in key-fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Release, 16.11.02
    • Component/s: None
    • Labels:
      None

      Description

      I found that issue using ContactMechServices for updateContactMech:
      The default-message is dynamically set regarding to what contactMechType you are using.
      The problem was that the variable in property-field was never evaluated as that.

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Mirko,
        Your patch is in
        trunk at revision: 1771440
        R16.11 at revision: 1771444

        I did not backport more, too much efforts.

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Mirko, Your patch is in trunk at revision: 1771440 R16.11 at revision: 1771444 I did not backport more, too much efforts.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Mirko, forgot my previous message, I applied on a wrong working copy, it applies on trunk HEAD :/
        I'll review in details and hopefully apply your patch later...

        Show
        jacques.le.roux Jacques Le Roux added a comment - Mirko, forgot my previous message, I applied on a wrong working copy, it applies on trunk HEAD :/ I'll review in details and hopefully apply your patch later...
        Hide
        vogelsme Mirko Vogelsmeier added a comment -

        I improved the FlexibleMessage to check for Variables in the key-field (eg. for <default-field> it is the attribute "property")

        Show
        vogelsme Mirko Vogelsmeier added a comment - I improved the FlexibleMessage to check for Variables in the key-field (eg. for <default-field> it is the attribute "property")

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            vogelsme Mirko Vogelsmeier
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development