alterm4nn / ChronoZoom

ChronoZoom is an interactive timeline for all of history.
http://www.chronozoom.com
160 stars 127 forks source link

Exhibit: Upload picture error #833

Open a-chumagin opened 11 years ago

a-chumagin commented 11 years ago
  1. Create exhibit
  2. Add content item with image url http://en.wikipedia.org/wiki/File:Rocknrolla_ver3.jpg (Url contains ":" in file name)
  3. Try to save

Observed: Error: Unable to save changes. Please try again later.User cannot understand error reason

NB. After page reloading this exhibit is presenting on page.

Expected: User gets clear error message

In log: Error connecting to service: update exhibit. {"exception":"ArgumentException","message":"Parameter is not valid.","stacktrace":" at System.Drawing.Bitmap..ctor(Stream stream)\u000d\u000a at Chronozoom.UI.Utils.ThumbnailGenerator.CreateThumbnails(ContentItem contentItem)\u000d\u000a at Chronozoom.UI.ChronozoomSVC.<>cDisplayClass45.b43(User user, Storage storage, Collection collection)\u000d\u000a at Chronozoom.UI.ChronozoomSVC.<>cDisplayClass7c`1.b7b(User user, Storage storage)\u000d\u000a at Chronozoom.UI.ChronozoomSVC.ApiOperation[T](Func3 operation)\u000d\u000a at Chronozoom.UI.ChronozoomSVC.ApiOperationUnderCollection[T](Object requestObject, String superCollectionName, String collectionName, Func4 operation)\u000d\u000a at Chronozoom.UI.ChronozoomSVC.PutExhibit(String superCollectionName, String collectionName, ExhibitRaw exhibitRequest)\u000d\u000a at SyncInvokePutExhibit(Object , Object[] , Object[] )\u000d\u000a at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"}

javierluraschi commented 11 years ago

This is not an image, it's an HTML page. Not critical at all.

a-chumagin commented 11 years ago

Agree

M3tan3rd commented 11 years ago

We will address this issue in the MS Extension project.

a-chumagin commented 11 years ago

According to mail from Roland