Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357120 - LogMessage->author should be set on server
Summary: LogMessage->author should be set on server
Status: RESOLVED FIXED
Alias: None
Product: EMFStore
Classification: Modeling
Component: ServerCore (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.3.M6   Edit
Assignee: Maximilian Koegel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 12:31 EDT by Andre Boehlke CLA
Modified: 2012-10-18 10:25 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Boehlke CLA 2011-09-08 12:31:13 EDT
In the current implementation, the commit author is set on client. This should be done on the server.

In ProjectSpaceImpl, it says:

		String commiter = "UNKOWN";
		if (this.getUsersession().getACUser() != null
				&& this.getUsersession().getACUser().getName() != null) {
			commiter = this.getUsersession().getACUser().getName();
		}
		logMessage.setAuthor(commiter);
Comment 1 Maximilian Koegel CLA 2011-09-09 04:11:16 EDT
This is true, we will fix this!
Comment 2 Tobias Verhoeven CLA 2012-10-18 10:24:57 EDT
The author is set on the server, too. ( VersionSubInterface createVersion() )
Comment 3 Maximilian Koegel CLA 2012-10-18 10:25:49 EDT
reported as fixed