[pve-devel] latest pve-manager does not work anymore

Alexandre DERUMIER aderumier at odiso.com
Thu Jun 13 16:24:45 CEST 2013


Sorry, my fault :/ 

thanks for the patch



----- Mail original ----- 

De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
À: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 13 Juin 2013 13:56:16 
Objet: [pve-devel] latest pve-manager does not work anymore 

Hi List, 

i updated to latest PVE manager (39a67abca36909bf66a0636c8b10f210a17e03d4). 

Since then i only get: 
[13:54:37.511] TypeError: stateinit is undefined 

pointing to this line: 
if(stateinit.timeframe){ 

context: 
Ext.define('PVE.panel.RRDView', { 
extend: 'Ext.panel.Panel', 
alias: 'widget.pveRRDView', 

initComponent : function() { 
var me = this; 

if (!me.datasource) { 
throw "no datasource specified"; 
} 

if (!me.rrdurl) { 
throw "no rrdurl specified"; 
} 

var stateid = 'pveRRDTypeSelection'; 
var sp = Ext.state.Manager.getProvider(); 
var stateinit = sp.get(stateid); 

if (!me.timeframe) { 
if(stateinit.timeframe){ 
me.timeframe = stateinit.timeframe; 
}else{ 
me.timeframe = 'hour'; 
} 
} 

if (!me.rrdcffn) { 
if(stateinit.rrdcffn){ 
me.rrdcffn = stateinit.cf; 
}else{ 
me.rrdcffn = 'AVERAGE'; 
} 
} 

Stefan 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list