Bug in DBOrder.GetProducts

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/12/2009 9:08:41 AM
Gravatar
Total Posts 131

Bug in DBOrder.GetProducts

Hey Joe, in DBOrder.GetProducts, the paramater input and DB parameter are different

public static IDataReader GetProducts(Guid orderGuid)
{
SqlParameterHelper sph = new SqlParameterHelper(GetConnectionString(), "ws_OrderOfferProduct_SelectByOrder", 1);
sph.DefineSqlParameter("@Guid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, orderGuid);
return sph.ExecuteReader();

 

}

 

Class has @Guid, SP has @OrderGuid

 

8/12/2009 1:25:58 PM
Gravatar
Total Posts 18439

Re: Bug in DBOrder.GetProducts

Hi David,

Thanks for the bug report and fix. I will have this fixed in svn trunk by later tonight.

Best,

Joe 

8/13/2009 7:37:41 PM
Gravatar
Total Posts 131

Re: Bug in DBOrder.GetProducts

I noticed it was in Get as well as GetProducts.  You may want to check both.

 

You must sign in to post in the forums. This thread is closed to new posts.