Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: ALL COMPONENTS
    • Labels:
      None
    • Sprint:
      Community Day 2 - 2015, Community Day 3 - 2015, Re-Factor Sprint 1

      Description

      Strategy:

      1. Using an IDE replace the deprecated methods in Java code (but not in GenericValue class)
      2. Before removing the deprecated methods from GenericValue class, place
        Debug.logWarning("deprecated 'methodName', please replace them, see OFBIZ-6651", new Exception()); 
        

        in them. On the long run, this will allow to spot where these methods are used in templates and scripts and replace them

        Issue Links

          Activity

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

          Done at r1704769

          Show
          jacques.le.roux Jacques Le Roux added a comment - Done at r1704769
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          BTW I did not close this issue in case there are cases who surface, but I will close it now. If someone get an issue please reopen

          Show
          jacques.le.roux Jacques Le Roux added a comment - BTW I did not close this issue in case there are cases who surface, but I will close it now. If someone get an issue please reopen
          Hide
          jacques.le.roux Jacques Le Roux added a comment - - edited

          I guess so, nobody's perfect

          Show
          jacques.le.roux Jacques Le Roux added a comment - - edited I guess so, nobody's perfect
          Hide
          mbecker Martin Becker added a comment -

          Oh yes, I see, sorry. Maybe I should have used the full text search by my own when I build the fix for OFBIZ-6276 a few month ago...

          Show
          mbecker Martin Becker added a comment - Oh yes, I see, sorry. Maybe I should have used the full text search by my own when I build the fix for OFBIZ-6276 a few month ago...
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Hi Martin,

          Did not see your comments (Jira should push updates when you have the issue opened), but that's actually what I did at r1704769. It's more complicated for getRelated (980 occurences) and getRelatedOne (726 occurences). I did it by hand yesterday after OFBIZ-6276, that gave me some thoughts...

          Show
          jacques.le.roux Jacques Le Roux added a comment - Hi Martin, Did not see your comments (Jira should push updates when you have the issue opened), but that's actually what I did at r1704769. It's more complicated for getRelated (980 occurences) and getRelatedOne (726 occurences). I did it by hand yesterday after OFBIZ-6276 , that gave me some thoughts...
          Hide
          mbecker Martin Becker added a comment -

          Why not just using the full text search for finding occurrences in templates, screen-definitions and scripts?

          Show
          mbecker Martin Becker added a comment - Why not just using the full text search for finding occurrences in templates, screen-definitions and scripts?
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          OK good news point 1 is done: there are no deprecated methods from GenericValue class used in OFBiz OOTB Java code. I will do point 2 right away

          Show
          jacques.le.roux Jacques Le Roux added a comment - OK good news point 1 is done: there are no deprecated methods from GenericValue class used in OFBiz OOTB Java code. I will do point 2 right away

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile