I hereby claim:
- I am jdutil on github.
- I am jdutil (https://keybase.io/jdutil) on keybase.
- I have a public key whose fingerprint is CAED 92FC F9ED 8B25 BC38 D950 9B47 495A E407 4A04
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am jdutil on github. | |
* I am jdutil (https://keybase.io/jdutil) on keybase. | |
* I have a public key whose fingerprint is E1F7 B22A F0A1 7FFF CD07 B642 C325 31C1 15D0 D8A4 | |
To claim this, I am signing this object: |
# Activate the gem you are reporting the issue against. | |
gem 'activerecord', '4.2.1.rc2' | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# Ensure backward compatibility with Minitest 4 | |
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test) | |
# This connection will do for database-independent bug reports. |
1 module Spree | |
ItemAdjustments.class_eval do | |
2 | |
3 # Picks one (and only one) promotion to be eligible for this order | |
4 # This promotion provides the most discount, and if two promotions | |
5 # have the same amount, then it will pick the latest one. | |
6 def choose_best_promotion_adjustment | |
7 raise "#{adjustment}" | |
8 if best_promotion_adjustment | |
9 other_promotions = self.adjustments.promotion.where.not(id: best_promotion_adjustment.id) |
I hereby claim:
To claim this, I am signing this object:
- request: | |
method: post | |
uri: https://api.taxcloud.net/1.0/TaxCloud.asmx | |
body: | |
encoding: UTF-8 | |
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://taxcloud.net" | |
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://taxcloud.net"><env:Body><ins0:Lookup><ins0:apiLoginID>130821A0</ins0:apiLoginID><ins0:apiKey>1F2C26B9-F8A4-4E8F-9225-559BB4AC05F3</ins0:apiKey><tns:uspsUserID | |
xsi:nil="true"/><ins0:customerID>R321826055</ins0:customerID><ins0:cartID>R321826055</ins0:cartID><ins0:cartItems><ins0:CartItem><tns:Index>1</tns:Index><tns:TIC>0</tns:TIC><tns:ItemID>ABC</tns:ItemID><tns:Price>19.99</tns:Price><tns:Qty>1</tns:Qty></ins0:CartItem><ins0:CartItem><tns:Index>2</tns:Index><tns:TIC>0</tns:TIC><tns:ItemID>SHIPPING</tns:ItemID><tns:Price>0.0</tns:Price><tns:Qty>1</tns:Qty></ins0:CartItem></ins0:cartItems><ins0:origin><ins0:Addr |
Submitted: | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Sale> | |
<timeStamp type="datetime">2012-08-19T23:22:37Z</timeStamp> | |
<completed type="boolean">true</completed> | |
<customerID>1</customerID> | |
<employeeID type="integer">4</employeeID> | |
<registerID type="integer">1</registerID> | |
<shopID type="integer">1</shopID> | |
<taxCategoryID type="integer">1</taxCategoryID> |
RSolr::Error::InvalidRubyResponse in Admin::SubstancesController#rescore | |
RSolr::Error::InvalidRubyResponse - 200 OK | |
Error: <result status="1">java.lang.NullPointerException | |
at org.apache.solr.handler.XmlUpdateRequestHandler.doLegacyUpdate(XmlUpdateRequestHandler.java:132) | |
at org.apache.solr.servlet.SolrUpdateServlet.doPost(SolrUpdateServlet.java:87) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) | |
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) | |
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221) |
<?xml version="1.0"?> | |
<Sale> | |
<saleID>53</saleID> | |
<timeStamp>2012-08-13T21:16:19+00:00</timeStamp> | |
<discountPercent>0</discountPercent> | |
<completed>true</completed> | |
<archived>false</archived> | |
<voided>false</voided> | |
<tax1Rate>0.0925</tax1Rate> | |
<tax2Rate>0</tax2Rate> |