==============================================================================
New patches installation / uninstallation process for version 9.0.22 
==============================================================================
Installation/Uninstallation on Windows
==============================================================================
Notes:
1. This patch installation can run above CONTROL-D/WebAccess Server 9.0.22 (DRNBO.9.0.22.000) only. 

On the Server where CONTROL-D/WebAccess Server is installed:
1. Create a temporary folder (for example DRNBO.9.0.22.002)on your local hard drive.
2. Using the link to the FTP Server obtained from Customer Support, 
   download and unzip the DRNBO.9.0.22.002.zip file to the temporary folder created in step 1.

3. Open a Command Prompt window with administrator privileges.
   Navigate to the <Installation Path> directory (e.g., cd <Installation Path>, where installed-version.txt is located).
   Run: <temporary folder>\install_patch.bat   file from the DRNBO.9.0.22.002 directory to start the     
   patch installation process or run <temporary folder>\uninstall_patch.bat file to start the patch uninstallation process.
 
If the customer wants to install or uninstall patch 9.0.22.002, they can simply run install_patch.bat or uninstall_patch.bat as described above.
 
For more advanced management of the patch installation process, the customer can use the selectPatch.bat file.
The customer must navigate to the root directory where all patches are located (in our case, the directory DRNBO.9.0.22.002) and run the selectPatch.bat file.
The customer will see the following result 

Please select patch number for installation:

[ ] 1.   DRNBO.9.0.22.001
[X] 2.   DRNBO.9.0.22.002

e.  Exit
Enter your choice:

The patch marked with an "X" is the selected patch for the installation/uninstallation process. Currently, this will be patch 9.0.22.002.
The customer can manage the patch installation process.
 
The installation process proceeds to the selected patch, meaning all necessary patches will be installed, including the selected one.
The uninstallation process proceeds to the selected patch as well, meaning all necessary patches will be uninstalled, including the selected one.
 
For example, if the WA server with patch 9.0.22 is installed in the system and the customer wants to install patch 9.0.22.002, they can select this patch using selectPatch.bat.
After the patch is selected, the customer must run the install or uninstall process.
 
Please note:
1) selectPatch.bat currently only performs configuration, and the install/uninstall process itself must be started afterward.
2) If the customer wants to install or uninstall patch 9.0.22.002, no configuration is needed, as this configuration is currently the selected configuration.


==============================================================================
Installation/Uninstallation on Unix
==============================================================================
Notes: 
1. This patch installation can run above CONTROL-D/WebAccess Server 9.0.22 only. 

On the Server where CONTROL-D/WebAccess Server is installed:
1. Create a temporary directory (for example DRNBO.9.0.22.002).
2. Using the link to the FTP Server obtained from Customer Support, 
   download the DRNBO.9.0.22.002.tar.Z file to the temporary folder	created in step 1.
3. Uncomprress and extract the DRNBO.9.0.22.002.tar.Z installation files into the temporary directory.
	 change directory to temporary directory;
   On AIX: 
         uncompress DRNBO.9.0.22.002AIX.tar.Z
         tar -xvf DRNBO.9.0.22.002AIX.tar
   On Linux: 
         tar -zxvf DRNBO.9.0.22.002Linux.tar.Z

4. Navigate to the this temporary directory/<Platform> (temporary directory/AIX or temporary directory/Linux).

5. Run the install_patch.sh file from the DRNBO.9.0.22.002 (temporary) directory to start the
   patch installation process or run the uninstall_patch.sh file to start the patch uninstallation process.
 
If the customer wants to install or uninstall patch 9.0.22.002, they can simply run install_patch.sh or uninstall_patch.sh as described above.
 
For more advanced management of the patch installation process, the customer can use the selectPatch.sh file.
The customer must navigate to the root directory where all patches are located (in our case, the directory DRNBO.9.0.22.002) and run the selectPatch.sh file.
The customer will see the following result 

Please select patch number for installation:

[ ] 1.   DRNBO.9.0.22.001
[X] 2.   DRNBO.9.0.22.002

e.  Exit
Enter your choice:

The patch marked with an "X" is the selected patch for the installation/uninstallation process. Currently, this will be patch 9.0.22.002.
The customer can manage the patch installation process.
 
The installation process proceeds to the selected patch, meaning all necessary patches will be installed, including the selected one.
The uninstallation process proceeds to the selected patch as well, meaning all necessary patches will be uninstalled, including the selected one.
 
For example, if the WA server with patch 9.0.22 is installed in the system and the customer wants to install patch 9.0.22.002, they can select this patch using selectPatch.sh.
After the patch is selected, the customer must run the install or uninstall process.
 
Please note:
1) selectPatch.sh currently only performs configuration, and the install/uninstall process itself must be started afterward.
2) If the customer wants to install or uninstall patch 9.0.22.002, no configuration is needed, as this configuration is currently the selected configuration.


==================================================
Fixed in Patch DRNBO.9.0.22.002:

CTM-13871 - Cannot view report send as url, when Control-D/WebAccess Server is installed on Unix.
CTM-13886 - Cross Site Scripting (XSS) vulnerability may occur on login window in classic UI.
CTM-14485 - When trying to view a report via Control-M, the authentication of user fails.
CTM-14520 - If Force Index is defined, but the report does not contain indexes, an error "Error CTVG32E when opening text report" occurs and the report is not open.
CTM-14550 - After upgrade to WA 9.0.22 the transformer to PDF works incorrect.
CTM-14558 - When importing configuration from other platform, transformer's programs are not correct.
CTM-14605 - The navigation component and its elements (logo, help icon) are not displayed correctly in the New UI for the Angular 18 version.
CTM-14623 - Transformation from text to xlsx is not done by clicking logical view.
CTM-14626 - In the New UI, WebAccess Print menu depends on deprecated Local Local Print As Desktop option.
CTM-14628 - The Report List is created incorrectly when a Node is selected in the Recipient Tree.
CTM-14633 - In new UI, a property of report that is configured in Control-D/Desktop as not updatable remains editable in WebAccess.
CTM-14682 - The default language is not determined if "Change Language" in the Login configuration is set to checked, but no language is selected.
CTM-14758 - The repositories configuration is not exported.
CTM-14765 - JobArchiving Filter does not work when "Approvals" is deselected via the Control-D Desktop Application.
CTM-14864 - It is not possible to open notes in the CTD WebAccess report list after opening another report.
CTM-14867 - When changing font size, the layer of text is changed.
CTM-14875 - Tag icons change/delete options are enabled although they should be disabled.
CTM-14886 - Host Print works incorrectly when printing type is invisible and deferred print is default.
CTM-14899 - Control-D/WebAccess Server may crash when create a report note.

New Features:

CTM-6977  - Usage of TTF font instead of Type3 for conversion to PDF.
CTM-13971 - Add required report attributes to WebAccess response to enable pop-up logic.
CTM-14572 - Provide an option to enable local option ( print, save, e-mail ) for reports with copies=0.


CTM-6977 Description (New Feature):
This enhancement allows using True Type Font (TTF) instead
of Type 3 font while transformation of reports from AFP or
XEROX format to PDF format.

This change allows using the same TTF saved as a resource in
the Control-D repository by all reports using the same font.
Currently new Type 3 font is created for every report
converted to PDF format.

As a result this change improves performance and saves space
in the CTD repository.

Using TTF instead of Type 3 allows creating PDF reports of
better quality, and it allows to copy text from such reports
in PDF viewers which do not support copy and paste text of
Type 3 fonts.

CTM-13871 Description:
A user of Control-D/WebAccess Server tries to send report in E mail.
The report is sent as url.
However, when opening this url, entering user and password, you do not get the report.
This issue occurs only when Control-D/WebAccess Server ins installed on Unix.

CTM-13886 Description:
Cross Site Scripting (XSS) vulnerability may occur on login window on classic ui.
It may occur when:
1. In Control-D/Desktop Definitions->WebAccess Server->WebAccess->WebAccess
In Application Features
Login->Convert Network's user to MF user is unchecked. 
2.User contains html tags.

CTM-13971 Description (New Feature):
Enables WebAccess to provide required report attributes so customers can display pop-up notifications when opening specific reports.

CTM-14485 Description:
When trying to view a report via Control-M, the authentication of user fails.
It happens just on windows platform.

CTM-14520 Description:
If Force Index is defined, but the report does not contain indexes,
an error "Error CTVG32E when opening text report" occurs and the report is not open.

CTM-14550 Description:
After upgrade to WA 9.0.22 the transformer to PDF works incorrect.
In this case, longer hyphen forces text to overlay other text and makes the document look incorrect.

CTM-14558 Description:
When importing configuration from window's installation to Unix's installation, and vice versa,
the name of program in transformer definition is not suitable to the new platform.

CTM-14572 Description (New Feature):
Provide an option to enable local option ( print, save, e-mail ) for reports with copies=0
Enabling the Print (Local and Host), Send Mail, and Save operations,
when the report attribute "Copies" equals 0 requires defining and configuring
a new flag in the Control-D Desktop application.

CTM-14605 Description:
The navigation component and its elements (logo, help icon) are not displayed correctly in the New UI for the Angular 18 version.

CTM-14623 Description:
When using a transformer from text to xlsx,and this transformer name is not 'xlsx',
you cannot transform from text to xlsx by clicking the logical view with export definition. 

CTM-14626 Description:
WebAccess supports only Print (Prepare to Print) and Host Print (Remote Print).
However, Print menu visibility in the Report List depends on the deprecated Desktop option Local Print As, which should not affect WebAccess.

Steps to Reproduce:
1. Enable Prepare to Print and Remote Print in Application Features on WA Desktop.
2. Disable Local Print As.
3. Open WebAccess ? Report List ? Print menu.

Actual Result:
Only Host Print is available.
Print is missing.

Expected Result: 
Print menu should depend only on supported options.

CTM-14628 Description:
The Report List is created incorrectly when a Node is selected in the Recipient Tree.
There is different behavior between Node Selection (NodeSelect event) in the Recipient Tree and Node Expansion (NodeExpand event).
When a Node is selected, its new value (fid) is not included in the request,
which results in a Report List that is not filtered by this value.

CTM-14633 Description:
In new UI, a property of report that is configured in Control-D/Desktop as not updatable remains editable in WebAccess.
*Steps to reproduce:*
1. Open Control-D/Desktop.
2. Navigate to Report Properties Settings.
3. Select a field and set it to Not Updateable (uncheck the Updateable checkbox).
4. Save the configuration.
5. Open WebAccess and select a report 
6. Open Report Properties of the selected report
7. Attempt to modify the field value

*Actual Result:*
The field is still editable in WebAccess

*Expected Result:*
The field should be read-only in WebAccess, in accordance with the Control-D/Desktop configuration

CTM-14682 Description:
The default language is not determined if "Change Language" in the Login configuration is set to checked,
but no language is selected.
This leads to an exception when creating certain components (for example, the "titleProfile" component),
because the corresponding property cannot be found in config.json.
When selecting the appropriate property, a language must be defined.


CTM-14758 Description:
When exporting configuration of Control-D/WebAccess Server,  or upgrade in place for newer release,
the repositories configuration is not exported.


CTM-14765 Description:
JobArchiving Filter does not work when "Approvals" is deselected via the Control-D Desktop Application.
The usual selection sequence in the "Report List Type" combobox is as follows:
All available reports
Reports for Approval
Job Archiving
When the "Approvals" option is deselected, the order of the members in the "Report List Type" combobox is generated incorrectly.
This leads to incorrect selection of the corresponding report list type and 
incorrectly generated parameters for the selected filter type.

CTM-14864 Description:
It is not possible to open notes in the CTD WebAccess report list after opening another report.

CTM-14867 Description:
When a user of Control-D/WebAccess Server changes the font size of a report.
The lines are changed and their layer is changed.
When using Zebra view, the layer change is much different.

CTM-14875 Description:
An Administrator of Control-D/WebAccess Server disabled one of next option related to tag icons,
However, these options are still available. 
The options are defined in Control-D/Desktop:
Definitions->WebAccess Server->WebAccess->WebAccess
In Application Features
Report->Tag Icons
The options:
Change
Delete 
Only Owner Can Change/Delete

CTM-14886 Description:
Host print works incorrectly in case of following configuration settings:
"Deferred Print" checkbox is uncheckd
Selected by default is "Yes"
In this case Web Access uses immediate print instead fo deferred print.

CTM-14899 Description:
Control-D/WebAccess Server may crash when trying to create a report note.
This issue occurs when the session id on MF is not valid.

==================================================
Fixed in Patch DRNBO.9.0.22.001:

CTM-12221 - Add the ability to invoke a "User Extensions" to edit fields directly from the report list.
CTM-12478 - Incorrect recognition of the note owner.
CTM-12957 - Adding a New TAG NOTE failure.
CTM-13119 - BMCDCS3404E Attribute mixedcase does not exist.
CTM-13146 - No Locations Are defined on Login Window on Unicode installation.
CTM-13154 - Installation of new version fails.
CTM-13179 - Copies field is not applied on new UI.
CTM-13180 - Exceptions when multiple reports are open and a Refresh of window is performed.
CTM-13183 - When opening a binary report (PDF report) that contains an error, the error handling does not work correctly.
CTM-13207 - Control-D/WebAccess server crashes on TLS connection to IOAGATE.
CTM-13301 - Permissions of files config.json let non owner to write to files.
CTM-13322 - POD034E: PODSetIndexPath: Invalid parameters in Multiple find.
CTM-13341 - Default filter is not applied on new GUI.
CTM-13349 - Password is seen in response of loginrequest and changepassword requests in xml or json.
CTM-13404 - The Report List window in Multi Repository Mode does not occupy the full screen when switching between repositories.
CTM-13424 - Logical View names in list are not the same as when saving them in logical view editor.
CTM-13483 - XSS vulnerability on Printing notes.
CTM-13546 - WebAccess Server may crash when a reportlistwindow request contains an index value with more than 127 characters.
CTM-13562 - [2593] PDF_begin_glyph_ext: Type 3 font '<Font Name>': Unicode '<Unicode Value>' already defined for glyph <number>
CTM-13611 - Change Password  request is stuck on error.
CTM-13618 - When working with the filter in the new UI, the fields "Date From" and "Date To" do not support the #Today-N parameter value.
CTM-13710 - Transformation of AFP to PDF text is truncated or overloaded on another text.
CTM-13849 - Customer receives an error message when attempting to use tag icons in Notes mode.

New Features:
CTM-10134 - Allow selecting several reports for restore from CTDWA report list.
CTM-13186 - Add more data to the message about report transformation in the WA error.log file.
CTM-13242 - Keep the list of dropdown repositories always visible in the login window.
CTM-13696 - Enable Login via Single Sign On, or by entering user and password on the same server.


CTM-10134 Description (New Feature):
Allow selecting several reports for restore from CTDWA report list.

CTM-12221 Description:
Add the ability to invoke a "User Extensions" to edit fields directly from the report list.

CTM-12478 Description:
When adding note in new UI, there is incorrect recognition of the note owner.
Also, any user can add note version, not only owner.

CTM-12957 Description:
User of Control-D/WebAccess fails to add a new TAG NOTE when selecting the line from the end (i.e., starting from the rightmost character).
Error message displayed:
BMCWAS2413S Add Note Failed.
BMCWAS1045E AddNote: Incorrect parameter 'notecoordlength'.

CTM-13119 Description:
When opening  Control-D/Desktop
Definitions->Common->Repositories->CONTROL-D/MF Repositories
When opening repository, next error message is popped up:
BMCDCS3404E Attribute mixedcase does not exist.
This happened, when exporting configuration of Control-D/WebAccess Server from old release, then import it to a new release,

CTM-13146 Description:
On Unicode installation of Control-D/WebAccess Server, when importing configuration,
When accessing login window,  No Locations Are defined is displayed, instead of login window and list of repositories.

CTM-13154 Description:
Installation of new version fails because of DLL absence.
During the installation process, due to the absence of vcruntime140_1.dll in the directory <Installation Path>\bin, the following command fails to execute:
build_schema.exe -f="<installation Path>\BMCINSTALL\special\waschema.prm"
This causes the installation process of version 9.0.22 to stop.

CTM-13179 Description:
Copies field is not applied on new UI
Copies must be a number between 1 and 999
If value Copies equals to  0, than next operations should be disabled:
Print (Local and Host) ,Send Mail and Save should be disabled
Unified PDF,Concatenate Text,Add reports to ZIP Archive
Save and print after Vies as PDF or Excel.

CTM-13180 Description:
Exceptions when multiple reports are open and a Refresh window is performed.
After the refresh, the reports do not reopen, and WA stops functioning correctly.

CTM-13186 Description (New Feature):
Add more data to the message about report transformation in the WA error.log file: Jobname, Jobid, order date, and repository name.

CTM-13183 Description:
When opening a binary report (PDF report) that contains an error, the error handling does not work correctly.
Can only continue working by closing the problematic tab.

CTM-13207 Description:
When using SSL/TLS connection from Control-D/WebAccess Server to IOAGATE, Control-D/WebAccess Server crashes.

CTM-13242 Description (New Feature):
Keep the list of dropdown repositories always visible in the login window of the new UI, instead of displaying it under "More Options" in the Web Access login screen.
This option should be configurable via the desktop.

CTM-13301 Description:
When Control-D/WebAccess Server runs, it creates files:
<Installation Path>/bin/htmls/config.json
<Installation Path>/bin/<language>/htmls/config.json
The permissions of files is write for all.
It should be only for owner.

CTM-13322 Description:
If entering index name and index value in filter window,
and index value contains comma (')
When searching for a string in multiple find, next error is displayed:
BMCWAS2404S Inaccessible Report. BMCWAS1045E MFR Access Error: POD034E: PODSetIndexPath: Invalid parameters.

CTM-13341 Description:
When using new GUI of Control-D/WebAccess Server,
and getting report list just after login,
Default Filter is not applied, even though it should, as defined in Control-D/Desktop:
Definitions->WebAccess Server->WebAccess->Application Features
Report List->Filter
Apply Default Filter was set to: Yes

CTM-13349 Description:
When sending loginrequest or changepassword request, the password is seen in the answer, in doclang xml or json.

CTM-13404 Description:
The Report List window in Multi Repository Mode does not occupy the full screen when switching between repositories.

CTM-13424 Description:
In logical View Editor,
when saving a logical view, you can set any name, without length's limitation.
However, when getting a list of logical views, the names are limited to 8 characters.
So Logical View Editor should limit, logical view name to 8 characters.

CTM-13483 Description:
XSS vulnerability was identified in printing notes.
Users have the option of adding note to report.
It is possible to enter JavaScript code as note.
Then JavaScript code is stored and executed when the 'Prepare print' function is used to print notes.

CTM-13546 Description:
WebAccess Server may crash when a reportlistwindow request contains an index value with more than 127 characters.

CTM-13562 Description:
When transforming report from AFP/Xerox to PDF, transformation fails with error message:
[2593] PDF_begin_glyph_ext: Type 3 font '<Font Name>': Unicode '<Unicode Value>' already defined for glyph <number>.

CTM-13611 Description:
In new GUI, when there is an error in change password, the error message is not displayed, and screen is stuck.

CTM-13618 Description:
When working with the filter in the new UI, the fields "Date From" and "Date To" do not support the #Today-N parameter value.

CTM-13696 Description (New Feature):
Enable login via Control-D/WebAccess Server in both ways:  on the same server.
Using Single Sign On.
Using regular login window page, by entering user and password.
There should be different urls, or parameters for each way.

CTM-13710 Description:
When transforming AFP report to PDF.
The text is truncated or text is overladed on another text.

CTM-13849 Description:
Customer receives an error message when attempting to use tag icons in Notes mode.
When pressing the Save button after placing a tag icon in the report, the following error appears:
"AddNote Incorrect Parameter notecoordoffset"

