Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHPAM-4648]: Error code: 404 on History button for Process Variable of type: org.jbpm.document.DocumentCollection #2272

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

public class DocumentCollectionVariableIndexer implements ProcessVariableIndexer {

private static final String PATTERN = "{0} ({1}/{2})";
private static final String PATTERN = "{0} ({1}_{2})";

@Override
public boolean accept(Object variable) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void testIndex() {

private void testDocument(int index, int max, VariableInstanceLog log, DocumentImpl document) {
Assertions.assertThat(log)
.hasFieldOrPropertyWithValue("variableId", VARIABLE_NAME + " (" + (index + 1) + "/" + max + ")")
.hasFieldOrPropertyWithValue("variableId", VARIABLE_NAME + " (" + (index + 1) + "_" + max + ")")
.hasFieldOrPropertyWithValue("value", document.toString());
}
}