Bug 1342917 - Deprecated ModeShape JCR Warning appears even though ModeShape not selected for installation
Summary: Deprecated ModeShape JCR Warning appears even though ModeShape not selected f...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Installer
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: DR4
: 6.4.0
Assignee: Thomas Hauser
QA Contact: Jan Stastny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-06 06:29 UTC by Jan Stastny
Modified: 2018-02-13 17:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A warning message informing the user that "The use of the Modeshape JCR APIs have been deprecated" appeared on the installer's package selection screen even if the user had not selected Modeshape for installation. The installer has been updated so that this message no longer appears unless Modeshape has actually been selected.
Clone Of:
Environment:
Last Closed: 2018-02-13 17:37:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Stastny 2016-06-06 06:29:23 UTC
Description of problem:
There is a warning appearing on 'Select the packs you want to install' installer page. The warning still appears, even though the 'ModeShape installation' is not selected. The warning says:
'The use of the Modeshape JCR APIs have been deprecated'

Comment 1 Daniel 2016-06-06 13:50:55 UTC
Hi Jan, 

I was told that the message should be visible regardless of which components are selected. This was mentioned in comment 2 of BZ 1326424. Please correct me if I misunderstood. 

Thanks

Comment 2 Thomas Hauser 2016-06-06 19:40:17 UTC
I need some clarification regarding when this error message should occur. The timing is easily modified now, but should it be when ModeShape is selected or NOT selected? I ask because I've had conflicting messages regarding this.

Comment 3 Jan Stastny 2016-06-07 05:22:51 UTC
Hi Daniel,

I have probably misunderstood what the message was all about. It would be best if Van could confirm in here, that the warning should appear regardless of what components are selected.

But still, mainly from user's standpoint, it seems odd to have something, which should be displayed by default, designed as a pop-up alert.

Comment 4 Thomas Hauser 2016-06-07 14:36:25 UTC
Hi Jan,

We have a few options here:
1) Display the warning in a string that's just always visible, no pop up.
2) Display a pop-up when the user attempts to install ModeShape (current 'fix' that I've implemented)

Do we want to switch for ER4? Or is it ok to build the new ER4 with the current pop-up and address the issue afterward?

Comment 5 Thomas Hauser 2016-06-07 18:06:01 UTC
We've decided to build today with the fix how it currently is (see 2 above). The pop-up will not be displayed if ModeShape is deselected. If we need changes to this, we can address them for later builds.

Comment 10 Daniel 2016-06-22 20:34:59 UTC
Hello everyone,

I removed the pop-up and appended the warning message string to the ModeShape description.

Comment 11 Jan Stastny 2016-07-01 08:23:58 UTC
In graphical installer the warning message is present.
But there is no such information in console installer. Is there a place where such information can be printed?

console installer output:

Select the packs you want to install:
1    [x] [Required]      [Red Hat JBoss Enterprise Application Platform] (166.58 MB)
2    [x] [Required]      [Red Hat Data Virtualization Platform] (212.98 MB)
3    [x] [Required]      [EAP Patch] (556.45 MB)
4    [x]                 [Teiid installation] (0 B )
5    [x]                 [Modeshape installation] (459.87 KB)
Total Size Required: 936.46 MB
Press 0 to confirm your selections
Please select which packs you want to install
5
1    [x] [Required]      [Red Hat JBoss Enterprise Application Platform] (166.58 MB)
2    [x] [Required]      [Red Hat Data Virtualization Platform] (212.98 MB)
3    [x] [Required]      [EAP Patch] (556.45 MB)
4    [x]                 [Teiid installation] (0 B )
5    [ ]                 [Modeshape installation] (459.87 KB)
Total Size Required: 936.01 MB
Press 0 to confirm your selections
Please select which packs you want to install
5
1    [x] [Required]      [Red Hat JBoss Enterprise Application Platform] (166.58 MB)
2    [x] [Required]      [Red Hat Data Virtualization Platform] (212.98 MB)
3    [x] [Required]      [EAP Patch] (556.45 MB)
4    [x]                 [Teiid installation] (0 B )
5    [x]                 [Modeshape installation] (459.87 KB)
Total Size Required: 936.46 MB
Press 0 to confirm your selections
Please select which packs you want to install

Comment 12 Daniel 2016-07-04 21:18:57 UTC
Hi all,

I have now updated the console installer. IT should now look like this: 
5    [x]                 [Modeshape installation] (753.66 KB) [Warning: The use of the Modeshape JCR APIs have been deprecated.]

Comment 20 David Le Sage 2017-11-23 04:35:50 UTC
Updated wording of text from known issue to resolved issue for 6.4.


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