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

BlackBerry: 'JSON.stringify(e.source)' does not return the properties of the object

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.1.2
    • Component/s: BlackBerry
    • Environment:
    • Sprint:
      2014 Sprint 11 SDK

      Description

      Description:
      1. Create a default app for BB & replace the code in the app.js with the code below:

      var win = Ti.UI.createWindow({
        backgroundColor: 'white',
        title: 'ScrollView Demo'
      });
        
      var scrollView = Ti.UI.createScrollView({
        contentWidth: 'auto',
        contentHeight: 'auto',
        showVerticalScrollIndicator: true,
        showHorizontalScrollIndicator: true,
        height: '80%',
        width: '80%',
        backgroundColor:'#336699'
      });
        
      scrollView.addEventListener('click',function(e){
          Ti.API.info(e.source);
          Ti.API.info(JSON.stringify(e.source));
          Ti.API.info(JSON.stringify(e));
      });
      win.add(scrollView);
      win.open();
      

      2. Build & run on BB device/simulator
      3. On the app launch tap on the scrollview & observe the studio console

      Actual Results:
      1. We only get

      {"showVerticalScrollIndicator":true,"showHorizontalScrollIndicator":true}
      

      and not all the proporties of the object

      Expected Result:
      1. We should get all the proporties of the object

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                penrique Pedro Enrique (Inactive)
                Reporter:
                lokeshchdhry Lokesh Choudhary (Inactive)
                Reviewer:
                Russell McMahon
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code