Ticket #299 (new defect)

Opened 2 years ago

TestStore plugin publishes a wrong url for items where type=url

Reported by: francois Assigned to: dev
Priority: major Milestone:
Component: MediaServer Server Version:
Keywords: Cc:

Description

While testing whether coherence could be used to publish files stored on a Tahoe-LAFS storage grid to uPnP clients, I came across a bug in the TestStore plugin.

For items where <type>url</type>, an incorrect URL is published to clients. The attached patch which was proposed by Frank Scholz on IRC fixes that.

coherence --plugin="backend:TestStore,name:Tahoe,
item:<item>
  <name>Movie</name>
  <type>url</type>
  <location>http://tahoe.ctrlaltdel.ch:3456/uri/URI%3ACHK%3Ayapykwj6yelj5scmekyneoky3y%3Abczhred5cuq6crig5rlsltrhf62doz62je3m7vdzoctf3ssuyj4q%3A3%3A10%3A67121152</location>
  <mimetype>video/x-msvideo</mimetype>
</item>
"

Attachments

test_storage_url.diff (0.7 kB) - added by francois on 10.04.2010 15:24:27.

Change History

10.04.2010 15:24:27 changed by francois

  • attachment test_storage_url.diff added.