London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Error when creating variant

Vote:
 

Hi All

I am current getting the exception below when creating a new variant using contentRepo.Save(createVariation, SaveAction.Publish, AccessLevel.NoAccess). What makes this more strange is that I am able to save a product agains the same category but not the variant. Been struggling with this for hours :(. I am using the latest version of Epi and Epi Commerce.

#197769
Edited, Oct 12, 2018 9:16
Vote:
 

What is the full stacktrace of your exception?

#197773
Oct 12, 2018 10:02
Vote:
 

Hi Quan. Thanks so much for he reply. I took a look at the stack trace. It was what I had in the publishEvent i.e. FindIndexing, that was interfering with it. I manage to get it working without the indexing. I just need to figure out how to get it all working with the indexing.

#197774
Oct 12, 2018 10:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.