EPC - 142040

Date : January 2019

EPC142040 for LANSA V14 SP2

This EPC includes the following highlights:

  • All the latest fixes and enhancements for the Deployment Tool.
  • Fix up where controls marked as "not visible" still showed on the IDE designer.
  • Various other fixes and enhancements, as well as all patches and hotfixes shipped since EPC142030.
Product Visual LANSA and LANSA for i
Version 14
Pre-Requisite Details V14 SP2 EPC142030
Special Notes All Version 14 Visual LANSA EPCs include updates that must be applied to Windows and IBM i systems (Independent Visual LANSA development environments only require the Windows updates). Failure to upgrade both sides of a development environment will render the Host Monitor and Super Server applications inoperable. Attempting to use the Host Monitor and Super Server applications without having applied the EPC to both sides of a development environment will generate an EPC mismatch error.

Make a full backup of your LANSA environment on each platform to which this EPC will be applied.
IBM i Specific Special Notes The IBM i instructions are expedited procedures that assume a sound knowledge of IBM i.
You must use a user profile that is QSECOFR or part of the QSECOFR group.

The restore command parameter FRCOBJCVN used by the Install/Upgrade/LoadEPC process uses FRCOBJCVN (*YES *RQD). Because of this, the QFRCCVNRST system value must have a value of 0, 1 or 2.

You must end the web server and run the LANSA for the Web cleanup program before applying this EPC.

You must end the Listener and Host Monitor if active.

You must end the LANSA Integrator server if it has been used with the LANSA system to be updated.
User Actions A partition initialization of WAM Development is required to import the latest weblet changes shipped in this EPC into Visual LANSA. The weblets are automatically imported when applying the EPC on LANSA for i. This step us required for CCS 0161232. Refer to Visual LANSA Partition Initialization for more information.
For IBM i only, sample material has been updated with missing widgets. from the Administration tasks menu, select Initialize Partition and import WEBDFLS. Refer to LANSA for i Partition Initialization for more information. (0161347)
Deployment Notes This EPC can be deployed as a patch to a previous version. A new version of the package must be have been built with V14 SP2 GA as stated in the V14 Late Breaking News page.
Hotfixes The following Hotfixes will be replaced by this EPC:
Windows:
EPC142030HF_181129
EPC142030HF_181205
EPC142030HF_181212
EPC142030HF_181217
EPC142030HF_181219
EPC142030HF_181220
EPC142030HF_1890102
IBM i:
HF142014
HF142015

Instructions to install the EPC

EPC142040 includes software to be installed on an IBM i machine and on a Windows machine. These instructions describe the installation and use of all delivered items.

  1. Download EPC142040.EXE file from the Web site or email.
  2. Unzip (double click) EPC142040.EXE. These files will be extracted:
    • AllEPCs.exe - Windows multiple EPC installer
    • AllEPCs.ini - AllEPCs controll file
    • EPC142040 - IBM i Save file
    • wEPC142040.exe - Windows Visual LANSA install executable
    • wEPC142043.exe - Windows LANSA Web Server install executable

Instructions provided for:

Detailed changes

CCS id. Description
0160476 Debug improvements in Visual LANSA

The debugger variables view now sorts correctly.

Debug values are now displayed in the mouse-over hint.
0160495 Changing the date format on the data picker Material Design in Visual LANSA Web.

This enhancement has been included in this EPC.

The format is no longer hardcoded in the runtime, but is controlled by the "dateDayMonthFormat" entry in the locale file associated with the current language, so it can be a different format per language.
0160501 Add the ability to change the date format shown on the calendar to YYYYMM

This defect has now been rectified.
0160514 Session timeouts when specifying -1 to StartSession Timeout parameter

Prior to this change, never expire WAM sessions generated an error "Web application session has expired" after the timeout period. This fix ensure that never expire WAM sessions never expire.
This defect has now been rectified.
0160611 Error copying a short name field with rules and triggers to a long name field.

This defect has now been rectified.
0160635 Quick Rules hardcoded to use "#" which creates invalid rules on French systems.

This defect has now been rectified.
0160706 Multilingual text does not show when using "Validate" method in MD controls.

This enhancement has been included in this EPC.
0160966 SET_REF Com_Error(*SET_NULL) parameter doesn't stop LANSA Runtime errors.

This option should allow Visual LANSA Web runtime script errors to be handled.
This defect has now been rectified.
0161034 Non-LANSA Files with % in the filename cannot be included in an MSI package.

This issue was not limited to the % character. Due to a limitation in WIX, names were restricted to [a-zA-Z0-9._]. Visual LANSA now uses an algorithm, which allows all characters supported by you codepage to be used, although WIX/VB still has some restrictions (ie a filename can not contain "$$")

Before this EPC, Long directory and file names greater than 70 characters issued warnings about name lengths. The new algorithm has been applied to these long names to remove the warnings. A side effect is that when patching a pre-142040 msi/msp which contained long names, the patch will need to be made not uninstable. If you do not uncheck the uninstallable checkbox, you will receive a fatal error of the form

FX 414710b198e270d9118a35ee1570805f4a3e3c8b/c_Webserver.Images.Style.Jquery.Ui_lightness.Images' added. This makes the patch not uninstallable.


This defect has now been rectified.
0161074 Incorrect behaviour inputting in list when max length is different for each cell

This defect has now been rectified.
0161100 Custom date format (YYYYMM) property is not supported on Visual LANSA Web.

This defect has now been rectified.
0161133 ItemsPerRow should be available for PRIM_TREE

PRIM_TREE now supports the ItemsPerRow property (WEB only) which allows users to create a responsive card collection as they already can with PRIM_MD.List.
This enhancement has been included in this EPC.
0161149 Issues with PRIM_MD.Input CaptionColor/HelperColor

Two changes implemented
1. CaptionColor should NOT change HelperText, only HelperColor should.
2. The are published on PRIM_MD.ListEdit/ListSpinEdit/ListDateTime but didn't work.
This defect has now been rectified.
0161155 Ribbon Layout Sheet not showing Layout Groups for PRIM_MD.List.

This defect has now been rectified.
0161161 PRIM_PHBN in MaterialDesign Themed WebPage displaying incorrect mouseover color

This defect has now been rectified.
0161162 Tabbing with combo box doesn't select value.

This defect has now been rectified.
0161163 Autosuggest works in a web page but doesn't work in a dialog view.

This defect has now been rectified.
0161166 Improve the VL Install to set up a git repository for deployment automation.

This enhancement has been included in this EPC.
See online Deployment Tool Development Operations topic documentation for more information.
0161189 Standardize the Edit Code behaviour in a Web page across supported browsers.

This defect has now been rectified.
0161193 Hints not working in the RDMLX Source Tab since V14 SP2.

Since V14 SP2, in the source tab, when you hover over the field in the define section you get the hints sometimes and sometimes not. In the routines, hints do not show up.
This defect has now been rectified.
0161200 Scrollbar on the Color tab is not active when a Theme is read-only.

This defect has now been rectified.
0161205
0161422
Loaded event doesn't work after applying EPC142020.

This defect has now been rectified.
0161207 ShowError() doesn't generate a syntax error in the IDE but fails at runtime

An empty selector like showerror() did not issue a warning/error in the source editor.
This defect has now been rectified.
0161208 PRIM_DCOL RemoveAll method not removing references to key objects.

This defect has now been rectified.
0161217 EPC142030 appears to disable Deployment Tool control panel settings

The Visual LANSA IDE implemented a MaterialDesign Theme for EPC 142030. MaterialDesign Themes use light gray text for Column Headers whereas 2015 Themes do not and this highlighted a problem in how the themedrawstyles were used in the Deployment Tool. The Deployment Tool control panel settings gave the appearance of disabled or read-only. With EPC142040, the Deployment Tool no longer uses the ThemeDrawStyles which were causing an issue.
0161218 Adding functions via a repository list removed existing process functions.

With this fix, functions added by inclusion of a repository list are included in addition to any function which may already be in the package from the same process.
This defect has now been rectified.
0161222
0161287
URL parameter of std_anchor weblet not working in EPC142030

This defect has now been rectified.
0161228 Web expander MD control incorrectly sized when using a multi-line caption.

This defect has now been rectified.
0161232 URL attribute missing from clickable image weblet in 14 SP2.

This defect has now been rectified.
User Action: 
(WAMs only) On Windows, perform a partition initialization of "WAM development". On IBM i, from the Administration tasks menu, select Initialize Partition and import WEBLETS.
0161239 Automatically create LayoutItems when dropping controls onto a web page.

This defect has now been rectified.
0161248 Button without nominated webroutine no longer submits form in a WAM.

If no webroutine is nominated, the button click event now does nothing. Previous behavior was to submit the form unless the presubmit JS returned false.
This defect has now been rectified.
0161263 Allow a field definition to be modified if not referenced by any Other table.

This defect has now been rectified.
0161268 Remove extraneous user profile security information records from LWEBSF

Job log produced by import of LWEBSF showed checks for non-existing user profiles.
This defect has now been rectified.
0161273 Scrollbars on a list on an inactive tabsheet are not reset correctly

Setting the vertical and horizontal scrollbar position to zero when the list is on an inactive tabsheet does not actually set the scrollbar position.
This defect has now been rectified.
0161278
0161328
On a dialog, field with enabled(false) can be changed when using chrome or Edge.

This defect has now been rectified.
0161289
0161299
IDE Show\Hide Controls option missing in 142030

Controls marked as "not visible" still show on the designer after EPC142030.
This defect has now been rectified.
0161318 Deployment tool: create a package with the ability to set the parent.

Previous behaviour when "Creating the Next Version" the Version copied from was automatically assigned as the parent of the new Version. With EPC142040, this behviour has been modified so that the parent.txt file is copied and not modified, making the parent of the new version the same as the version it was copied from.
0161327 IDE Crash switching to previous component when Samples are active.

With one or more components open in the IDE, clicking on Home and Samples and then using the side arrow to switch to a previous component caused a IDE crash.
This defect has now been rectified.
0161343 IDE crashes when trying to define a webservice api with parameters.

Creating a webservice and putting in a variable path with paranthesis (/test/{parm1}) caused an IDE crash. With EPC142040, the path will be checked to ensure a valid path is entered.
This defect has now been rectified.
0161347 Web app, based on shipped template, fails at execution due to missing widget.

This defect has now been rectified.
User Action: 
This is a LANSA for i specific issue. Sample material has been updated with missing widgets. On IBM i, from the Administration tasks menu, select Initialize Partition and import WEBDFLS.
0161350 Webpage crashes when slider is set to a minimum value greater than 0.

This defect has now been rectified.
0161373 Adding object from a list in the web app template, some objects are missing.

Ensure Views and Dialogs are added to the Deployment Packages when included from a List.
This defect has now been rectified.

Affected objects

Object NameObject Type
EPC142040
.gitignore \
.gitlab-ci.yml \
VLWeb.gitignore\
WAM.gitignore \
PostDeploy.ps1 \autodeploy
Lansa.Wix.CustomActions.dll\lansa
Lansa.Wix.Projects.dll \lansa
liio.dll \lansa
liis.dll \lansa
liiverinfo.dll \lansa
liiy.dll \lansa
lp.bnd \lansa
lpjpn.bnd \lansa
x_res.dll \lansa
lxxf74.asc \lansa\imports\std_weblets
lxxfcr.asc \lansa\imports\std_weblets
lxxfws.asc \lansa\imports\std_weblets
lxxfwx.asc \lansa\imports\std_weblets
x_cbc1.dll \lansa
x_dbg.dll \lansa
x_prim.dll \lansa
Lansa.Wix.CustomActions.dll \X_WIN64\X_LANSA\execute
lp.bnd \X_WIN64\X_LANSA\execute
lpjpn.bnd \X_WIN64\X_LANSA\execute
w3wsvpgx.dll \X_WIN64\X_LANSA\execute
x_cbc1.dll \X_WIN64\X_LANSA\execute
x_dbg.dll \X_WIN64\X_LANSA\execute
x_prim.dll \X_WIN64\X_LANSA\execute
x_uimmseng.dll \X_WIN64\X_LANSA\execute
x_uimmsfra.dll \X_WIN64\X_LANSA\execute
x_uimmsjpn.dll \X_WIN64\X_LANSA\execute
ledeploy.dll \X_WIN95\X_LANSA\execute
lehfd002.dll \X_WIN95\X_LANSA\execute
lejbs068.dll \X_WIN95\X_LANSA\execute
letcpfld.dll \X_WIN95\X_LANSA\execute
letvalcl.dll \X_WIN95\X_LANSA\execute
lp.bnd \X_WIN95\X_LANSA\execute
lpjpn.bnd \X_WIN95\X_LANSA\execute
w3wsvpgx.dll \X_WIN95\X_LANSA\execute
x_cbc1.dll \X_WIN95\X_LANSA\execute
x_dbg.dll \X_WIN95\X_LANSA\execute
x_prim.dll \X_WIN95\X_LANSA\execute
x_uimmseng.dll \X_WIN95\X_LANSA\execute
x_uimmsfra.dll \X_WIN95\X_LANSA\execute
x_uimmsjpn.dll \X_WIN95\X_LANSA\execute
xpdcolvr.dll \X_WIN95\X_LANSA\execute
xpddpd.dll \X_WIN95\X_LANSA\execute
xpdobjrp.dll \X_WIN95\X_LANSA\execute
xpfobsel.dll \X_WIN95\X_LANSA\execute
xpninsh.dll \X_WIN95\X_LANSA\execute
xpninst.dll \X_WIN95\X_LANSA\execute
xptutils.dll \X_WIN95\X_LANSA\execute
xpviolab.dll \X_WIN95\X_LANSA\execute
xpvsumip.dll \X_WIN95\X_LANSA\execute
xpvsumpn.dll \X_WIN95\X_LANSA\execute
xpvxrfod.dll \X_WIN95\X_LANSA\execute
vlweb.dat \X_WIN95\X_LANSA\web\vl
*.* \X_WIN95\X_LANSA\web\vl\lansa_14_2_4_1
xvlfone.ptf \X_WIN95\X_LANSA\x_apps\x_tmplt
EPC142043
lansaweb.dll \WebServer\iisplugin\lansaweb
lansaweb.dll \WebServer\iisplugin\lansaweb64
std_gcharts*.js \WebServer\Images\script
std_gmaps*.js \WebServer\Images\script
std_jqueryui*.js \WebServer\Images\script
std_jsons*.js \WebServer\Images\script
std_mobileapp*.js \WebServer\Images\script
std_script*.js \WebServer\Images\script
Object Name Object Type Library
VL_WEB_RUNTIMEDIRx_lansa/web/vl/lansa_14_2_4_1
W3XSVPGX*SRVPGMLANSA communication library
WEBDFLS*SAVFLANSA program library
WEBINIT*SAVFLANSA program library
WEBLETS*SAVFLANSA program library
@XPNINSH*SRVPGMLANSA program library
X_BASE*SRVPGMLANSA program library
X_COMP*SRVPGMLANSA program library
X_DBG*SRVPGMLANSA program library
X_PRIM*SRVPGMLANSA program library
X_VAR*SRVPGMLANSA program library

Install Instructions

Special note for IBM i Power 5 hardware: Due to hardware conversion, you may experience a delay when importing from the VLF save files or on the first connection to the LANSA Listener. This conversion will occur only once.

  1. Sign on with QSECOFR user profile or a user that is part of the QSECOFR group.
  2. Backup all the LANSA folders, system libraries and ALL the LANSA IFS objects (LANSA_pgmlib/x_lansa) before applying this EPC
  3. You need exclusive use of the LANSA system before applying the EPC. You must end the Listener, Host Monitor and Web Server for the LANSA system and run the LANSA for the Web cleanup program.
  4. To check for active users refer to How to check for Active Users.
  5. Move the unzipped file EPC142040 to an IFS folder on the IBM i ( e.g. /LANSA_pgmlib/tmp/epc142040 )
  6. To apply this EPC, run the command LOADEPC with the following parameters:

    pgmlib/LOADEPC and press command 4 (F4) to prompt the command (can be run in batch)

    EPC number . . . . . . . . . . . > 142040
    Install the EPC from . . . . . . >*IFS
    IFS Path and object name . . . .e.g./LANSA_pgmlib/tmp/epc142040
    Apply this EPC to . . . . . . . FULL_LANSA_SYSTEM
    LANSA program library . . . . . pgmlib
  7. Use DSPJOBLOG OUTPUT(*PRINT) to save a job log record of what the LOADEPC command did.
  8. Sign off and then on again before commencing the next installation, e.g.:
    • to apply this EPC on another LANSA system
    • to apply another EPC on the same LANSA system

The command LOADEPC is now available in the LANSA web server Admin library. Use the following instructions.

  1. If you haven't installed or upgraded LANSA for the Web on the Web Server, do so before proceeding with step 2.
  2. Backup all the LANSA folders, system libraries and ALL the LANSA IFS objects (LANSA_admlib/x_lansa) before applying this EPC
  3. End the Web Server and run the LANSA for the Web cleanup program. Refer to 13.5.6 Clean Up Systems in the LANSA Online documentation for cleanup instructions.
  4. Display your current library list. If QTEMP is not shown, then add it to your library list using the ADDLIBLE (add library list entry) command.
  5. Move the unzipped file EPC142040 to an IFS folder on the IBM i. ( e.g. /LANSA_admlib/tmp/epc142040)
  6. For this EPC use the following options:
    1. Install the EPC from = *IFS
    2. Apply this EPC to = LANSA_WEB_SERVER
  7. Run the command LOADEPC with the following parameters:

    CHGCMD CMD(admlib/LOADEPC) PGM(admlib/DC@LCP120)

    admlib/LOADEPC and press command 4 (F4) to prompt the command (can be run in batch)

    EPC number . . . . . . . . . . . > 142040
    Install the EPC from . . . . . . > *IFS
    IFS Path and object name . . . . e.g. /LANSA_admlib/tmp/epc142040

    Apply this EPC to . . . . . . . LANSA_WEB_SERVER
    LANSA web server admin lib . . . . . admlib
  8. Save and then delete the backout library (iiiEPCnn where iii = 1st three characters of the LANSA pgm library and nn is sequence number) created by the install. The contents of the library may be used to backout this EPC and return your system to its previous state.
  9. Sign off and then on again before commencing the next installation, e.g.:
    • to apply this EPC on another LANSA system
    • to apply another EPC on the same LANSA system
  1. It is recommended that a backup be done of all LANSA folders and your LANSA database before applying this EPC.
  2. Stop using the LANSA development environment and stop all currently executing LANSA applications.
  3. Right click on AllEPCs.exe and 'Run as Administrator'.
  4. Select the "Setup" button or "Cancel" if you do not want to proceed.
  5. If you have multiple configurations installed, select the configuration to which the EPC is to be applied.
  6. If you are prompted to reboot your pc - please reboot.
  7. Once the EPC has been successfully applied, review the User Actions in this page and perform any mandatory tasks or actions listed in this section.
  8. To check if this EPC has been successfully applied or to view details of all installed EPCs, check the Product Information and review 8.7.2 Installation Details.

© 2018 LANSA

Download this EPC

Note: Support Portal access required to download EPCs. Log in and then select EPC option from menu on left.