Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29286

Rename the parameter "overwite" of FileManager.Import to "overwrite"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10-HF45, 10.10-HF28, 11.1
    • Fix Version/s: 11.2
    • Component/s: Importer
    • Tags:
    • Upgrade notes:
      Hide

      In the FileManager.Import operation, the misspelled param overwite has been renamed to overwrite:

      • overwite is now deprecated, no more used and replaced by overwrite.
      • overwite is kept as an alias for backward compatibility.
      Show
      In the FileManager.Import operation, the misspelled param overwite has been renamed to overwrite : overwite is now deprecated, no more used and replaced by overwrite . overwite is kept as an alias for backward compatibility.
    • Sprint:
      nxDrive 11.2.1, nxDrive 11.2.2
    • Story Points:
      1

      Description

      The FileManager.Import operation has a parameter named overwite:

          @Param(name = "overwite", required = false)
          protected Boolean overwite = false;
      

      It seems to be an old typo and should be fixed to "overwrite" (with a "r").

      Retro-compatibility must be kept, so using aliases should be enough for backports:

      @Param(name = "overwrite", alias = "overwite", required = false)
      

      For master, a deprecation annotation will be used moreover.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 30 minutes
                  2d 30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.