Bug 1324173 - Rules Project Copying Error in B*MS 6.x
Summary: Rules Project Copying Error in B*MS 6.x
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Paulo Rego
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks: 1335886
TreeView+ depends on / blocked
 
Reported: 2016-04-05 17:51 UTC by Amana
Modified: 2020-03-27 19:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1335886 (view as bug list)
Environment:
Last Closed: 2020-03-27 19:37:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
brms_copying (80.82 KB, image/png)
2016-04-05 17:51 UTC, Amana
no flags Details
copy_success (36.88 KB, image/png)
2016-04-05 17:52 UTC, Amana
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHBRMS-2437 0 Major Verified Rules Project Copying Error in B*MS 6.x 2016-06-26 09:55:55 UTC

Description Amana 2016-04-05 17:51:09 UTC
Created attachment 1143909 [details]
brms_copying

Description of problem:

By trying to make a copy of a project for second or third time, etc, the project does not get copied and the UI stays static displaying the message "Copying" (see brms_copying picture). 

When the server is restarted, it is possible to make copies again. But after some attempts, the issue happens again.

Version-Release number of selected component (if applicable):

BRMS 6.2

How reproducible:
Intermittent, as it does not happen at first or second attempt accurately.

Steps to Reproduce:
1. Create a BRMS project;
2. Make a copy of the project;
3. Try to create other copies of this project.

Actual results:
UI stays static displaying the message "Copying".

Expected results:
It should just make a copy of the project.

Additional info:
Sometimes when the project is copied successfully, a warning message is thrown in the UI... but the project is copied anyway (see copy_success picture).

Comment 1 Amana 2016-04-05 17:52:00 UTC
Created attachment 1143910 [details]
copy_success

Comment 2 Amana 2016-04-05 17:54:46 UTC
Hi all,

At this point I am unsure if it is really a bug, but even after cleaning browser cache or trying in other browsers, the issue happens again after some attempts.

Also, I enabled debug for "errai" and no errors are logged.

By stopping the server, I noticed it usually hangs and I need to kill the process when the "Copying" message is displayed.

Thanks in advance!

Comment 4 Amana 2016-04-07 14:29:57 UTC
Hi all,

Any updates on that? Were you able to reproduce it?

Thanks!

Comment 5 Zuzana Krejčová 2016-04-08 11:25:59 UTC
I wasn't able to reproduce the copying error with BRMS 6.2.2 (6.2 rollup patch 2).
I did get the warning message on every project copy though ('File "/project21/global" already exists.').
As the base project to be copied, I used the example project (repository1/project1), which is pretty much empty.

Amana, are you using pure 6.2.0 or some patched version - 6.2.1, 6.2.2?
Is the project you're copying empty (like the example one), or does it have some assets?

Comment 6 Amana 2016-04-08 15:12:21 UTC
Zuzana,


>> Amana, are you using pure 6.2.0 or some patched version - 6.2.1, 6.2.2?

I will perform tests on 6.2.2 as well, did not try it... 


>> Is the project you're copying empty (like the example one), or does it have some assets?

The project contains at least one business process... 


Thanks! I will update you later...

Comment 7 Amana 2016-04-11 14:04:49 UTC
Hi Zuzana,

I got the same behaviour in BRMS 6.2.2... this time I tested with an empty project in Firefox and Chrome.

1) I created a new project called project1;
2) Made a copy of this project as "project1_v1"... although that error message is displayed in UI and server.log, project1_v1 is created properly.
3) At second time, it got stuck displaying the "Copying" message... 
4) Closed the tab, ctrl+f5 and try again... it did not get created.
5) Closed the browser and cleaned the cache... tried again and it is displaying "Copying" message again...

Note: Sometimes it happens only the third time I try to make a copy.

I am testing with BRMS 6.2.2, not BPM Suite.

Even by enabling debug for errai/designer no error/warning messages are logged... it seems like it gets stuck!!

Please let me know if you are able to replicate it.

Thanks!

Comment 8 Zuzana Krejčová 2016-04-12 07:57:27 UTC
Thanks Amana for the info.

I actually started getting the issue after my system got under a bit of a heavier load, but other than that, also really nothing much to grasp at yet.

Comment 9 Amana 2016-04-20 17:26:37 UTC
Hi all,

Do we have any news regarding this BZ? 

Thanks!

Comment 10 Amana 2016-05-03 17:21:37 UTC
Hi all,

Is there any progress about it? Or any workaround? Customer is still waiting for a response.

Thanks!

Comment 14 Amana 2016-05-13 13:12:18 UTC
Lukáš Petrovický,

I tried it on BPM Suite 6.3.0 and got the exact same issue at first attempt. I can reproduce that by just clicking on "Copy" button for a project.

My project contains does not contain assets... and there are not other projects so it is not overloaded.

I will raise a cloned bz so it can get fixed in BPM Suite 6.3.x.

Thanks!

Comment 15 manstis 2016-05-13 13:19:56 UTC
Hi Paulo, could you please take a look?

Comment 16 Amana 2016-05-18 16:33:43 UTC
New Jira:
https://issues.jboss.org/browse/RHBRMS-2437

Comment 17 JBoss JIRA Server 2016-05-30 12:32:42 UTC
Paulo Rego <paulovmr> updated the status of jira RHBRMS-2437 to Closed

Comment 18 JBoss JIRA Server 2016-06-01 08:05:16 UTC
ryan zhang <rzhang> updated the status of jira RHBRMS-2437 to Reopened

Comment 19 JBoss JIRA Server 2016-06-01 08:05:21 UTC
ryan zhang <rzhang> updated the status of jira RHBRMS-2437 to Coding In Progress

Comment 20 JBoss JIRA Server 2016-06-01 08:05:26 UTC
ryan zhang <rzhang> updated the status of jira RHBRMS-2437 to Open

Comment 21 JBoss JIRA Server 2016-06-01 08:21:02 UTC
ryan zhang <rzhang> updated the status of jira RHBRMS-2437 to Closed

Comment 22 JBoss JIRA Server 2016-06-01 08:21:11 UTC
ryan zhang <rzhang> updated the status of jira RHBRMS-2437 to Reopened

Comment 23 JBoss JIRA Server 2016-06-01 08:21:22 UTC
ryan zhang <rzhang> updated the status of jira RHBRMS-2437 to Resolved

Comment 24 JBoss JIRA Server 2016-06-02 09:32:07 UTC
Kirill Gaevskii <kgaevski> updated the status of jira RHBRMS-2437 to Coding In Progress

Comment 25 JBoss JIRA Server 2016-06-02 11:54:14 UTC
Radovan Synek <rsynek> updated the status of jira RHBRMS-2437 to Resolved


Note You need to log in before you can comment on or make changes to this bug.