kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

State list invisible in checkout #161

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add an item to cart (rev 1122)
2. checkout
3. try to select a state from the dropdown

Where o where did all the states go?! There is a dropdown...but all lines
are blank.

Original issue reported on code.google.com by cjj.ifpe...@gmail.com on 15 Dec 2007 at 3:00

GoogleCodeExporter commented 8 years ago
Here is the full error that is spat out when I try to check out: 

2007-12-15 10:01:25 ERROR Zope.SiteErrorLog
http://localhost:8080/rc1/@@getpaid-checkout-wizard
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module Products.PDBDebugMode.pdbzope.runcall, line 60, in pdb_runcall
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.PloneGetPaid.browser.checkout, line 294, in __call__
  Module Products.PloneGetPaid.browser.checkout, line 176, in render
  Module zope.formlib.form, line 764, in render
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 113, in _exec
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <ImplicitAcquirerWrapper object at 0xd1bbe8c>
  Module TAL.TALInterpreter, line 238, in __call__
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 772, in do_defineSlot
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 772, in do_defineSlot
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 691, in do_loop_tal
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 715, in do_condition
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 647, in do_insertStructure_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: index
   - Line 52, Column 10
   - Expression: standard:'widget'
   - Names:
      {'container': <PloneSite at /rc1>,
       'context': <PloneSite at /rc1>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb71c2e8c>,
       'here': <PloneSite at /rc1>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xd5fa9ac>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance
at 0xb71c71ac>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xd5fa9ac>,
       'request': <HTTPRequest, URL=http://localhost:8080/rc1/@@getpaid-checkout-wizard>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0xd1bbe8c>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.metaclass.CheckoutAddress object at 0xd4377ac>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at
0xd5faecc>}
  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.PloneGetPaid.browser.widgets, line 35, in __call__
  Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in __call__
  Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in __call__
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 277, in __call__
  Module zope.tal.talinterpreter, line 352, in interpret
  Module zope.tal.talinterpreter, line 538, in do_optTag_tal
  Module zope.tal.talinterpreter, line 523, in do_optTag
  Module zope.tal.talinterpreter, line 518, in no_tag
  Module zope.tal.talinterpreter, line 352, in interpret
  Module zope.tal.talinterpreter, line 625, in do_insertText_tal
  Module zope.app.pagetemplate.engine, line 101, in evaluateText
  Module zope.tales.tales, line 696, in evaluate
   - URL:
/home/cjohnson/software/getpaid/getpaid/getpaid.buildout/develop-products/PloneG
etPaid/browser/templates/state-selection-widget.pt
   - Line 12, Column 8
   - Expression: <PythonExpr (has_input and view.getInputValue() or 'nope')>
   - Names:
      {'args': (),
       'context': <zope.schema._field.Choice object at 0xd458a6c>,
       'default': <object object at 0xb7d56580>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <HTTPRequest, URL=http://localhost:8080/rc1/@@getpaid-checkout-wizard>,
       'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0xa1bac2c>,
       'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object at 0xd6137ac>,
       'view': <Products.PloneGetPaid.browser.widgets.StateSelectionWidget object at
0xd51234c>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at
0xd61390c>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (has_input and view.getInputValue() or 'nope')
  Module <string>, line 0, in ?
  Module zope.app.form.browser.widget, line 333, in getInputValue
WidgetInputError: ('bill_state', u'State', )
>
/home/cjohnson/software/getpaid/getpaid/getpaid.buildout/parts/zope2/lib/python/
zope/app/form/browser/widget.py(333)getInputValue()
-> raise self._error

Original comment by cjj.ifpe...@gmail.com on 15 Dec 2007 at 3:02

GoogleCodeExporter commented 8 years ago
I fixed it (I think :-) ). Let me know if it works for you too.

Original comment by lucielej...@gmail.com on 15 Dec 2007 at 5:26

GoogleCodeExporter commented 8 years ago
works! thanks!!!

Original comment by cjj.ifpe...@gmail.com on 15 Dec 2007 at 6:32

GoogleCodeExporter commented 8 years ago
I thought I had this working correctly Friday night.  Maybe the 'night' part 
was the
problem. ;-)  Thinks for fixing this Lucie.

Original comment by maurits.vanrees on 17 Dec 2007 at 9:33