You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/09/07 05:38:46 UTC

[GitHub] [lucene-solr] dsmiley opened a new pull request #1838: SOLR-14768: Fix multipart POST to Solr.

dsmiley opened a new pull request #1838:
URL: https://github.com/apache/lucene-solr/pull/1838


   https://issues.apache.org/jira/browse/SOLR-14768
   
   Regression from 8.6
   
   Multipart POST would fail due to a NoClassDefFoundError of Jetty MultiPart.  Solr cannot access many Jetty classes, which is not noticeable in our tests.
   
   I tested this manually:  I started the "techproducts" schema via `bin/solr start -e techproducts` then I did this:
   
   ````
   curl http://localhost:8983/solr/techproducts/update/extract \
    -F literal.id=doc2 -F stream.body=@example/exampledocs/sample.html
   ````
   It should work.  It used to dump a stacktrace from Solr.
   
   I would be awesome if we could have an automated test for this given the test infrastructure we have, but AFAIK I don't see anything.  A suitable test would need to run bin/solr.  If we had a SolrExampleTests subclass that required a URL input then we could run tests against a Solr instance that is being released by the smoketester and also by a future Docker release process.  I'll raise this particular matter in the dev list for discussion.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-solr] dsmiley merged pull request #1838: SOLR-14768: Fix multipart POST to Solr.

Posted by GitBox <gi...@apache.org>.
dsmiley merged pull request #1838:
URL: https://github.com/apache/lucene-solr/pull/1838


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-solr] dsmiley commented on pull request #1838: SOLR-14768: Fix multipart POST to Solr.

Posted by GitBox <gi...@apache.org>.
dsmiley commented on pull request #1838:
URL: https://github.com/apache/lucene-solr/pull/1838#issuecomment-695001919


   I'll commit soon; I tested and a user tested it's fixed with this change.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-solr] dsmiley merged pull request #1838: SOLR-14768: Fix multipart POST to Solr.

Posted by GitBox <gi...@apache.org>.
dsmiley merged pull request #1838:
URL: https://github.com/apache/lucene-solr/pull/1838


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org