With JS the URL is: http://localhost:8080/cps4/portal_types/%2B/addFlexibleTypeInformation.html
And without it: http://localhost:8080/cps4/portal_types/?%3Aaction=%252B%2FaddFlexibleTypeInformation.html&submit=+Add+ !!! S. Stefane Fermigier wrote: > I can't reproduce the same traceback. > > I have a traceback however, saying "Ressource not found", when adding a > "CPS Flexible Type Information" from the ZMI add menu. > > Is seems to come from this piece of HTML: > > <option value="manage_workspace" disabled>Select type to add...</option> > <option value="%2B/addFlexibleTypeInformation.html">CPS Flexible > Type Information</option> > <option value="manage_addProduct/OFSP/methodAdd">DTML > Method</option> > <option > value="manage_addProduct/ExternalMethod/methodAdd">External Method</option> > > <option value="%2B/addFactoryTypeInformation.html">Factory-based > Type Information</option> > <option > value="manage_addProduct/PythonScripts/pyScriptAdd">Script (Python)</option> > <option value="%2B/addScriptableTypeInformation.html">Scriptable > Type Information</option> > </select> > > When you use the select box and let JavaScript do the magic, it works OK > on my browser. > > When you explicitly click on "Add" you get a different URL (!) and a > "Page not found", for the 3 options that are prefixed by "%2B". > > S. > > > Tarek Ziadé wrote: > >>hi, >>can you add an ticket please >> >>Thx >> >>Tarek >> >>Joachim Schmitz wrote: >> >> >> >>>hi, >>> >>>when trying to create a CPS Flexible Type Information in portal_types >>>with the ZMI I get: >>> >>>Traceback (innermost last): >>> Module ZPublisher.Publish, line 113, in publish >>> Module ZPublisher.mapply, line 88, in mapply >>> Module ZPublisher.Publish, line 40, in call_object >>> Module Products.GenericSetup.browser.utils, line 39, in __call__ >>> Module Shared.DC.Scripts.Bindings, line 311, in __call__ >>> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec >>> Module Products.PageTemplates.PageTemplateFile, line 110, in _exec >>> Module Products.PageTemplates.PageTemplate, line 104, in pt_render >>> - <ImplicitAcquirerWrapper object at 0xb29585ec> >>> Module TAL.TALInterpreter, line 238, in __call__ >>> Module TAL.TALInterpreter, line 281, in interpret >>> Module TAL.TALInterpreter, line 714, in do_condition >>> Module Products.PageTemplates.TALES, line 221, in evaluate >>> - URL: index >>> - Line 18, Column 1 >>> - Expression: standard:'view/getProfileInfos' >>> - Names: >>> {'container': <+ at /cps/portal_types/>, >>> 'context': <+ at /cps/portal_types/>, >>> 'default': <Products.PageTemplates.TALES.Default instance at >>>0xb719ef4c>, >>> 'here': <+ at /cps/portal_types/>, >>> 'loop': <Products.PageTemplates.TALES.SafeMapping object at >>>0xb27daaec>, >>> 'modules': >>><Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at >>>0xb71476cc>, >>> 'nothing': None, >>> 'options': {'args': ()}, >>> 'repeat': <Products.PageTemplates.TALES.SafeMapping object at >>>0xb27daaec>, >>> 'request': <HTTPRequest, >>>URL=http://z29.aixtraware.de/cps/portal_types/%2B/addFlexibleTypeInformation.html>, >>> >>> 'root': <Application at >, >>> 'template': <ImplicitAcquirerWrapper object at 0xb29585ec>, >>> 'traverse_subpath': [], >>> 'user': <CPSUser perry>, >>> 'view': <Products.Five.metaclass.SimpleViewClass from >>>/ZP/i29/Products/GenericSetup/browser/addWithPresettings.pt object at >>>0xb282a74c>, >>> 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper >>>object at 0xb253ceec>} >>> Module Products.PageTemplates.Expressions, line 185, in __call__ >>> Module Products.PageTemplates.Expressions, line 180, in _eval >>> Module Products.PageTemplates.Expressions, line 85, in render >>> Module Products.CMFCore.browser.typeinfo, line 51, in getProfileInfos >>> Module xml.dom.minidom, line 1925, in parseString >>> Module xml.dom.expatbuilder, line 942, in parseString >>> Module xml.dom.expatbuilder, line 223, in parseString >>>ExpatError: not well-formed (invalid token): line 42, column 9 >>> >> >> >> > > -- Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile). Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps Gestion de contenu web / portail collaboratif / groupware / open source! _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
