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

Android: Unable to get success alert after User creation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 3.3.0, Release 3.4.0
    • Component/s: Android
    • Environment:

      OS: Windows 8 Enterprise
      Appcelerator Studio: 3.3.0.201405271647
      SDK :3.3.0.v20140605150555
      CLI : 3.3.0-beta2
      alloy: 1.4.0-beta
      titanium-code-processor: 1.1.1
      ACS : 1.0.14

    • Sprint:
      2014 Sprint 12 SDK

      Description

      ACS: Create User-> Unable to get success/error alert after User creation

      Steps to reproduce:

      1. Go to Users > Create User
      2. Enter values into the following fields:
      Username
      Password
      Confirm Password - same password from previous field
      First Name
      Last Name
      Email - needs to have a valid email address, but does not need to exist e.g. a@gmail.com
      3. Press Create button.

      Expected:
      Should get an alert that says: "Created! You are now logged in as "

      Actual:
      No alerts appears.
      Getting the below mentioned console logs.

      [INFO] :   ACS Request: { url: "users/create.json", verb: "POST", data: {"username":"tester","password":"tester","password_confirmation":"tester","first_name":"tester","last_name":"qe","email":"abc@gmail.com"} })
      [INFO] :   POST: https://api.cloud.appcelerator.com/v1/users/create.json?key=lrJN8WNV21tJlYxIb4FwL6TYxnHYQ0nU
      [INFO] :   header: {}
      [INFO] :   data: {"username":"tester","password":"tester","password_confirmation":"tester","first_name":"tester","last_name":"qe","email":"abc@gmail.com","suppress_response_codes":"true","ti_analytics":"{\"mid\":\"4977b05a55927ad\",\"sid\":\"1b477c05-e018-489f-bebb-c26ec7326dd7\",\"app_version\":\"1.0\",\"platform\":\"android\"}"}
      [ERROR] :  V8Exception: Exception occurred at undefined:1: Uncaught SyntaxError: Unexpected token 
      

      But After that ,go to dashboard.appcelerator.com and find your app
      Go to the Cloud tab > Manage Data > Users and you can view the user created.

      Working fine for iOS.
      This is a regression since working fine on 3.2.3.GA

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ayeung Allen Yeung
                Reporter:
                pagarwal Priya Agarwal
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration