Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 76582 - Cvs errors get swalled and only fully reported in .log file
Summary: Cvs errors get swalled and only fully reported in .log file
Status: RESOLVED DUPLICATE of bug 76726
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Michael Valenta CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 76726
Blocks:
  Show dependency tree
 
Reported: 2004-10-19 13:50 EDT by MG CLA
Modified: 2004-10-27 11:27 EDT (History)
0 users

See Also:


Attachments
My commit window with the error (9.19 KB, image/gif)
2004-10-21 13:38 EDT, MG CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description MG CLA 2004-10-19 13:50:23 EDT
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.
Comment 1 Michael Valenta CLA 2004-10-19 14:03:11 EDT
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
Comment 2 MG CLA 2004-10-19 15:02:59 EDT
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
Comment 3 MG CLA 2004-10-20 18:20:25 EDT
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 ----------------------------------------------
Comment 4 Michael Valenta CLA 2004-10-21 08:51:30 EDT
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.
Comment 5 MG CLA 2004-10-21 13:38:08 EDT
Created attachment 15332 [details]
My commit window with the error
Comment 6 Michael Valenta CLA 2004-10-21 13:46:14 EDT
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.
Comment 7 MG CLA 2004-10-21 13:58:16 EDT
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.
Comment 8 Michael Valenta CLA 2004-10-26 12:21:08 EDT
I will be providing a patch for bug 76726 which addresses this issue.
Comment 9 Michael Valenta CLA 2004-10-27 11:27:13 EDT

*** This bug has been marked as a duplicate of 76726 ***