-
Notifications
You must be signed in to change notification settings - Fork 20
increase lucene filter limit and avoid moderation request zombie #233
increase lucene filter limit and avoid moderation request zombie #233
Conversation
@heydenreich: please rename the title |
* get a maximum of 150 results when using the filter in project and component portlet * has to be tested: is speed still ok? * closes #221 if speed is ok
* if last moderator wants to unsubscribe, pop-up - not allowed * closes #114
…d in linkedProjects.jspf * changes for license info download also apply to project details view in moderation portlet * there, licenseDownloadInfo is not available and not necessary -> moderation portlet crashed * solution: make download license info form only available in project detail mode
da02a79
to
27b9e69
Compare
|
tested the moderator thing with components, projects and releases -> OK |
tested the search limit -> works as well |
looked at the source code with my basic understanding, looks OK. |
} catch(TException e) { | ||
log.error("Error in Moderation ", e); | ||
} | ||
request.setAttribute(PortalConstants.REQUEST_STATUS, status); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to move this into the try
-block. One should not set an attribute to null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -25,6 +25,7 @@ | |||
|
|||
import static com.siemens.sw360.datahandler.common.CommonUtils.addAll; | |||
import static com.siemens.sw360.datahandler.common.CommonUtils.removeAll; | |||
import static com.siemens.sw360.datahandler.common.CommonUtils.nullToEmptySet; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might be unwanted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
|
||
|
||
<%@include file="/html/moderation/includes/moderationActionButtons.jspf"%> | ||
<br/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This return looks like a hack to solve a css problem. Might be better to wrap the buttons into a div and use the display:...
or margin:...
properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is already wrapped in a div. I removed the <br/>
f59b404
to
d703a80
Compare
d703a80
to
d110b73
Compare
set lucene.limit to 150 …
avoid moderation request zombie …