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

iOS: Cloud.Photos.update function is not working for photos from camera or gallery

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 3.3.0
    • Fix Version/s: Release 3.3.0, Release 3.4.0
    • Component/s: Cloud, iOS
    • Environment:
    • Sprint:
      2014 Sprint 13 SDK

      Description

      Cloud.Photos.update function is not working for the photos from Gallery or Camera.
      It's throwing Invalid photo file type error. Please refer attached screenshot.
      If the new photo is assigned through an image file instead of a blob from camera or gallery then it works fine.

      Steps To Reproduce

      1. Create a default titanium classic app
      2. Copy the app.js and windows folder from "~/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.3/example" into the Resources directory of the project.
      3. Install and launch app on iOS device
      4. Create a user from Users > Create User
      5. Create a photo from Dashboard as the current user of your app is owner of that photo.
      6. Press back button twice and go to Photos > Query Photo
      7. Select the photo that you created from dashboard.
      8. Press "Update Photo" button
      9. Press "Select Photo from Gallery" or "Take Photo with Camera" to select/take a photo and use it
      10. Add some text for tag field.
      11. Press Update button.

      Actual Result

      Invalid photo file type error is thrown. (See attachment)

      Expected Result

      Photo should be updated correctly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                penrique Pedro Enrique (Inactive)
                Reporter:
                kvelummaylum Kajenthiran Velummaylum
                Reviewer:
                Vishal Duggal (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-18919
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration