Easyshop
Easyshop copied to clipboard
Plone 4 -Normal Users Cannot able to see products
When i register a new user who has a permission of a member,could not able to see the products it throw an errors
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 47, in call_object Module Products.Five.browser.metaconfigure, line 477, in call Module Products.Five.browser.pagetemplatefile, line 126, in call Module Products.Five.browser.pagetemplatefile, line 60, in call Module zope.pagetemplate.pagetemplate, line 115, in pt_render Module zope.tal.talinterpreter, line 271, in call Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 888, in do_useMacro Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 954, in do_defineSlot Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 858, in do_defineMacro Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 954, in do_defineSlot Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 946, in do_defineSlot Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 531, in do_optTag_tal Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal Module Products.PageTemplates.Expressions, line 220, in evaluateStructure Module zope.tales.tales, line 696, in evaluate URL: /usr/local/Plone/zinstance/src/Easyshop/src/easyshop.catalog/easyshop/catalog/browser/category_products_view.pt Line 7, Column 12 Expression: <StringExpr u'easyshop.products-manager'> Names: {'args': (), 'container': <Category at /Plone/store/category1>, 'context': <Category at /Plone/store/category1>, 'default': <object object at 0xb78b26d0>, 'here': <Category at /Plone/store/category1>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb47239dc>, 'request': <HTTPRequest, URL=http://localhost:8080/Plone/store/category1/products-view>, 'root': <Application at >, 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xb1d7b6c>, 'traverse_subpath': [], 'user': <PloneUser '123456'>, 'view': <Products.Five.metaclass.SimpleViewClass from /usr/local/Plone/zinstance/src/Easyshop/src/easyshop.catalog/easyshop/catalog/browser/category_products_view.pt object at 0xb47384ec>, 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xb473858c>} Module zope.contentprovider.tales, line 80, in call Module plone.app.viewletmanager.manager, line 154, in render Module plone.app.viewletmanager.manager, line 85, in render Module Products.Five.browser.pagetemplatefile, line 126, in call Module Products.Five.browser.pagetemplatefile, line 60, in call Module zope.pagetemplate.pagetemplate, line 115, in pt_render Module zope.tal.talinterpreter, line 271, in call Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 583, in do_setLocal_tal Module zope.tales.tales, line 696, in evaluate URL: /usr/local/Plone/zinstance/src/Easyshop/src/easyshop.catalog/easyshop/catalog/viewlets/products.pt Line 9, Column 4 Expression: <PathExpr standard:u'view/getInfo'> Names: {'args': (), 'container': <Category at /Plone/store/category1>, 'context': <Category at /Plone/store/category1>, 'default': <object object at 0xb78b26d0>, 'here': <Category at /Plone/store/category1>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb473ff7c>, 'request': <HTTPRequest, URL=http://localhost:8080/Plone/store/category1/products-view>, 'root': <Application at >, 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xb1f870c>, 'traverse_subpath': [], 'user': <PloneUser '123456'>, 'view': <Products.Five.viewlet.metaconfigure.ProductsViewlet object at 0xa84be6c>, 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xb472792c>} Module zope.tales.expressions, line 217, in call Module Products.PageTemplates.Expressions, line 157, in _eval Module Products.PageTemplates.Expressions, line 119, in render Module easyshop.catalog.viewlets.products, line 103, in getInfo Module easyshop.catalog.adapters.prices, line 43, in getPriceForCustomer Module easyshop.catalog.adapters.prices, line 76, in _getEffectivePriceForCustomer Module easyshop.catalog.adapters.taxes, line 48, in getTaxForCustomer Module easyshop.catalog.adapters.taxes, line 106, in _getEffectiveTaxForCustomer Module easyshop.catalog.adapters.taxes, line 138, in _calcTaxRateForCustomer Module easyshop.customers.adapters.customer_management, line 67, in getAuthenticatedCustomer Module Products.BTreeFolder2.BTreeFolder2, line 421, in _setObject Module plone.app.folder.base, line 49, in _checkId Module Products.CMFCore.PortalFolder, line 313, in _checkId Module OFS.ObjectManager, line 94, in checkValidId BadRequest: ('Empty or invalid id specified', u'123456')
Seen this one myself before too. Thanks for reporting it.
But i need an solutions for these issues.
Sure, and you wouldn't be the only person either. However Easyshop is a collaborative project - no single person "owns" the code, so no single person feels compelled to fix bugs out of moral duty when there is paying work they could be doing otherwise. Hence you can either fix the bugs yourself (Github makes this much easier than SVN) or pay someone to do it for you.
See http://github.com/ned14/Easyshop/wiki/CommercialSupport.