OFBiz
  1. OFBiz
  2. OFBIZ-2942

createPartyContactMechPurpose service doesn't allow fromDate

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 4.0, Release Branch 09.04, Trunk
    • Fix Version/s: 14.12.01, 13.07.01
    • Component/s: party
    • Labels:
      None

      Description

      createPartyContactMechPurpose service doesn't allow the fromDate to be specified; in the java code, it is hard-coded to always call UtilDateTime.nowTimestamp().

      I've got an importer, that does a lot of things. I save the current time at the start of the script, then use that same time in all parts, so that all the date filter is consistent. The above bug keeps me from having consistent data.

        Activity

        Adam Heath created issue -
        Gavin made changes -
        Field Original Value New Value
        Workflow jira [ 12476969 ] OFbiz Workflow [ 12506457 ]
        Hide
        Deepak Dixit added a comment -

        Added code to take fromDate of PartyContactMechPurpose from user. If user provides fromDate then that will be used else nowTimeStamp will be used as fromDate.

        Show
        Deepak Dixit added a comment - Added code to take fromDate of PartyContactMechPurpose from user. If user provides fromDate then that will be used else nowTimeStamp will be used as fromDate.
        Deepak Dixit made changes -
        Attachment OFBIZ-2942.patch [ 12670204 ]
        Anil K Patel made changes -
        Assignee Anil K Patel [ anilpatel ]
        Anil K Patel made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Anil K Patel added a comment -

        Thanks Adam Heath for reporting the issue. The patch by Deepak Dixit on Jira ticket fixes the issue. Now fromDate is also an IN parameter, if found null, then default to now timestamp.
        Fix applied to trunk and 13.07 branch.

        Show
        Anil K Patel added a comment - Thanks Adam Heath for reporting the issue. The patch by Deepak Dixit on Jira ticket fixes the issue. Now fromDate is also an IN parameter, if found null, then default to now timestamp. Fix applied to trunk and 13.07 branch.
        Anil K Patel made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Anil K Patel made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jacopo Cappellato made changes -
        Fix Version/s 13.07.01 [ 12327355 ]
        Fix Version/s Upcoming Branch [ 12327361 ]
        Jacques Le Roux made changes -
        Fix Version/s Release Branch 11.04 [ 12316420 ]
        Fix Version/s 13.07.01 [ 12327355 ]
        Jacques Le Roux made changes -
        Fix Version/s 13.07.01 [ 12329159 ]
        Fix Version/s Release Branch 11.04 [ 12316420 ]
        Fix Version/s Upcoming Branch [ 12327361 ]
        Jacques Le Roux made changes -
        Fix Version/s Upcoming Branch [ 12327361 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1831d 10h 19m 1 Anil K Patel 20/Sep/14 10:24
        In Progress In Progress Resolved Resolved
        11m 10s 1 Anil K Patel 20/Sep/14 10:35
        Resolved Resolved Closed Closed
        4s 1 Anil K Patel 20/Sep/14 10:35

          People

          • Assignee:
            Anil K Patel
            Reporter:
            Adam Heath
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development