Forum  Discuss AliComm...  Getting Started...  Error After Applying a Size Variant to a Product
Previous Previous
 
Next Next
New Post 8/24/2008 6:17 PM
  Cliff Hammock
59 posts
No Ranking


Error After Applying a Size Variant to a Product 

UPDATE:

I got it working. I did not realize you had to have at least one Default Item selected in the Attributes setup. But I am leaving this post for others that might have the same issue.

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

It looks like for right now I can get my client's cart fully functional if I can get this Size Variant issue worked out. When I don't have the size variant applied I can go through Add to Cart and checkout. But if I add in the Size Attribute I get this error, when I click on the See Details. I assume the details is where the Size can be selected?

Transaction not successfully started

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: NHibernate.TransactionException: Transaction not successfully started

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[TransactionException: Transaction not successfully started]
   NHibernate.Transaction.AdoTransaction.Rollback() +102
   AliSuite.Core.NHSessionManager.RollbackTransaction() +49
   AliSuite.Core.NHSessionManager.CommitTransaction() +70
   AliSuite.Commerce.HttpModules.NHibernateSessionModule.x3a2e282be4f474d3(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc) +27
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Executed) +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

What I did was create the Variant called Size under the Catalog / Attributes. Then under the Product / Attributes I added the Size attribute from the Dropdown list.

But as mentioned above I got this error. Then I thought that maybe there is a mandatory constraint to have a Default Item in the Variant. So I made one a default and now it works.

Maybe adding that little snippet of a Default Item is required to the quickstart would help others.

Thanks.

 

 
New Post 8/24/2008 6:23 PM
  AliCommerce
1156 posts
1st Level Poster


Re: Error After Applying a Size Variant to a Product 
Modified By AliCommerce  on 8/25/2008 3:09:33 AM)

Thank you for the update. We'll improve this area in the next release.

To summarize it: A default option needs to be defined for a variant attribute to work correctly.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 8/25/2008 2:10 AM
  AliCommerce
1156 posts
1st Level Poster


Re: Error After Applying a Size Variant to a Product 
Modified By AliCommerce  on 8/27/2008 8:57:11 PM)

We have improved this in source code, so a default option is not required in the next release.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 8/27/2008 7:37 PM
  Tholomew
86 posts
No Ranking


Re: Error After Applying a Size Variant to a Product 

When you say you have improved the source code, do we need to get an update?

Because this issue is still happening to me. Thanks

 
New Post 8/28/2008 2:53 AM
  AliCommerce
1156 posts
1st Level Poster


Re: Error After Applying a Size Variant to a Product 
Modified By AliCommerce  on 8/28/2008 7:22:25 PM)

Did you have a default option defined? If you did, it must be a seperate issue. If this is the case, you need to post your error message here so we can locate the issue.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 8/28/2008 3:53 PM
  Cliff Hammock
59 posts
No Ranking


Re: Error After Applying a Size Variant to a Product 

After reviewing the quick start guide, it does make sense to actually set a default and use a null value with the instruction of Select a size or whatever.

My issue was just not knowing it was a hard requirement to have a default.

Is anyone getting email notifications about forum post updates? I am not getting any and I have the Notification box checked.

Cliff

 
New Post 8/29/2008 3:32 AM
  AliCommerce
1156 posts
1st Level Poster


Re: Error After Applying a Size Variant to a Product 

 Cliff Hammock wrote

Is anyone getting email notifications about forum post updates? I am not getting any and I have the Notification box checked.

It's a known bug in dnn core forum.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
Previous Previous
 
Next Next
  Forum  Discuss AliComm...  Getting Started...  Error After Applying a Size Variant to a Product
Copyright 2008 by CandoSuite Terms Of Use Privacy Statement