update to use # as seperator instead of _
This commit is contained in:
parent
39936792aa
commit
4fad41bd0b
@ -212,7 +212,7 @@ Namespace Jobs.FinalizeDocument
|
||||
Throw New BurnAnnotationException("The identifier of annotation is null or empty.")
|
||||
End If
|
||||
|
||||
Dim parts As String() = value.Split("-"c)
|
||||
Dim parts As String() = value.Split("#"c)
|
||||
|
||||
If (parts.Length <> 4) Then
|
||||
Throw New BurnAnnotationException($"The identifier of annotation has more or less than 4 sub-part. Id: {_id}")
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
let elementIndex = 0;
|
||||
|
||||
function generateId(annotationType) {
|
||||
return `${envelopeId}_${receiverId}_${elementIndex++}_${annotationType}`;
|
||||
return `${envelopeId}#${receiverId}#${elementIndex++}#${annotationType}`;
|
||||
}
|
||||
|
||||
for (let element of document.elements) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user