Jump to content

4.9.38 MultiSelect throws Error - There was an error processing the request. Please try again later.


Recommended Posts

Posted
        [Browsable(false)]
        [DontSave]
        public IEnumerable<EditorSelectOption> SeriesLibraries { get; set; }

        [DisplayName("Libraries to export")]
        [SelectItemsSource(nameof(SeriesLibraries))]
        [EditMultilSelect]
        [DontSave]
        public IList<string> LibraryId { get; set; }


public override Task<IPluginUIView> RunCommand(string itemId, string commandId, string data)
        {
            if (commandId == "1")
            {   
              _logger.Info("madeit");
                return Task.FromResult((IPluginUIView)this);
            }

            return base.RunCommand(itemId, commandId, data);
        }

 

It seems in .38 when using a multiselect I now get an error when values are set for LibrayId using the MultilSelect.  If I dont select anything and do the button click, no error. when I select values, error, it seems to be happening in the base as my code completes fine and I see values in the list of LibraryIds.

 

Posted

A multiselect property needs to have a type of string with comma separation.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...