Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2008
    Location
    @bryanzarzuela
    Posts
    55
    Vote Rating
    0
    bzarzuela is on a distinguished road

      0  

    Default [FIXED]LocalStorage Proxy: rawData is null

    [FIXED]LocalStorage Proxy: rawData is null


    I'm using the fix:

    Code:
    Ext.data.Model.override({
    	    getProxy: function(){
    	        return this.self.proxy;
    	    }
    	});
    Code:
    	Ext.regModel('User', {
    	    fields: [
    	        {name: 'firstName', type: 'string'},
    	        {name: 'lastName',  type: 'string'},
    	        {name: 'age',       type: 'int'},
    	        {name: 'eyeColor',  type: 'string'}
    	    ],
    		proxy: {
    			type: 'localstorage',
    			id: 'users'
    		}
    	});
    
    new Ext.data.Store({
    		model: 'User',
    		storeId: 'UserStore',
    		autoLoad: true
    	});
    	
    	var grid = new Ext.grid.GridPanel({
    		title: '',
    		store: 'UserStore',
    		headers: [
    			{ text: 'First Name', dataIndex: 'firstName'},
    			{ text: 'Last Name', dataIndex: 'lastName'}
    		]
    	});
    		
    	var win = new Ext.Window({
    		title: 'Webtool List',
    		width: 400,
    		height: 300,
    		layout: 'fit',
    		items: [grid],
    		buttons: [
    			{
    				text: 'Add Random',
    				handler: function () {
    					var user = Ext.ModelMgr.create({
    						firstName: 'Bryan',
    						lastName: 'Zarzuela',
    						age: 29,
    						eyeColor: 'Black'
    					}, 'User');
    					user.save();
    				}
    			}
    		]
    	});
    	
    	win.show();

    When I click save for the first time, no error. However, when you reload the page and the store tries to load the data from localStorage, this comes up:

    rawData is null
    http://ext4test.teleserv.mac:8080/ext/ext-all-debug.js
    Line 28519

    The previous call from getRecord has a parameter called id with a value of NaN

  2. #2
    Sencha User
    Join Date
    Feb 2008
    Location
    @bryanzarzuela
    Posts
    55
    Vote Rating
    0
    bzarzuela is on a distinguished road

      0  

    Default


    Screen shot 2011-02-24 at 4.50.20 PM.jpg

    Here's the output of console.dir(window.localStorage);

    Disregard the users1, I tested renaming the store's ID while debugging.

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,631
    Vote Rating
    581
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I believe this is already resolved. Can you try with the next preview release when it comes out?

    Thanks.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Store.remove using LocalStorage proxy not working for me
    By JacobGu in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 30 Dec 2010, 1:41 PM
  2. NestedList: Can TreeStorage + localstorage proxy be used?
    By igaenssley in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 25 Oct 2010, 9:46 AM
  3. How To sync store / proxy / Model with "submodel" and localstorage
    By hq242 in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 30 Jul 2010, 5:58 AM
  4. [FIXED-30] LocalStorage store seems to be loading twice (0.82)
    By rdougan in forum Sencha Touch 1.x: Bugs
    Replies: 2
    Last Post: 29 Jun 2010, 3:16 PM
  5. Error this.proxy is null
    By alkasoam in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 30 Mar 2010, 6:25 AM

Thread Participants: 1