Rocket Uniface Support Resources

 View Only

Rocket Uniface 10.4.02-001 Released

  Thread closed by the administrator, not accepting new replies.
  • 1.  Rocket Uniface 10.4.02-001 Released

    ROCKETEER
    Posted 07-20-2022 12:15
    Edited by Community Manager 07-21-2022 04:01
    No replies, thread closed.

    Downloads

    Product availability Matrix (PAM)
    Downloads of this patch are available from the Rocket Customer Support Portal.
    Further explanation can be found here.

    New Feature(s)

    • $componenttype now to returns the component type based on either the component name or instance name. For more information see Uniface documentation.

    Fixes

    UNI-29550The Cloud LM requires many manual steps before it can be used.
    UNI-29133Filtering Entity and Project Palette objects in Resource Browser can give unexpected results
    UNI-28424WrdActivate command in Web Session Management API does not work correctly
    UNI-26631Function $number can return incorrect result when input is of type Struct
    UNI-12114Function $setting: assigning an empty string to a registry value will be stored as "0"



    UNI-29550  -  The Cloud LM requires many manual steps before it can be used.

    Solution available in patch(es):      10.4.02-001

    Description:

    The Sentinel Cloud LM cannot be used straight away using the new installer option, a few manual actions are required (see Workaround).

    Environment:

    + Uniface version: 10.4.x
    + Platforms: Windows, Linux

    Workaround:

    The following prepares the environment with Sentinel 10 libraries.
    1. Install Uniface with the "I will configure my license later" option.
    2. Add $license_options LM_LOAD=10 to ulic.asn.
    3. Perform ulic /prep as admin.

    Notes:

    Sentinel needs to prepare the environment before Cloud LM can be used. Since Cloud LM is a Sentinel v10 feature, we now perform the Sentinel preparation with Sentinel v10 libraries, while Sentinel v9 remains the default for most operations.

    Back to top



    UNI-29133  -  Filtering Entity and Project Palette objects in Resource Browser can give unexpected results

    Solution available in patch(es):      10.3.03-021, 10.4.02-001

    Description:

    Filtering (or searching for) objects in the Entity or Project Palette's Resource Browsers can give an unexpected result when there are no matches in the first 50 occurrences (or the maximum number of suggestions specified by the IDE logical UBAR_RESULTS_MAXHITS). The Resource Browser will display "1 results shown, more found" at the bottom but no results. Clicking "Show all" displays the correct information.

    Environment:

    + Uniface version: 10.x
    + Platform: Windows

    Workaround:

    None.

    Notes:

    This problem is solved.

    Back to top



    UNI-28424  -  WrdActivate command in Web Session Management API does not work correctly

    Solution available in patch(es):      10.4.02-001

    Description:

    In Uniface Version 10.4.02.000, an open-source version of the USYSHTTP component has been released, allowing users to customize its behavior. To enable this, USYSHTTP has been refactored, with stricter checking of the activate request from the WRD.

    For the existing WRD 6.3, the callback request of the WrdActivate command in the Web Session Management API does not provide enough information to the USYSHTTP component. For this reason, an exception occurs when verifying the WRD activate request in the new USYSHTTP, and the end user will see an error message of this exception in their front-end browser.

    This bug has been fixed with the new WRD, version 6.4. To upgrade to this version, replace your existing WRD 6.3, with the new WRD 6.4, provided as WRD.jar in this patch.

    Environment:

    Uniface version 10.4.02.000

    Workaround:

    None.

    Notes:

    Problem has been solved

    Back to top



    UNI-26631  -  Function $number can return incorrect result when input is of type Struct

    Solution available in patch(es):      10.3.03-021, 10.4.02-001

    Description:

    When a Struct is used as input for $number then the result can be incorrect in case a non-English locale is used.

    How to reproduce:
    1. Consider the following code:

    trigger detail
    variables
    struct V_STRUCT
    numeric V_NUM
    endvariables
    $nlsformat = "nlslocale"
    $nlslocale = "de_DE"
    V_STRUCT->NUMBER = "8,3"
    V_NUM = $number(V_STRUCT->NUMBER)
    message/info $concat("V_NUM = ", V_NUM)
    end
    2. Create a form component with a command button that uses the above detail trigger code.
    3. Compile and test the form
    3. Press the button

    Result: The info message will show the text "V_NUM = 8".
    Expected: The message should say: "V_NUM = 8.3"

    Environment:

    + Uniface Version : >= 9.5
    + Operating System : Any

    Workaround:

    Assign the value of the Struct to a string variable and use that with $number, or use string extraction/substitution with the Struct.

    trigger detail
    variables
    struct V_STRUCT
    numeric V_NUM
    string V_TEXT
    endvariables
    $nlsformat = "nlslocale"
    $nlslocale = "de_DE"
    V_STRUCT->NUMBER = "8,3"
    V_TEXT = V_STRUCT->NUMBER
    V_NUM = $number(V_TEXT)
    ; Alternative (string extraction):
    ; V_NUM = $number(V_STRUCT->NUMBER[1])
    ; Or (string subtitution):
    ; V_NUM = $number("%%(V_STRUCT->NUMBER)%%%")
    message/info $concat("V_NUM = ", V_NUM)
    end

    Notes:

    This problem is solved.

    Back to top



    UNI-12114  -  Function $setting: assigning an empty string to a registry value will be stored as "0"

    Solution available in patch(es):      10.3.03-021, 10.4.02-001

    Description:

    When an empty string is assigned to a value of a registry key then
    $setting will store the string "0" instead of "".

    Environment:

    + Uniface: Version 9.3 (and higher)
    + Operating System: All Windows versions
    + Database: DBMS independent

    Workaround:

    Instead of an empty string assign the following as (empty) value to a registry
    key: $encode("USTRING", $decode("HEX", "00"))

    E.g.

    variables
    string vString
    endvariables

    $setting("", "HKEY_LOCAL_MACHINE\SOFTWARE\Uniface\Uniface 9\MyRegData",
    "REGDATA") = $encode("USTRING", $decode("HEX", "00"))
    putmess $concat("Value of MyRegData = [", $setting("",
    "HKEY_LOCAL_MACHINE\SOFTWARE\Uniface\Uniface 9\MyRegData", "REGDATA"), "]")

    ; Result: "Value of MyRegData = []"

    Notes:

    This problem is solved.

    Back to top