anchor.diff:  	String context 		= request.getParameter("Context");
   	String fromAlias	= request.getParameter("Alias");
   	String profile		= request.getParameter("Profile");
  +	if (!StringUtil.isDefined(profile)) {
  +	  profile = "user";
  +	}
   	String nodeId		= request.getParameter("NodeId");
   	String versionningFileRightsMode = request.getParameter("VersionningFileRightsMode");
   	String s_topicRightsEnabled = request.getParameter("TopicRightsEnabled");
  
positive.code: 	          out.println(board.printAfter());
       }
  %>
  <div id="attachmentModalDialog" style="display: none"/>
  <script language="JavaScript">
  	var publicVersionsWindow = window;
  	function viewPublicVersions(docId) {
  
negative.code:         	versioningSC.setEditingDocumentWithDefaultLists(document);
          	if (versioningSC.hasAccess(document, versioningSC.getUserId()))
  	        { 
          		if ("user".equals(profile))
          	  	{
  	        		document_version = versioning_util.getLastPublicVersion(document.getPk());
          	  	}
  