Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11692

Port property for mail sending should be of type long

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4
    • Fix Version/s: 7.0-milestone-1, 6.4.1
    • Component/s: Mail
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now the API return an int when calling getPort() and it's not logical that the port is stored as a long value in the database, leading to an unnecessary cast in the code.

      Also XWiki supports converting automatically an xproperty from Long to Integer.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: