Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-135

Rename ambigous getter and setters names on User and UserAdminRole

Attach filesAttach ScreenshotWatch issueCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-RC40
    • 1.0.0-RC42
    • None

    Description

      Ticket was a request from Chris Pike:

      On Jan 5, 2016, at 10:35 AM, Chris Pike <clp207@psu.edu> wrote:

      There are a couple instances where models have multiple set methods for the same field.

      UserAdminRole has...

      public void setOsP( String osP )
      public void setOsP( Set<String> osPs )

      public void setOsU( Set<String> osUs )
      public void setOsU( String osU )

      User has...

      public void setRole( String roleName )
      public void setRole( UserRole role )

      public void setAdminRole( UserAdminRole role )
      public void setAdminRole( String roleName )

      This is causing some issues down the line with jackson. I have a workaround but wanted to see if there was any possibility of changing one of the method names.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            smckinney Shawn McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment