[Seaside] ConfigurationOfPier3AddOns load error

Johan Brichau johan at inceptive.be
Tue Oct 21 14:37:57 UTC 2014


Dario,

The stack trace you provide at the bottom of your email shows that the version of Pier you are loading was not adapted to use Seaside 3.1.x

Seaside 3.1.x comes with jQuery 1.11.x (or 2.1.x) and jQuery-UI 1.11 and there have been significant API changes in the jQuery and jQueryUI plugins which are included in the Seaside wrappers.

In this particular case, the error is that the #resize method is no longer present on JQAccordion. 

See the jQuery and jQueryUI documentation for all details:
- http://jquery.com/upgrade-guide/1.9/
- http://jqueryui.com/upgrade-guide/1.11/

Johan

On 21 Oct 2014, at 12:06, dtrussardi at tiscali.it wrote:

> Ciao,
> 	
>> 
>> 
>> On Mon, Oct 20, 2014 at 1:42 PM, dtrussardi at tiscali.it <dtrussardi at tiscali.it> wrote:
>> 
>> 
>> 
>> 	spec 
>> 	name: 'NAFileUpload-Component';
>> 	projectReference: [
>> 		spec
>> 			className: 'ConfigurationOfNAFileUpload';
>> 			versionString: #'1.0.1';
>> 			loads: #('NAFileUpload-Component' );
>> 			repository: 'http://www.squeaksource.com/fileupload' ].
>> 
>> 	It's significative?
>> 
>> 
>> Yes, that is the error ... it should probably be just '1.0.1' instead of #'1.0.1' ...
> 	
> FIRST:  The ConfigurationOfPier3AddOns  version311  method   define the error  version
> 
> 	version311: spec
> 	<version: '3.1.1' imports: #('3.1.0-baseline' )>
> 
> 	spec for: #'common' do: [
> 		spec blessing: #'development'.
> 		spec description: 'Development version, based on Pier 3.1.0'.
> 		spec author: 'DiegoLont'.
> 		spec timestamp: '2014 March 4'.
> 		spec 
> 			project: 'Pillar Book' with: #development;
> 			project:  'Pillar Exporter' with: #development;
> 			project: 'Pier Core' with: #'release3.1';
> 			project: 'Pier Tests' with:  #'release3.1';
> 			project: 'XML Parser' with: #'stable';
> 			project: 'Seaside RSS' with:  #'release3.1';
> 			project: 'Twitter Bootstrap' with: #'stable';
> 			project: 'Magritte-Json' with:  #'release3.1';
> 
> 		****	project: 'NAFileUpload-Component' with:  #'1.0.1';   
> 			
> 			*****  change to:		 project: 'NAFileUpload-Component' with:  '1.0.1';  
> 
> 		........................
> 		................
> 
> 	
> 
> SECOND:  The 	ConfigurationOfNAFileUpload version101 	method define a wrong name
> 
> 	
> 		version101: spec
> 	<version: '1.0.1' imports: #('1.0-baseline')>
> 	spec
> 		for: #common
> 		do: [ 
> 			
> 			spec blessing: #release.
> 			spec project: 'Seaside' with: #'release3.1'.
> 			
> 			spec 
> 			repository: 'http://www.squeaksource.com/fileupload'.
> 			
> 		*****	spec package: 'NAFileUpload-Base' with: 'NAFileUpload-Base-NPaulDeBruicker.13'.
> 		
> 			***** change to:	 	spec package: 'NAFileUpload-Base' with: 'NAFileUpload-Base-PaulDeBruicker.13'.
> 
> 			........................
> 			........................
> 
> 
> CONCLUSIONS:
> 
> 	A) ith this changes the:		( ConfigurationOfPier3AddOns  project version:'3.1.1' )
> 
> 		is 'right'  loaded in the system.
> 
> 		It erase only a error at :   PRAdminSetup   initialize		
> 
> 		when declare:		 preferenceAt: #useCookies put: false;
> 
> 		because #useCookies is not configured.
> 
> 	
> 	B) Now the  application 		piersetup       is calling from the browser,  although displays some  incorrect data.
> 
> 
> 	C) The    pier-admin		is calling from the  browser but erase the error:
> 
> 		
> Seaside Walkback
> 
> MessageNotUnderstood: JQAccordion>>resize
> 
> Debug Proceed Full Stack
> 
> Possible Causes
> you sent a message this type of object doesn't understand
> Stack Trace
> thisContext
> JQAccordion(Object)>>doesNotUnderstand: #resize
> self
> a JQAccordion ($("#sidebars").accordion())
> thisContext
> PRAdminUI>>renderLayoutOn:
> self
> a PRAdminUI
> thisContext
> PRAdminUI>>renderAdminInterfaceOn:
> self
> a PRAdminUI
> thisContext
> PRAdminUI>>renderContentOn:
> self
> a PRAdminUI
> thisContext
> WARenderVisitor>>visitPainter:
> self
> a WARenderVisitor
> 
> 	Your considerations are welcome.
> 
> 		Dario
> 
> 
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20141021/ed025626/attachment-0001.htm


More information about the seaside mailing list