Bug 724354 (BRMS-300) - Javascript error after removing a global from test scenario configuration and accesing it in the expect part
Summary: Javascript error after removing a global from test scenario configuration and...
Keywords:
Status: MODIFIED
Alias: BRMS-300
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor), User Interface
Version: 5.0.2,5.1.0.CR1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: 5.1.0.PostGA
Assignee: manstis
QA Contact: Jiri Locker
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On: BRMS-453
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-09 17:56 UTC by Jiri Locker
Modified: 2020-04-27 01:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
If a global asset is removed from a test scenario and the user tries to access the asset in the expect section a Javascript error occurs. <!-- This has been resolved by preventing the removal of global assets from the test scenario before they are removed from the expectation section. -->
Clone Of:
Environment:
Last Closed: 2010-12-08 03:32:11 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-300 0 Minor Closed Javascript error after removing a global from test scenario configuration and accesing it in the expect part 2020-09-17 23:51:05 UTC
Red Hat Issue Tracker GUVNOR-524 0 Minor Resolved Javascript error after removing a global from test scenario configuration and accesing it in the expect part 2020-09-17 23:51:02 UTC

Description Jiri Locker 2010-04-09 17:56:53 UTC
securitylevel_name: Public

Comment 1 Jiri Locker 2010-04-09 17:57:20 UTC
Link: Added: This issue depends GUVNOR-524


Comment 2 Dana Mison 2010-10-27 03:06:25 UTC
Release Notes Text: Added: test


Comment 3 Dana Mison 2010-10-27 03:13:22 UTC
Release Notes Text: Removed: test 


Comment 4 David Le Sage 2010-11-04 05:27:40 UTC
Release Notes Docs Status: Added: Not Yet Documented
Writer: Added: Darrin


Comment 5 Jiri Locker 2010-11-23 16:19:47 UTC
Link: Added: This issue depends BRMS-453


Comment 6 Jiri Locker 2010-11-25 13:55:09 UTC
Cannot be verified until BRMS-453 is resolved. It means that I cannot verify the JavaScript error if I cannot remove the global.

Comment 7 David Le Sage 2010-12-08 03:31:36 UTC
Labels: Removed: rn-dmison rn-open Added: rn-dlesage rn-done-resolved


Comment 8 David Le Sage 2010-12-08 03:32:03 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Writer: Removed: Darrin Added: dlesage
Release Notes Text: Added: https://jira.jboss.org/browse/GUVNOR-254

If the user removed a global from a test scenario and then tried to access it from the expectation by clicking on the green triangle icon, a Javascript error would occur.  To fix this problem, the code has been changed so that the user can no longer remove the global from the scenario before it is removed from the expectation.  As a result, the Javascript error is no longer encountered.


Comment 9 Jiri Locker 2010-12-09 19:29:07 UTC
Not fixed, the issue is still present in BRMS 5.1.0 CR1.

The feature implemented in GUVNOR-524 probably has not made it into BRMS branch, the global can still be removed even if it is used in the EXPECT section.

Should be documented as known issue for BRMS 5.1.0.

Comment 10 David Le Sage 2010-12-13 01:37:16 UTC
Labels: Removed: rn-dlesage rn-done-resolved Added: rn-dlesage rn-done-known-issue


Comment 11 David Le Sage 2010-12-13 01:37:26 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Documented as Known Issue


Comment 12 David Le Sage 2010-12-13 01:38:39 UTC
Release Notes Text: Removed: https://jira.jboss.org/browse/GUVNOR-254

If the user removed a global from a test scenario and then tried to access it from the expectation by clicking on the green triangle icon, a Javascript error would occur.  To fix this problem, the code has been changed so that the user can no longer remove the global from the scenario before it is removed from the expectation.  As a result, the Javascript error is no longer encountered. Added: https://jira.jboss.org/browse/GUVNOR-254

 If the user removes a global from a test scenario and then tries to access it from the expectation by clicking on the green triangle icon, a Javascript error will occur. 


Comment 13 Anne-Louise Tangring 2011-09-13 18:04:41 UTC
This should be fixed as of Drools 5.1. Retest to verify.

Comment 14 lcarlon 2011-09-22 04:04:31 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
If a global asset was removed from a test scenario and the user tried to access the asset in the expectation section, a Javascript error would occur. This has been resolved by preventing the removal of global assets from the test scenario before they are removed from the expectation section.

Comment 15 Jiri Locker 2011-09-22 09:23:37 UTC
I am still able to remove global from test scenario even though it is being used in the "EXPECT" section. The project issue is https://issues.jboss.org/browse/GUVNOR-524.

Comment 16 lcarlon 2011-09-22 22:59:51 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-If a global asset was removed from a test scenario and the user tried to access the asset in the expectation section, a Javascript error would occur. This has been resolved by preventing the removal of global assets from the test scenario before they are removed from the expectation section.+If a global asset is removed from a test scenario and the user tries to access the asset in the expect section, a Javascript error occurs. <!-- This has been resolved by preventing the removal of global assets from the test scenario before they are removed from the expectation section. -->

Comment 17 lcarlon 2011-10-05 04:25:28 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-If a global asset is removed from a test scenario and the user tries to access the asset in the expect section, a Javascript error occurs. <!-- This has been resolved by preventing the removal of global assets from the test scenario before they are removed from the expectation section. -->+If a global asset is removed from a test scenario and the user tries to access the asset in the expect section a Javascript error occurs. <!-- This has been resolved by preventing the removal of global assets from the test scenario before they are removed from the expectation section. -->

Comment 20 manstis 2012-04-02 15:27:23 UTC
Fixed in master.


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