Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
BZ 1260211 - [GSS](6.1.z) Unable to call a reusable process that cont…
Browse files Browse the repository at this point in the history
…ains a _ (underscore) in the name in BPM Suite 6.1.2
  • Loading branch information
Tihomir Surdilovic committed Sep 24, 2015
1 parent 318616d commit 876b916
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -86,7 +86,7 @@ protected void doPost(HttpServletRequest req, HttpServletResponse resp)
if(allProcessesInPackage != null && allProcessesInPackage.size() > 0) {
for(String p : allProcessesInPackage) {
Asset<String> processContent = ServletUtil.getProcessSourceContent(p, profile);
Pattern idPattern = Pattern.compile("<\\S*process[^\"]+id=\"([^_\"]+)\"", Pattern.MULTILINE);
Pattern idPattern = Pattern.compile("<\\S*process[^\"]+id=\"([^\"]+)\"", Pattern.MULTILINE);
Matcher idMatcher = idPattern.matcher(processContent.getAssetContent());
if(idMatcher.find()) {
String pid = idMatcher.group(1);
Expand Down Expand Up @@ -155,7 +155,7 @@ protected void doPost(HttpServletRequest req, HttpServletResponse resp)
if(allProcessesInPackage != null && allProcessesInPackage.size() > 0) {
for(String p : allProcessesInPackage) {
Asset<String> processContent = ServletUtil.getProcessSourceContent(p, profile);
Pattern idPattern = Pattern.compile("<\\S*process[^\"]+id=\"([^_\"]+)\"", Pattern.MULTILINE);
Pattern idPattern = Pattern.compile("<\\S*process[^\"]+id=\"([^\"]+)\"", Pattern.MULTILINE);
Matcher idMatcher = idPattern.matcher(processContent.getAssetContent());
if(idMatcher.find()) {
String pid = idMatcher.group(1);
Expand Down

0 comments on commit 876b916

Please sign in to comment.