Details

    • Type: Bug Fix
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • Rice Module:
      KRAD
    • Application Requirement:
      KFS

      Description

      The standard method for copying business object instances is to perform a serialization and materialization of the object to and from a byte stream. While the business object itself will have its primary key reset, dependent objects in the serialized stream are copied as-is. While this is fine in most cases (chart code, account number, etc) we need to allow the business object to decide which dependents need to be copied as if they were also new objects. I propose that KNS respect the java Cloneable interface, and use that if implemented, rather than performing the serialization-based copy.

        Attachments

          Activity

          Hide
          tbradford Thomas Bradford (Inactive) added a comment -

          The workaround to this is to create a Maintainable subclass that does one-off processAfterCopy handling for each business object class being maintained. Obviously, this is an awkward approach to copying, and something business object class-specific would be ideal from an implementation standpoint.

          Show
          tbradford Thomas Bradford (Inactive) added a comment - The workaround to this is to create a Maintainable subclass that does one-off processAfterCopy handling for each business object class being maintained. Obviously, this is an awkward approach to copying, and something business object class-specific would be ideal from an implementation standpoint.

            People

            • Assignee:
              Unassigned
              Reporter:
              tbradford Thomas Bradford (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: