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

Android : Kroll get method for properties does not work correctly

    Details

      Description

      {html}<div><p>Kroll get method returns undefined due to the "get" name check
      in KrollBindingUtils.java : createAccessorMethod never actually
      being passed when a get method is invoked. The name that is checked
      for either "get" or "set" is actually the name of the property
      without either of the prefixed modifiers.</p>
      <p>The "get" check always fails so the execution passes to the
      "set" block and so set calls work correctly. When a get call is
      made, a null value is returned because the set logic is executed
      but no argument is passed in for a new value like a real set call
      would contain.</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              opiecyrus Opie Cyrus
              Reporter:
              opiecyrus Opie Cyrus
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration