Ticket #342 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Click two times update for some entry in metadata, exception raised

Reported by: chhavi-negi Owned by: avneesh-singh
Priority: major Milestone: Obi 1.0
Component: Application Version:
Keywords: Cc:
Blocked By: Blocking:
Time planned: 1d Time remaining: 1d
Time spent: 1d Estimated Number of Hours:
Add Hours to Ticket: Billable?:
Total Hours:


Open any project and goto metadata view.
Select any field in it and make some changes in it.(I selected dc:Title)[[BR]] Few of the boxes get checked.
Now click on any unchecked field(like dtb:Source title) and make some changes in it and click update. This gets updates with a blank entry.
Again click update and it says Metadata cannot have empty values.

Press Ok and exception raised: Invalid Argument=Value of '0' is not valid for index. Parameter name : index

Detail: System.ArgumentOutOfRangeException?: InvalidArgument?=Value of '0' is not valid for 'index'. Parameter name: index

at System.Windows.Forms.ListView?.SelectedListViewItemCollection?.get_Item(Int32 index) at Obi.ProjectView?.MetadataView?.CommitValues?() at Obi.ProjectView?.MetadataView?.mCommitButton_Click(Object sender, EventArgs? e) at System.Windows.Forms.Control.OnClick?(EventArgs? e) at System.Windows.Forms.Button.OnClick?(EventArgs? e) at System.Windows.Forms.Button.OnMouseUp?(MouseEventArgs? mevent) at System.Windows.Forms.Control.WmMouseUp?(Message& m, MouseButtons? button, Int32 clicks) at System.Windows.Forms.Control.WndProc?(Message& m) at System.Windows.Forms.ButtonBase?.WndProc?(Message& m) at System.Windows.Forms.Button.WndProc?(Message& m) at System.Windows.Forms.Control.ControlNativeWindow?.OnMessage?(Message& m) at System.Windows.Forms.Control.ControlNativeWindow?.WndProc?(Message& m) at System.Windows.Forms.NativeWindow?.Callback(IntPtr? hWnd, Int32 msg, IntPtr? wparam, IntPtr? lparam)

Change History

comment:1 Changed 11 years ago by avneesh-singh

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.