Validation Error when updating Feature work item to completed state?
We are on the latest version of TFS 2013 and have customized process templates based off of the Scrum template.
We have a custom workflow for the Feature work item type. I get an error when trying to update the state to custom done state of "Prod Deployment Successful". The error I receive is below:
TF237165: Team Foundation could not update the work item because of a validation error on the server etc etc.
I have TFS Admin rights as well as project and project collection Admin rights.
Custom States:
Planned
Canceled
On Hold
In Progress
Ready For QA
QA Deployment Failed
QA Deployment Successful
Ready For Stage
Stage Deployment Failed
Stage Deployment Successful
Ready For Prod
Prod Deployment Failed
Prod Deployment Successful
Custom Workflow:
" " TO Planned
Planned TO Canceled
Planned TO On Hold
Planned TO In Progress
In Progress TO On Hold
In Progress TO Ready For QA
On Hold TO In Progress
Ready For QA TO QA Deployment Failed
Ready For QA TO QA Deployment Successful
QA Deployment Failed TO Ready For QA
QA Deployment Failed TO In Progress
QA Deployment Successful TO Ready For Stage
QA Deployment Successful TO Ready For Prod
Ready For Stage TO Stage Deployment Failed
Ready For Stage TO Stage Deployment Successful
Stage Deployment Failed TO Ready For Stage
Stage Deployment Failed TO In Progress
Stage Deployment Successful TO Ready For Prod
Ready For Prod TO Prod Deployment Failed
Ready For Prod TO Prod Deployment Successful
Prod Deployment Failed TO Ready For Prod
Prod Deployment Failed TO In Progress
I have also updated the Process Configuration file to map the states to the meta states so I can show the custom states on the Feature board. The section in the process configuration file that relates to Feature is below:
<States>
<State type="Proposed" value="Planned" />
<State type="InProgress" value="Canceled" />
<State type="InProgress" value="On Hold" />
<State type="InProgress" value="In Progress" />
<State type="InProgress" value="Ready For QA" />
<State type="InProgress" value="QA Deployment Failed" />
<State type="InProgress" value="QA Deployment Successful" />
<State type="InProgress" value="Ready For Stage" />
<State type="InProgress" value="Stage Deployment Failed" />
<State type="InProgress" value="Stage Deployment Successful" />
<State type="InProgress" value="Ready For Prod" />
<State type="InProgress" value="Prod Deployment Failed" />
<State type="Complete" value="Prod Deployment Successful" />
</States>
The error ONLY happens when I try to update a Feature state to "Prod Deployment Successful". I have looked at other posts and searched the internet and have found no help for my exact issue in TFS 2013. For some
reason, I can't update the state from "Ready For Prod" to "Prod Deployment Successful". Does anyone have any ideas of what could be wrong or causing my issue?
Thanks in advance!
I finally figured out my issue and fixed it.
I had to update a reference name in the WIT xml file to Common.BusinessValue instead of Closed.
Similar Messages
-
Error when executing a work item (cannot execute a method, biding problem?)
Hello,
I created a specific workflow, triggered by an event, from a class I also created.
From this event, I get some data about a Document (CV01/02/03N...).
The first step is a task which refer to a method (from the same class above).
The binding Task <=> Method is the data about the Document and the Workflow ID.
After I start the workflow, I execute the work item in SWI1, with a breakpoint in the method.
I can't go in debug, and the work item is in error (in Workflow log) :
- "Work item 000000590208: Object ZCL_SA3_WF_GED_RECL_FOURN method UPDATE_FID cannot be executed"
- "EXECUTE_METHOD_OBJECT_SYNC : Dereferencing of the NULL reference".
Note: The task is not in background processing, in the aim of debugging the source code.
I did SWU_OBUF and quit/relog SAP.
Do you have any ideas to solve this problem ?
I think it's a biding problem, because I can' t even go in debug mode...
Thanks.
Regards
(sap version: ECC 6.0)Hi
Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
Regards
Pavan -
MSS PORTAL - RUN TIME ERROR WHEN EXECUTING A WORK ITEM IN UWL
Hi all,
I've a requirement wherein I need to have a custom screen in place of 'standard user decision' task in the UWL of MSS portal. I've developed a custom screen with Approve and Reject buttons and it works fine if I execute the work item from SAP inbox whereas in portal (UWL), it gives a run time error stating,
Portal Runtime Error
An exception occurred while processing your request
Exception id: 10:56_12/05/08_0020_509163550.
I'm sure that this error is due to missing configuration between the dynpro and the Portal. All inputs in this regard will be of great help and will be valuable to me.
Thanks in advance,
Bharathi.Hi
Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
Regards
Pavan -
FTP Validation error after updating to Muse 2014 - What am I missing?
I've updated from Muse CC to Muse 2014 as part of creative cloud. However, I'm now getting a validation error when I try to upload the site via ftp. I've checked all the fields. Any ideas?
This works with Muse CC:
This doesn't work with Muse 2014:
Thanks for any help!Hi Kieran,
What happens when you enter, 'murphysicecream.ie' in the domain name?
- Abhishek Maurya -
Folder name already exists error when activating feature
HI,
I am creating a document library and adding folders to it using elements.xml in VS 2012.
First time deployment of the item works fine, the folder is created. But further deployment or activation of feature from site features is throwing the error "Folder name already exists".
Below is the elements.xml of List Instance, which was modified to add the folders.
<ListInstance Title="TestLibrary" OnQuickLaunch="FALSE" TemplateType="101" FeatureId="Guid" Url="Lists/TestLibrary" Description="TEST Library List Instance">
<Data>
<Rows>
<Row>
<Field Name="ContentTypeId">0x0120004F994A3C0FF76546A528DA0D4B515898</Field>
<Field Name="FileLeafRef">Test_One</Field>
<Field Name="Title">Test_One</Field>
<Field Name="FSObjType">1</Field>
</Row>
<Row>
<Field Name="ContentTypeId">0x0120004F994A3C0FF76546A528DA0D4B515898</Field>
<Field Name="FileLeafRef">Test_Two</Field>
<Field Name="Title">Test_Two</Field>
<Field Name="FSObjType">1</Field>
</Row>
</Rows>
</Data>
</ListInstance>
How to fix this?
ThanksHi,
According to your post, my understanding is that you got “Folder name already exists error when activating feature”.
I had used the following code snippet to create a folder within a document library, it didn’t throw errors when reactive the feature.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance Title="LibTest"
OnQuickLaunch="TRUE"
TemplateType="10000"
Url="Lists/LibTest"
Description="My Lib Instance">
</ListInstance>
<Module Url="Lists/LibTest/Folder1" />
</Elements>
http://shareden.blogspot.com/2012/11/creating-feature-with-image-library.html
Also, when you redeploy the project, it will give you a dialog which would promote to delete the existed list or not.
If you click the “Resove Automatically”, the visual studio would delete the existed list automatically, and create a new list.
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support -
hi guys,
i have this error when updating itunes any advice.
Running Windows 7 Home Premium.....
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program Files (x86)\iTunes\iTunes.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
Any help would be appreciated....Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or by right-clicking the downloaded installer and selecting Run as Administrator.
See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
tt2 -
Error when updating Playbook OS version via Blackberry Desktop Manager
Greeting,
I have a batch of old playbooks which having the stack charging issue, but I found that I can update the OS to the newest version (2.1.0.1917) via Blackberry Desktop Manager, then the charging algorithm will be changed to the updated one and go over this dead battery issue. I was able to do so successfully in the past week smoothly on several devices.
But since this Monday, the Desktop Manager is saying "An updated Blackberry Desktop Software component must be installed before you can continue" when downloading the Desktop software and will appear "There was an error updating your software, an error has occurred while downloading the Blackberry Desktop Software.Please try again." and preventing the process. Seems there are some change on the server side starting this week which has caused this problem, but there's no error code to locate the exact issue.
I tried on 2 different computers as well as completed uninstalling and re-installing the Desktop manager, also tried to disable the automatic update as been advised in some threads. So no clue how to deal with it for now. It will be highly appreciate if some one can share some idea.
I've attached the step by step screenshots for reference, where you can find here:
http://forums.crackberry.com/blackberry-playbook-f222/error-when-updating-playbook-os-version-via-bl...
Thanks,BLock wrote:
Sorry I can not help you with your problem but perhaps you can help me.
Can you advise where I can find info on "disable the automatic update"?
just ignore the update if you dont want it on the playbook
for reloading the OS
First I would like you to do a Back Up of your PlayBook using your computer and BlackBerry Desktop Software.
This can be downloaded for free from http://us.blackberry.com/apps-software/desktop/
After the Back Up is complete I need you to unplug your PlayBook and then push and hold down the Power Button until the unit Force Powers Off.
Now, while Desktop Software is still open on your computer and the PlayBook Powered Off, Connect the PlayBook to your computer.
You should see and error screen from Desktop Software pop up that has the options to Retry, Update, or Cancel.
QUICKLY choose the Update option.
This will erase all the information off of your PlayBook and Re-Write the Software back onto it. Once it's complete your PlayBook will need to go back through the setup wizard, and you can then perform a restore using Desktop Software to return your information. The only thing that won't come back after the restore are the apps that you downloaded from App World but they can be easily Re-Installed using the My World feature in App World.
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
BESAdmin's, please make a signature with your BES environment info.
SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
Want to thank me? Buy my KnottyRope App here
BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V -
Error when updating Idocs in Source System - Urgent
Hi Team,
When i was loading the data from SAP R/3 to BW, i was facing the error "Error when updating Idocs in Source System" (0 From 0 Records).
When i check in the Environment>Transaction RFC->In the Source System, it was displaying the error--
<b>" Import container contains errors (are any obligato) in the Function Module: IDOC_ERROR_WORKFLOW_START_R".</b>
Can any one please help me to solve this error.
This is am Urgent requirement for me to deliver.
Thanks & Best Regards,
Venkata.Hello VenkaTa,
How r u ?
The workflow settings are not proper it seems. Ask the BASIS people to correct the Work Flow Settings. Then try Updating the IDOCs manually.
Also check the Inbound and outbound IDOCs in the Source system. The outbound should contain some warnings or errors.
Best Regards....
Sankar Kumar
+91 98403 47141 -
Getting mandatory attribute validation error when the value is defaulted through customization
Hi
I am getting Mandatory attribute validation error when we default the value through customization.
In the UI we have attribute called Last Name which is mandatory at EO level. Customer wanted to default Last name to some value, through page composer it is defaulted to some text and saved.
When ever we open the page the the same value is defaulted as Last Name and appearing in the UI. But when we submit the page, EO level validation is failing. hence we are getting last name is missing.
When i debug the code last name attribute value for EO is blank.
In the UI the attribute last name is associated with bindings --> #{bindings.lastname.inputvalue}
The validation is failing if we remove the default binding associated with inputtext box.
Can some body help what can be reason and is there any solution?
Thanks,
Praveenversion 12.1.2
I am struggling with same situation, I can't set the default value at business component because, the default value comes from a REST service at run time. In page A, I have a field F1 that contains value from REST service. Page B has a database bound field F2, whose default value should come from F1 in Page A when a user navigates from Page A to Page B. If I set the value of F2 to be the value of F1, then it displays the value in the UI, but nothing gets submitted to EO and fails at commit.
To make things difficult, here is my situation: Page A lives in bounded taskflow TF1, and Page B lives in bounded taskflow TF2. So I have created an input parameter P1 in TF 2, which carries over the value of F1 in Page A to Page B. When I am in Page B, I can successfully see the value of the taskflow input parameter P1. So, how do I programmatically set the value of field F2 with the value of input parameter P1?
I tried setting the F2.inputValue in a method call M1 in taskflow TF2 prior to Page B, but I get null pointer exception as it can't see field F2 yet.
It seems like a simple thing to do, but I have spent a lot of time trying to make it work without any success.
I would greatly appreciate any guidance. -
Error when updating! Help please!!
I've been having a problem with the artwork updating on my 5th iPod. I kept getting an error when updating in iTunes whenever I added artwork to songs. So I was told to go into iTunes and go under iPod options and UNCHECK the box to display the artwork on my iPod. Then click okay. Then, go back into it and CHECK the box TO display the artwork and I get an error; "..Unknown Error occurred (-50)". Same error. And yes I have pressed the center button on my iPod to scroll through the different things. And I have restarted the program and computer. Tried disconnecting hte iPod, closing the program, restarting computer, restarting iTunes and reconnecting iPod and every combination of the steps (I've done many searches on this subject here) and same result. I've tried other different things but it all ends up to this error. Can some one please help me
Windows XP ProHi Melophage,
I managed to do a OS X Recovery Reboot by restarting my computer and holding down Command and 'R'. I reinstalled OS X, and now my computer is working again.
However I'm going to take my computer into the Genius bar for review.
I have a Macbook Pro from 2012 (with a 2.6 GHz Intel Core i7 Processor) and was attempting to update OS X (I think Version 10.8.5).
Many thanks for your message. -
after deleting i tunes because of an error when updating, i cannot install 10.6 on my win vista laptop. when i select download, it loads for 3 secs then displays... thankyou for downloading but nothing has happened
Try downloading it with another browser.
If that doesn't work, try following along with this Apple article -> iTunes: Downloading iTunes for Windows using Internet Explorer -
Error when updating HANA Live Authorization Assistant
Hi Guys,
I'm trying to use the HANA Live AAA component for the creation of HANA Roles and it works fine when trying to generate the roles but it throwing me an error when updating them. The error happens at the beginning when the plugin attempts to load the Users from ECC. The message is:
SAP DBTech JDBC: [1300]: fetch returns more than requested number of rows: [1300] "_SYS_BIC"."sap.hba.tools.auth.db/GetUsers": line 20 col 1 (at pos 1770): [1300] (range 3) fetch returns more than requested number of rows exception
Anyone has gone through this error before??
Thanks!
Cheers.Ok Guys. No answer to this just yet.
We decided not to use the tool and build our security with HANA security functionalities. It takes a bit longer but It's more robust in the long run in terms of maintenance.
Cheers.
Christian. -
Avoiding concurrency errors when updating a database through AJAX
What are some strategies for avoiding concurrency errors when updating a database through AJAX. That is, in cases where a given user could attempt to modify the same row in the database with simultaneous requests (say, that he updates one column with information with an AJAX call, then immediately submits a form that updates the same row), what are some good ways yo prevent the two updates from colliding? On the JavaScript side one might make the AJAX call synchronous, but I question whether that is the best way to do it. Has anyone else confronted this?
Well, since no one seems to have any ideas so far, I'll throw in my two cents worth.
I'm not too familiar with AJAX so my advice may be limited.
I suggest you do a google search on Optimistic concurrency database to get some ideas on how to handle it.
If your update/insert/delete query is thread safe, then even if the same user double clicks the button fast enough to immediately have another update to the same record, then the first update will complete before the second one is carried out. Therefore no harm is done since he is just updating the same record. Since a typical update/insert/delete takes only a few milliseconds (querying may take a lot more time), its not likely he can click the button that fast. (I assume your using connection pooling for speed).
The trouble comes up when two people call up data from the same record in different browsers. The first one updates/inserts/deletes the record. Now the other user is looking at old data. When he updates/inserts/deletes, there is a problem. One way to handle this is to keep a copy of all the fields from that record in each user's session scope when they first fetch it from the database (example: oldName). Then when you go to update some time later, to this:
sql= update person set name=newValue where personID=3344 and name=oldName
Note oldName is from session scope.
If name in the database has changed, the update will not occur and will return 0 records updated. If it didn't change, it will update.
Note your update function should not throw an exception if it cant update, it should return false. Return true if it worked.
Example: public boolean updateName(String name)
Similiarly, your insert should not throw an exception if the record already exists, it should return false meaning it cant insert.
Exaple: public bolean insertName(String name). Same thing with delete function.
If a record cant be updated due to someone else updating the record while the user was looking at data, return a message that it wasn't updated due to that problem. Then show the user the new value in the database ask him if he wants to overwrite the new change.
Note even if you show 100 records on the JSP, only update the ones that have changed and not all 100. This way, its not likely he has updated the same records someone else has altered. Less likely a colision compared to updating all 100.
If your updating/inserting/deleting more than 1 record (say, 3), then you should look into setting up a transaction in addition to all the above and rolling back all of them if one fails.
Reading the section on databases from http://www.javapractices.com/home/HomeAction.do may also help. -
Error Loading Hierarchy Error when updating Idocs in Source System
Hello Friends,
I am loading hierarchy data using Info pac into 0FUNDS_CTR . I have selected a hierarchy under hierarchy selections tab in the Info pac .
All Partner profiles in WE20 seems OK . But When I loaded data , throwing errrr message as below
Error when updating Idocs in Source System
Diagnosis
Errors have been reported in Source System during IDoc update:
System Response
Some IDocs have error status.
Procedure
Check the IDocs in Source System . You do this using the extraction monitor.
Error handling:
How you resolve the errors depends on the error message you get.
When I checked in TC WE05 says that IDoc: 0000000000355113 Status: Error during syntax check of IDoc (outbound) with status 26 .
Please advice .
Many thanksHi Krishna4bi,
Actually we will monitor idoc status in BD87 in SAP BI As well ECC , while extracting the data from source sytem if any idoc struck we will manually process in BD87 , But you are telling that while loading the datasource the error occurred , so please check once in ECC side . Otherwise see how many packets are still process, make it red that infopackage and do manually update.
Hope it helps,
By,
Praveen Yagnamurthy,
SAP BI Consultant,
Blue Marlin Systems-INDIA.
http://bluemarlinsys.com/bi. -
Error when updating Idocs in Source System
Hi All,
We did a recent copy from QAS to DEV,after which am unable to run my process chains ,the load status still showin yellow signal,whereas job is getting finished but am unable to load datas to the targets. Am getting the following error message when i see the display message in process chain.
System Response
Some IDocs have error status.
Procedure
Check the IDocs in Source System . You do this using the extraction monitor.
Error handling:
How you resolve the errors depends on the error message you get.
Error when updating Idocs in Source System
Could anyone please let me know what can be done ?
Thanks
conHello All,
I have same problem but its RESOLVED by the following process.
Step - 1
execute the Function module "SCP_LANGUAGES_IN_INSTANCE". It may or maynot give some output. Just note if it give the output
Step - 2
in Transaction SE38 execute the program "RSCPINST".
Just Click on the Activate button (dont select anything).
Step - 3
Again do the same thing specified in Step - 1. Now it will give the output saying that Language is DE.
So by the above procedure my issue is been resolved.
Regards
Sankar
Maybe you are looking for
-
I just updated my iTunes on 12-7-2012 and I do not like the newer version.....can I go back to the earlier version?? This new version does not have the iTunes DJ nor does is show at the bottom as in the earlier version how many songs and the size of
-
I cut the whole video and then saved. Is there a way to restore?
Hi all I'm using quicktime pro When I open the file it shows and plays as an audio only. The file is still there.. the file size is 1/4 gig. How do I tell the program I want to "uncut" the file.
-
Trouble setting up Google mail on Outlook with Mavericks
I'm trying to set up Outlook mail. I keep getting an error message. The server for account "...." returned the error " invalid credentials .....". Your user name/password or security settings may be incorrect. I've checked the name and password they
-
E7 calender home screen widget
am i missing something here ? There seems to be no user settings whatsoever for the calender home screen widget. There seem to be no other widgets for the calender apart from the default one, and i have searched and searched ovi i use the calender al
-
Zend Optimizer and Mac OS X 10.5 Server
I'm looking to install Zend Optimizer on Mac OS X 10.5.8 Server but it's seems that the latest version of Zend Optimizer is not compatible with the 64-bit version of Apache. Anybody with a solution?