Not a feature request, just a simple bug:
When one deletes all encoding parameters, it cannot be saved (error).
Regards
Christian B.
EDIT:
this is the error message:
Error Summary
Url
http://domain.com/defaul...deoaudioother&aid=1
Timestamp
1/25/2012 1:39:59 AM
Exception Type
System.ArgumentOutOfRangeException
Message
StartIndex cannot be less than zero.
Parameter name: startIndex
Source
mscorlib
Target Site
System.Text.StringBuilder Remove(Int32, Int32)
Stack Trace
at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
at GalleryServerPro.Business.MediaEncoderSettingsCollection.Serialize()
at GalleryServerPro.Data.SqlServer.GalleryData.SaveGallerySetting(IGallerySettings gallerySettings)
at GalleryServerPro.Business.GallerySettings.Save(Boolean forceReloadFromDataStore)
at GalleryServerPro.Web.Pages.Admin.videoaudioother.SaveSettings()
at GalleryServerPro.Web.Pages.Admin.videoaudioother.OnBubbleEvent(Object source, EventArgs args)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Exception Data
Error Handling Exception: The function HandleGalleryException experienced the following error while trying to log an error: System.InvalidOperationException - Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\nmfia2j2.0.cs' could not be found
error CS2008: No inputs specified
Stack trace: at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at GalleryServerPro.ErrorHandler.Error.Serialize(ICollection`1 list)
at GalleryServerPro.Data.SqlServer.Error.GetCommandErrorInsert(IAppError appError, SqlConnection cn)
at GalleryServerPro.Data.SqlServer.Error.PersistToDataStore(IAppError appError)
at GalleryServerPro.Data.SqlServer.Error.Save(IAppError appError)
at GalleryServerPro.ErrorHandler.Error.Record(Exception ex, Int32 galleryId, IGallerySettingsCollection gallerySettingsCollection, IAppSetting appSettings)
at GalleryServerPro.Web.Controller.AppErrorController.HandleGalleryExceptio n(Exception ex, Int32 galleryId)
App Error ID
-2147483648
Gallery ID
1
HTTP User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.17 (KHTML, like Gecko) Chrome/18.0.1007.0 Safari/535.17