Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28146

Android: Ti.Filesystem.File rename() should support an absolute path in same directory

    Details

    • Story Points:
      3

      Description

      This one shows up in our unit tests for Ti.Filesystem.File.rename. If we attempt to rename a file by passing in an absolute path for the destination (as a sibling of the original file path), the rename fails.

      See: https://github.com/appcelerator/titanium_mobile/blob/master/tests/Resources/ti.filesystem.file.test.js#L619-L642

      I assume the issue is related to the underlying code which constructs the destination file: https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/io/TiBaseFile.java#L359-L360

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              cwilliams Christopher Williams
              Reviewer:
              Gary Mathews
              Tester:
              Sohail Saddique
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration