Bug - Purchase Orders

Posted By alister cruickshanks Tue 26 Mar 2013
Add to Favorites0
Author Message
alister cruickshanks
 Posted Tue 26 Mar 2013
Supreme Being

Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)Supreme Being - (1,439 reputation)

Group: Awaiting Activation
Last Active: Mon 30 Sep 2013
Posts: 0, Visits: 19
I have found today a small bug, which causes an error.

If checking out with Purchase orders, the system shows the following error;

----------------------------------------------------------------------------
>> Unhandled Error occurred in Page:http://[XXXXXXX]/Checkout.aspx?new=y
-----------------------------------------------------------------------------
>> 3/26/2013 7:20:59 AM
>> Version:2
>> URL:[XXXXXXX]Checkout.aspx?new=y
>> [XXXXXXX]
>> DESCRIPTION:
System.Web.HttpParseException (0x80004005): Type 'System.Web.UI.WebControls.HiddenField' does not have a public property named 'Checked'. ---> System.Web.HttpParseException (0x80004005): Type 'System.Web.UI.WebControls.HiddenField' does not have a public property named 'Checked'. ---> System.Web.HttpException (0x80004005): Type 'System.Web.UI.WebControls.HiddenField' does not have a public property named 'Checked'.
at System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode)
at System.Web.UI.ControlBuilder.PreprocessAttribute(String filter, String attribname, String attribvalue, Boolean mainDirectiveMode, Int32 line, Int32 column)
at System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs)
at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs)
at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName)
at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ProcessException(Exception ex)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseInternal()
at System.Web.UI.TemplateParser.Parse()
at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

==================================================


Solution


This error is prevented by filling int the following

PO_OfflinePayment


FriendlyName(en-GB)

By default, the FriendlyName (en-GB) field is blank. However, even though the text is not used for this entry, it must not be blank.



I have experimented, by removing and re-adding, and it only works by entering text.


Kind Regards
Alister
Paul
 Posted Fri 29 Mar 2013
große Käse

große Käse - (523,248 reputation)große Käse - (523,248 reputation)große Käse - (523,248 reputation)große Käse - (523,248 reputation)große Käse - (523,248 reputation)große Käse - (523,248 reputation)große Käse - (523,248 reputation)große Käse - (523,248 reputation)große Käse - (523,248 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
Have moved things around a little in the checkout.aspx which should fix this. You can grab the latest version from kartris.codeplex.com, the source code tab:

https://kartris.codeplex.com/SourceControl/BrowseLatest


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top