OFBiz
  1. OFBiz
  2. OFBIZ-3904

Bug in calling methods defined in Usps Services

    Details

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

      Description

      Calling "getPackageSplit" & "calcPackageWeight" methods from outside of the class causes compilation error, as their access modifiers are private.
      So fixing this bug, following points are covered in this commit.

      1) Moving "getPackageSplit" and "calcPackageWeight" from UspsServices.java to ShipmentWorker.java. They are not Usps third party related methods.
      2) Changing access modifiers of these methods to public.

      1. OFBIZ-3904.patch
        18 kB
        Vivek Mishra

        Activity

        Vivek Mishra created issue -
        Vivek Mishra made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Vivek Mishra added a comment -

        Here is the patch for the same.

        Show
        Vivek Mishra added a comment - Here is the patch for the same.
        Vivek Mishra made changes -
        Attachment OFBIZ-3904.patch [ 12453230 ]
        Ashish Vijaywargiya made changes -
        Assignee Ashish Vijaywargiya [ toashishvijay ]
        Hide
        Ashish Vijaywargiya added a comment -

        Thanks Vivek for the contribution - committed in trunk at r990127 & ReleaseBranch 10.04 at r990130.


        Ashish

        Show
        Ashish Vijaywargiya added a comment - Thanks Vivek for the contribution - committed in trunk at r990127 & ReleaseBranch 10.04 at r990130. – Ashish
        Ashish Vijaywargiya made changes -
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Vivek Mishra added a comment -

        Thanks Ashish.

        Show
        Vivek Mishra added a comment - Thanks Ashish.
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        23s 1 Vivek Mishra 27/Aug/10 12:25
        Patch Available Patch Available Closed Closed
        1h 16m 1 Ashish Vijaywargiya 27/Aug/10 13:42

          People

          • Assignee:
            Ashish Vijaywargiya
            Reporter:
            Vivek Mishra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development