Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6137

Alloy: when creating 'Alloy Model' from the contextual menu, 'properties' adapter option is missing

    Details

    • Story Points:
      5

      Description

      Problem description

      As explained here: http://docs.appcelerator.com/titanium/latest/#!/guide/Alloy_Sync_Adapters_and_Migrations-section-36739597_AlloySyncAdaptersandMigrations-Ready-MadeSyncAdapters when creating a new Alloy Model, also the 'properties' adapter should be supported.

      Creating it through Studio, only sql and localStorage options are displayed.

      Not a regression, also present in Studio 3.2.0.GA

      Running:

      alloy info adapters
      

      from Terminal returns the correct output:

      {
          "properties": {
              "description": "Local persistence adapter that uses Ti.App.Properties storage",
              "platforms": [
                  "android",
                  "ios",
                  "mobileweb",
                  "tizen",
                  "blackberry"
              ]
          },
          "sql": {
              "description": "Local persistence adapter that uses SQLite storage",
              "platforms": [
                  "android",
                  "ios",
                  "blackberry"
              ]
          },
          "localStorage": {
              "description": "Local persistence adapter that uses HTML5 localStorage API",
              "platforms": [
                  "mobileweb",
                  "tizen"
              ]
          }
      }
      

      Additional notes

      localStorage adapter should probably be deprecated in favor of just properties (and sql).
      See https://jira.appcelerator.org/browse/ALOY-950

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              fcasali Federico Casali
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: