Reorder backlog items by dragging

8 posts, 1 answers
  1. Martin Moesby
    Martin Moesby avatar
    9 posts
    Member since:
    May 2011

    Posted 07 Sep 2011 Link to this post

    Apparently this doesn't work quite as well in my envoronmrt as it does in the video, because I get a nice little box claiming that TeamPulse has encountered an error.
    So, I copied the error to the clip board in order 2 show you this.

    Clipboard content:
    Exception Type: System.InvalidOperationException
    Exception Message: Nullable object must have a value.
       på System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       på TeamPulse.Client.Utilities.WorkItemSequencer.MoveBetween(ISequenceableWorkItem predecessor, ISequenceableWorkItem ancestor, List`1 sortedList, ISequenceableWorkItem itemToMove)
       på TeamPulse.Client.Utilities.WorkItemSequencer.MoveAboveItemInSequence(IList`1 sequence, ISequenceableWorkItem itemToMove, ISequenceableWorkItem newAncestor)
       på TeamPulse.Client.Presentation.Backlog.BacklogList.BacklogListPresenterModel.RowsReordered(RowsReorderedEventArgs args)
       på Microsoft.Practices.Composite.Events.EventSubscription`1.InvokeAction(Action`1 action, TPayload argument)
       på Microsoft.Practices.Composite.Events.EventSubscription`1.<>c__DisplayClass2.<GetExecutionStrategy>b__0(Object[] arguments)
       på Microsoft.Practices.Composite.Events.EventBase.InternalPublish(Object[] arguments)
       på Microsoft.Practices.Composite.Presentation.Events.CompositePresentationEvent`1.Publish(TPayload payload)
       på TeamPulse.Client.Presentation.Behaviours.RowReorderBehavior.OnDropInfo(Object sender, DragDropEventArgs e)
       på Telerik.Windows.Controls.DragDrop.DragDropEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       på Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       på Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
       på Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
       på Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
       på Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.DragDropProvider_DropInfo(Object sender, DragDropEventArgs e)
       på Telerik.Windows.Controls.DragDrop.DragDropProviderBase.RaiseDropInfo()
       på Telerik.Windows.Controls.DragDrop.SilverlightDragDropProvider.OnDrop()
       på Telerik.Windows.Controls.DragDrop.SimulatedDragDropProvider.OnCoverRectangleMouseLeftButtonUpInternal()
       på Telerik.Windows.Controls.DragDrop.SilverlightDragDropProvider.OnTrackedPartMouseLeftButtonUp(Object sender, EventArgs e)
       på MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       på MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

    so - there it is :) Does ANYONE have any ideas?

  2. Ryan
    Admin
    Ryan avatar
    164 posts

    Posted 07 Sep 2011 Link to this post

    Hi Martin,

    The error you are seeing is due to a missing Backlog Priority (Stack Rank) number in the database.

    We have seen this happen before, but we are not sure what the cause is. Are you using a fresh install of TeamPulse, or an upgrade? Or are you on the Hosted Trial?

    In order to get all of your items having a Backlog Priority number, please run the attached sql script, if possible.  Ensure that you backup the database first.

    Best wishes,
    Ryan
    the Telerik team
    TeamPulse R2 Officially Released!
    Do you want to know what's new and be able to directly talk to our professionals?
    Reserve a seat for the Weekly Live Demo !
  3. Martin Moesby
    Martin Moesby avatar
    9 posts
    Member since:
    May 2011

    Posted 07 Sep 2011 Link to this post

    Hi Ryan,

    I am using a fresh install, running on a windows 2008R2 enterprise edition. This server also acts like a DC and a TFS (I never got it working with TFS located on a different server - system couldn't find the TFS client files, even though I installed the Team Explorer 2010)

    Database is a SQL 2008 R2, located on a different server.

    Both servers are running in a Windows Hyper-V envoironment.

    I'll run the script on the database, and see what happens:)

    Thx.
  4. Ryan
    Admin
    Ryan avatar
    164 posts

    Posted 07 Sep 2011 Link to this post

    Hello Martin,

    Thanks for the information. Have you pulled in (synced) items from TFS? I have an hunch that the problem may be happening when you create items in TFS and then sync those items into TeamPulse.

    I have updated your account with some Telerik Points for your help with this issue.
     
    Regards,
    Ryan
    the Telerik team
    TeamPulse R2 Officially Released!
    Do you want to know what's new and be able to directly talk to our professionals?
    Reserve a seat for the Weekly Live Demo !
  5. Martin Moesby
    Martin Moesby avatar
    9 posts
    Member since:
    May 2011

    Posted 07 Sep 2011 Link to this post

    Well, there were some issues with the synching, because the project was initially created in tfs, but tfs gives very little planning control - hence Teampulse. So I deleted the project in tfs ( it's a new project with only a few backlog items in it), created a new one, and Then synched from Teampulse. But some of the initial backlog items comes from tfs, not Teampulse, and i suspect you might be right, because when i coincidentrally rearranged two items that were created in Teampulse, and not tfs, i didnt get the error. To sum up: 4 items comes from tfs into teampulse, 2 were created in Teampulse. The 4 from tfs, got synched back into tfs after initializing a new tfs project.... I dont Think i Can explain it any better than this. But no matter what, I am very impressed by the system, and I am going to present it to my colleagues tomorrow and plan to purchase 4 licenses to start with. Thanx for the great support.
  6. Ryan
    Admin
    Ryan avatar
    164 posts

    Posted 07 Sep 2011 Link to this post

    Hi Martin,

    Thanks for your help. We have managed to reproduce the problem, and my hunch was right. If the an item is created in TFS, it will not be given a Backlog Priority number in TeamPulse. You can avoid the problem by creating all new items in TeamPulse, or by re-running that script I sent after pulling in new items from TFS. The script will only update items that have no value in their Backlog Priority, so it is safe.

    If these work arounds will not do for now, there are a couple other things you could do in your TFS mapping file to either set a default value for Backlog Priority or to sync it up with an existing TFS value. Let me know if you would rather do this.

    I am happy to report, we are working on a code fix for this issue right now.

    All the best,
    Ryan
    the Telerik team
    TeamPulse R2 Officially Released!
    Do you want to know what's new and be able to directly talk to our professionals?
    Reserve a seat for the Weekly Live Demo !
  7. Martin Moesby
    Martin Moesby avatar
    9 posts
    Member since:
    May 2011

    Posted 08 Sep 2011 Link to this post

    Hi Ryan,

    Your solutions worked perfectly, and I have no further need for any workarounds.
    All future backlog items WILL be made in Teampulse, so I have no quirks regarding your workaround:)
    One thing though - Areas and Iterations doesn't seem to sync to and from TFS....
    This can cause issues when trying to map VS check-ins to workitems/tasks...
    For now, the solutions is to alter the workitem query VS uses to show the correct workitems for the sprint/iteration...

    But that's a very minor issue, and I can be because I am not fully understanding the system yet...

    Not matter . it's great system, and great support. Thanks


  8. Answer
    Ryan
    Admin
    Ryan avatar
    164 posts

    Posted 08 Sep 2011 Link to this post

    Hello Martin,

    Glad to hear this will work for you.

    Areas and Iterations will sync back and forth between TFS and TeamPulse but it isn't in a 'traditional' manner. They are synced as stories\bugs\etc. require them. For example, if a story in TeamPulse is assigned to Iteration 1 and that iteration does not exist in TFS, then upon syncing of this story that iteration will be created. Same goes for items created in TFS. Basically, iterations and areas are created as they are needed to support syncing of other entities. Also note, the sync will never delete an area or iteration.

    If you have any other questions, do not hesitate to ask.

    Kind regards,
    Ryan
    the Telerik team
    TeamPulse R2 Officially Released!
    Do you want to know what's new and be able to directly talk to our professionals?
    Reserve a seat for the Weekly Live Demo !
Back to Top