Suresh V. wrote: > Alex Clark wrote: >> Folks, >> >> I'm trying to create a "simple" browser view method e.g. @@view/method that >> I can call via XML-RPC, but I notice browser views don't seem to possess the >> Zope 2 "goodness" that "regular" objects/methods do. > > I found a related problem while integrating the contentratings product. > > In Plone 4, a url of the form: > > http://localhost:8080/Plone/obj/@@editor_rating_set/rate > > was producing a 404 error. This used to work in Plone 3. > > "rate" used to be a allowed_attribute of the view. > > As a work around, I had to create a new browser:view with rate as the name. > > Anyone knows what happened?
Thought a traceback may help ;-) 2010-07-03 03:57:43 ERROR Zope.SiteErrorLog 1278151063.550.830763113419 http://local-desktop:8080/Members/Marshall/index_html/@@user_rating_set/rate Traceback (innermost last): Module ZPublisher.Publish, line 116, in publish Module ZPublisher.BaseRequest, line 498, in traverse Module ZPublisher.BaseRequest, line 334, in traverseName Module Products.Five.browser.metaconfigure, line 421, in publishTraverse NotFound: Object: <Products.Five.metaclass.SimpleViewClass from /Users/netadmin/plone4/eggs/contentratings-1.0_beta1-py2.6.egg/contentratings/browser/bbb/user_rating_edit.pt object at 0x5fae750>, name: 'rate' Suresh _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
