Is it possible to change which work item is associated with a check-in? - tfs-workitem

In MS Team Foundation Server 2010 is it possible to update the work items that a check-in is associated with? I was working late yesterday and checked in against the wrong items and would like to re-associate with the right work items.

Work items are associated by linking them to the changesets. All you have to do is remove the link to the wrong work items and add the links to the new ones.

Related

opencart - product option still showing even though it is disabled in back end

I've not really used OpenCart before so not entirely sure if what I'm doing is correct or not.
I'm using OpenCart 1.5.6.4 and implementing OpenStock in order for me to add several options and prices for products.
To clarify, I have an ethernet cable in the store, but it is available in different lengths and colours. However, in my admin area under Option Stock tab in Products, I have disabled the 0.5m Green cable - yet it is still shown on the front end, and can even be added to the cart. Checking the database, it is definitely set to 0 in the active column, so why is it still showing? Or am I missing something really obvious?
If my question seems too vague, please tell me - I can explain more if need be.
Thank you,
Michael
Clear OpenCart cache:
Locate cache folder under system/storage/cache
Open cache folder and select all files
Delete files
Try to refresh the modifications cache in the admin. I found that to be very useful when most things dont update on the public side.

Cannot filter a SharePoint 2013 Task List after March 2015 Update

Not sure if anyone else has noticed this, but for some reason after I installed the SharePoint 2013 March 2015 CU I am unable to filter Task Lists using a view. (April 2015 does not work either) Even the default Completed view does not work. All items are begin displayed. I have tested this on four different servers now. There is a checkbox in the web part properties that allows for server rendering which I am currently using as a work around but I would like to get the client side rendering to work again as it had before the CU.
Was contacted by Microsoft yesterday.
Short summary:
At the moment there are no solutions for this problem, but they are working on a new smaller CU update that will include a fix. They could not give me a timeframe for when this update will be published, but they told me "very soon".
There are two quick/temporary fixes:
1. On the page go to Settings -> Edit Page -> Select the List Web Part and the option Edit Web part -> Miscellaneous -> Server Render (Checkbox).
2. Go to the list -> select and edit view -> expand "Style" -> Chose any style besides "Default". The style "Shaded" is ok.
I've just confirmed that the May 2015 Cumulative update contains a fix for the issue listed above http://www.microsoft.com/en-us/download/details.aspx?id=47213
Please note that the CU does take quite a while to install and requires the server to be rebooted
After applying the March 2015 CU (and possibly MS15-022), it is no longer possible to Filter a View based on criteria in the Task list (e.g. Task Status). This appears to only impact new Task Lists created post-patch. One workaround is to place the Task list on a Page. Edit the Web Part and check "Server Render" under Miscellaneous. This does not appear to be a Lists.asmx Web Service issue as the filtered view correctly filters in 3rd party tools.
http://nauplius57.rssing.com/chan-11167629/latest.php
Just bumped into the issue above but it happened on a custom list (not issue derived) with March 2016 CU applied. This is the first instance I found so far. I corrected it by doing the following:
Edit the listview page.
Edit the listview web part
In the Miscellaneous section, click Server Render
Save web part settings and page.
Repeat 1-4 except uncheck Server Render.
I also encountered this issue, but on a SharePoint 2013 BCS External List. Filtering with "yes" on a Yes/No column seems to do nothing, return all rows as is. Also when I choose to filter by a date on DateTime columns, no rows were returned.
Changing the view style to "Shaded" and enabling "Server Render" solved the above issues.
Downside to this solution is that you loose the ability to use JS Link / CSR.

Sitecore item will not go into edit mode; any suggestions on how to troubleshoot?

I have several Sitecore items (whose template is connected to an approval workflow) that will not go into Edit mode when clicking "Edit" from the "Review" tab. The same workflow is used elsewhere on the site successfully (the site is more than 3 years old), but clicking Edit in this case doesn't seem to affect the workflow state.
I've turned on verbose logging, which provides a lot of detail, but nothing to indicate any error conditions. I've been comparing how this template is configured with other "working" templates for a couple of days and everything looks Kosher, but surely I'm missing something obvious.
EDIT: The item(s) in question are imported by a data provider, and I've confirmed that for some reason Sitecore is not setting the "Workflow" and "State" system standard fields with a default value. That appears to be at least part of the issue.
EDIT 2: Followed the steps in this thread http://sdn.sitecore.net/Forum/ShowPost.aspx?PostID=45991 to use Sitecore Rocks to update all of the items to the correct Workflow State, but the update did not stick. For some reason workflow changes are not persisted for imported items.
EDIT 3: Clicking the Edit dropdown button under the Home tab displays the message "The item is currently not part of a workflow."
Standard values set correctly? Only have one Standard Values item for this template?
Generally, almost every time I run into a situation where X works on certain items, but not on others... it's a permissions issue. You've tested this as an Administrator I hope?
Sorry my suggestions are so vague, but it's hard to be specific here. We need some more information from you... When you click on Edit what exactly are you expecting to happen? I'm not entirely sure what you mean by "Edit mode" here. In Content Editor, all items are essentially in edit mode all the time... In my configuration, when I click on Edit, I am just locking the item. It does not change workflow state or create a new version.
These items are coming from a data provider... is your data provider handling Lock/Unlock calls properly? I know it's possible to use a data provider without implementing the entire Item API.

XCart unable to add items to cart

Hey guys I'm taking over another web developers installation of XCart and am unable to
add items to a cart, it seems like they disabled this functionality somehow, and am wondering
if there are thoughts on how this has been done. You can play with an actual item here
Item Test
To see what it actually does. It seems like the item completely skips the cart somehow, I'm
wondering if this is a product irregularity? All products were imported, none were created.
I fear I can't test that. You don't have any "add-to-cart" buttons enabled on that web-site pages.
If this is what you faced to - make sure
1) you have "add-to-cart" code in product.tpl template file
2) you have non-zero in-stock qty for products
3) at least one of payment methods enabled

TFS 2010 set bug work item severity after build failure

I'm experiencing a problem with the severity of the bug work items generated by me builds occasionally failing while using TFS 2010 (after checking in bad sources of course).
My boss has decided that a build failure for my project should rank 2nd most important in the severity ladder, not first. He want to reserve the critical status for project which rake in the money, not the projects for building the codebase of our CMS.
I'd still like to be notified when a build fails, but he won't allow me to keep the severity of the bug at 1 - critical, which is the default value of the generated bug work items.
I've been trying to change the work item severity, but I can't seem to be able to find the location in the buildtemplate I've been using for my project. (DefaultTemplate.xaml, just the default agile team project process template)
I've searched the whole template for the activity which adds a work item if the build fails, but to no avail.
I suspect it is some setting in one of the activities or that it is dependent on the associate changesets and work items activity, but that activity doesn't seem to have a setting for setting a severity.
I'm not very skilled when it comes to editing these build templates, but so is noone else over here, so I'm it.
I've found a blog which claims you can change this, but the template used seems to be different from the one I use.
http://geekswithblogs.net/jakob/archive/2010/04/28/modify-build-failure-work-item-in-tfs-2010-build.aspx
I've tried finding the IfCreateWorkItem activity mentioned in the blog post in the build template, but I can't find it.
Also I'm unsure if adding the work item activity will prevent the critical item from being posted. I suspect it will add a new work item in case of failure in addition to the other work item unless I turn off the associate changesets and work items setting, which I don't want. (if tests pass I want the associated work items to change state to passed too)
Related to this matter is the person to whom the bug is assigned.currently this is the NTAuthority account. I'd like to change that to the person who submitted the last changeset used for the build. I Can't find a setting for that either.
If you find the "Create Work Item" step of the Template:
Right click on this and do "Properties" in the Properties window you will see a "CustomFields" that can be edited. Click the "..." elipsis to open the Expression editor:
From there you can adjust the properties.
I needed to make the same change and couldn't find the "Creat Work Item" section either, at first. You have to expand (double-click) the Exception section of "Try to compile project".