-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssemblyShipmentSerializer super class mismatch issue #94
Comments
What is the error message & backtrace? This sounds like another Spring error... not an error with that code. You could try removing spring from your application to fix dev environment, but most people are just restarting server if it begins to act up until we figure out what the root cause is. I'm not sure what the root cause is yet, but we have been seeing all sorts of weird errors as a result of Rails 4.1 using spring to autoload code in development now. For instance: |
I'm not sure why this is happenning either, and I'm sorry I can't come up with a reasonable explanation, but... It doesn't seem to me like it's (exclusively) related to Spring, as we are not even running it.
There's also a comment on the spree issue that you linked from a guy who is not using Spring either, but Zeus. In our case, we're using Spork. |
Can you guys provide the error message & backtrace? |
Sorry, it took a while to happen again, but here it is:
|
I'm getting exactly the same issue. Any movement on this issue? |
Same error here. |
Running into a slightly annoying issue (2-3-stable) whereby the Spree::Wombat::AssemblyShipmentSerializer is regularly throwing a superclass mismatch error after changes are made in our app in development mode - issue comes from this line of code:
https://github.com/spree/spree-product-assembly/blob/2-3-stable/lib/spree_product_assembly/engine.rb#L14
Changing it to simply require it fixes the problem - I assume there was a reason to be load-ing it though in the first place, testing or some-such?
I also note that in the current master version of this Gem you've removed it entirely (not an option for us at the moment unfortunately as we can't move up to master spree without doing some serious hackery).
Long story short - can I open a PR removing that load jazz from 2-3-stable or will it cause devastation in ways I've not considered? Or other options/ideas?
Cheers!
Rhys
The text was updated successfully, but these errors were encountered: