##// END OF EJS Templates
vcs: Use a thread scoped cache invalidation context to cache repository objects....
vcs: Use a thread scoped cache invalidation context to cache repository objects. Without this change the cache is on a process scope. If running with multiple threads this leads to sharing the cached object between threads. This will cause exceptions if multiple threads are trying to access the same curl object. Even worse it allows multiple threads to operate on the same repository object concurrently.

File last commit:

r518:9f9ffd3a default
r614:cbe55781 default
Show More
sequence_item.pt
35 lines | 1.5 KiB | text/plain | TextLexer
<div tal:omit-tag="field.widget.hidden"
tal:define="hidden hidden|field.widget.hidden;
error_class error_class|field.widget.error_class;
description description|field.description;
title title|field.title;
oid oid|field.oid"
class="form-group row deform-seq-item ${field.error and error_class or ''} ${field.widget.item_css_class or ''}"
i18n:domain="deform">
<div class="deform-seq-item-group">
<span tal:replace="structure field.serialize(cstruct)"/>
<tal:errors condition="field.error and not hidden"
define="errstr 'error-%s' % oid"
repeat="msg field.error.messages()">
<p tal:condition="msg"
id="${errstr if repeat.msg.index==0 else '%s-%s' % (errstr, repeat.msg.index)}"
class="${error_class} help-block"
i18n:translate="">${msg}</p>
</tal:errors>
</div>
<div class="deform-seq-item-handle" style="padding:0">
<!-- sequence_item -->
<span class="deform-order-button close glyphicon glyphicon-resize-vertical"
id="${oid}-order"
tal:condition="not hidden"
title="Reorder (via drag and drop)"
i18n:attributes="title"></span>
<a class="deform-close-button close"
id="${oid}-close"
tal:condition="not field.widget.hidden"
title="Remove"
i18n:attributes="title"
onclick="javascript:deform.removeSequenceItem(this);">&times;</a>
</div>
<!-- /sequence_item -->
</div>