Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1179

Prevent the defaultXxx(...) being called multiple times when invoke an action.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.8.0
    • 1.9.0
    • Core
    • None

    Description

      Looking into the code, we seem to call reset() - which is the method that utlimately calls the defaultXxx() methods - twice, once when we construct the ScalarModel and then again later when we make a call to clearArgs.

      Seems to be easy enough to call it just once.

      Attachments

        1. first-call.png
          133 kB
          Daniel Keir Haywood
        2. second-call.png
          132 kB
          Daniel Keir Haywood

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment