Community
Participate
Working Groups
We generate custom errors when checking files into the repository and when an error is returned to eclipse it simply states "The server reported an error" but it does not display the text of the error. This used to work in older versions but now I have to open the log file to find out for instance that I did not have permission to commit to this particular branch.
What do the errors look like? I assume they are generated by the server. Are they trasmitted as E or M messages (or do they use MT)? It would be helpful if you perform the steps at the following URL and attach the results to this bug. That will answer the above questions for me. http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm- home/docs/online/cvs_features2.0/cvs-faq.html#misc_0
This is from the log file. I'll try and go through the set of steps that you gave me the link to. !ENTRY org.eclipse.team.cvs.core 4 -10 Sep 29, 2004 11:25:37.977 !MESSAGE The server reported an error while performing the "cvs commit" command. !SUBENTRY 1 org.eclipse.team.cvs.core 4 -14 Sep 29, 2004 11:25:37.977 !MESSAGE mybranch: !SUBENTRY 1 org.eclipse.team.cvs.core 4 -14 Sep 29, 2004 11:25:37.977 !MESSAGE mybranch: COMMIT BLOCKED -- Sorry; x y branch commits are presently forbidden for thisuser in x/y/deploy/weblogic/domain/windows/z. Please contact dept if you need access. !SUBENTRY 1 org.eclipse.team.cvs.core 4 -14 Sep 29, 2004 11:25:37.977 !MESSAGE mybranch: cvs [server aborted]: Message verification failed
Looks like they are E messages. Here is the relevant portion from the log. ci E Log message contains no content! E cvs [server aborted]: Message verification failed error RESULT> Status ERROR: org.eclipse.team.cvs.core code=-10 The server reported an error while performing the "cvs commit" command. null children=[Status ERROR: or g.eclipse.team.cvs.core code=-14 Log message contains no content! null Status ER ROR: org.eclipse.team.cvs.core code=-14 cvs [server aborted]: Message verificati on failed null] !SESSION Oct 20, 2004 15:05:37.29 ----------------------------------------------
E messages should be reported in the error and should be available in the details section of the error dialog or, in the case of a commit, by selecting the error in the list.
Created attachment 15332 [details] My commit window with the error
And if you select the entry what appears in the bottom list? FYI, I am in the process of reworking this exact dialog to present errors in a more friendly fashion. It currently has some major usability flaws.
Yeah you are correct... the errors do appear after I click on it. Guess I never tried that... too used to the workflow from 2x.
I will be providing a patch for bug 76726 which addresses this issue.
*** This bug has been marked as a duplicate of 76726 ***