{ "id": "63803", "key": "TIMOB-3171", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11247", "name": "Sprint 2011-12", "archived": true, "released": true, "releaseDate": "2011-03-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-26T13:18:55.000+0000", "created": "2011-04-15T03:38:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "cache", "feature", "release-1.7.0", "reported-1.6.0", "responsecache" ], "versions": [], "issuelinks": [ { "id": "10244", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "64774", "key": "TIMOB-3704", "fields": { "summary": "Confirm TIMOB-3171", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-04-26T13:18:55.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

The code defines private static final String\nCACHE_SIZE_KEY = \"ti.android.cache.size.max\"; but never once\nmakes use of it.

{html}", "attachment": [ { "id": "18272", "filename": "tiapp.xml", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:38:44.000+0000", "size": 1392, "mimeType": "text/xml" } ], "flagged": false, "summary": "Android: Response cache max size should be adjustable", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "130227", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [4611635381c25bc933fb18ecac3027b670814725])\n[#3171 state:fixed-in-qa] utilize\nti.android.cache.size.max value for setting response cache size

\n

respect ti.android.cache.size.max value when setting response\ncache. also moved setting the TiConfig.LOGD value to the\npostOnCreate method inside TiApplication in order to support debug\nlogging during the intialization of the response cache.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/4611635381c2...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:38:46.000+0000", "updated": "2011-04-15T03:38:46.000+0000" }, { "id": "130228", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

Please verify the fix by running the default titanium test app\nwith debug output enabled (see attached tiapp.xml). You should see\na debug message \"[TRACE] D/TiResponseCache( 318): (main) [254,980]\nmax cache size is:204800\" if the value in tiapp.xml is being\nrespected.

\n

The value in \"200\" within tiapp.xml is what drives the debug\nvalue printed. The value in tiapp.xml represents the max cache size\nin kilo bytes but the debug output value is bytes.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:38:46.000+0000", "updated": "2011-04-15T03:38:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }