DXP22.10.0012 Changelog

April 24, 2024

Android SQLite plugin. "Remote Debug" might lead to an error. Native re-authentication. Config XML not deleted. PWA keeps prompting to be installed even though it is already installed. Rich Text Editor Buttons. Rich Text Editor Theme Support. Hidden Elements. Error caused by objects in Resources folder. Default Theme. Global Ajax Property. Ajax event beforeSend added. Application flow update when switching app. Version Management in SAP GUI App Designer shows blank page. /NEPTUNE/CL_NAD_SERVER→API_MESSAGE_CREATE will bring the message in JSONH format to the front end. GUI App Designer model data formatting. MIME folders not added to transport request when deleting an application. OpenAPI Spec missing Parameters of Interface Methods. API Factory calls fail in Swagger UI. FileUploader issue in Front End/Backend setup. SQLite/WebSQL. Extended time for logs. Clear Cookies

Mobile Client

Android SQLite plugin (2-20806)

Plugin cordova-sqlite-evcore-extbuild-free is now enabled by default for both Android and iOS when selected from the Plugin Library. Please see this page for more background and details: https://community.neptune-software.com/topics/planet-8/blogs/chrome-removes-websql.

"Remote Debug" might lead to an error (20978)

If you have "Remote Debug" enabled and call console.log with either an undefined or no argument, you would have gotten a JavaScript error. This is now resolved.

Native re-authentication (5-20749)

With the Authentication option "Native" an improvement has been implemented to handle the expiration of logon sessions. When an Ajax call fails because re-authentication is needed, the user will stay in the same app/screen after the necessary re-authentication has been completed. A message is provided to inform that re-authentication was successful, and the last performed action must be repeated.

Config XML not deleted (39-21318)

If a mobile client that had content in the config XML tab was deleted, the content of the config XML was not deleted. If then a new mobile client was created with the same ID as the previously deleted mobile client, it would fetch the content of the old config XML.

Launchpad

PWA keeps prompting to be installed even though it is already installed (18-21074)

The dialog that offers an installation of the PWA-enabled Launchpad was being shown to the user, even though the PWA-enabled Launchpad has been installed already. This bug has been introduced with Neptune DXP 22.10.0010.

Rich Text Editor Buttons (21014)

Button configuration was not applied in applications using the Rich Text Editor UI5 control.

Rich Text Editor Theme Support

The Rich Text Editor will now adopt the applied UI5 theme in all fields and setting menus.

Hidden Elements (31-20994)

Hidden navigation elements would be visible to certain screen readers.

App Designer

Error caused by objects in Resources folder (6-20884)

When objects were added to the resources folder and the checkbox "Do not add to View, only declare" was not ticked, the error "DOM element with ID 'Resources' not found in page, but application tries to insert content." would occur when running the application. This has now been fixed.

Default Theme

The theme requirement have been removed. An app with no theme set, will run with the default theme defined by the UI5 version:

  • UI5 1.71: Quartz Light

  • UI5 1.108: Horizon Morning

  • UI5 1.120: Horizon Morning

Global Ajax Property (22-21110)

The parameter "global" can now be maintained on the Ajax control in the App Designer.

Ajax event beforeSend added

The "beforeSend" event is available on the Ajax and RestAPI controls in the App Designer.

Application flow update when switching app (22-21119)

After having opened the application flow, when loading a different app in the App Designer, the application flow did not update to reflect the correct data.

Version Management in SAP GUI App Designer shows blank page (22-21106)

In certain scenarios, it can happen that the Version Management App that you can open in the SAP GUI App Designer shows just a blank page.

/NEPTUNE/CL_NAD_SERVER→API_MESSAGE_CREATE will bring the message in JSONH format to the front end (35-21234)

When using the /neptune/cl_nad_server→api_message_create method to bring messages to the front end we serialized the message as JSONH. When only using a neptune.MessageArea object in the app to handle the messages there are no issues. However, if you were accessing the messages with property data.customerMessage then the payload might have been different compared to the response from Neptune DXP SAP Edition Version 6. We now return a plain JSON for the messages so the payload type is aligned with the old approach.

GUI App Designer model data formatting

Some formatting settings made in the data binding formatter dialog in the GUI App Designer was lost when saving the app in the Web App Designer.

MIME folders not added to transport request when deleting an application (41-21344)

During the deletion process of an application, when deleting the relevant MIME objects for that application, all files would be deleted and added to the transport request, except for the folders inside the main folder, usually this would mean the css folder.

API Designer

OpenAPI Spec missing Parameters of Interface Methods (11-20912)

When defining an API in the API Designer with a method that is implemented by an interface, the importing parameters of that interface method would not have been reflected in the OpenAPI/Swagger specification (both 2.0 and 3.0) and thus not showing these parameters in Swagger UI.

API Factory

API Factory calls fail in Swagger UI

With Version 22.10.0010 there has been a bug introduced that might have led to API Factory calls perform HTTP scheme calls instead of HTTPS.

General

FileUploader issue in Front End/Backend setup (17020 & 20959)

When using the FileUploader control in an app with RFC destination specified, the file upload fails with a dump (CALL_FUNCTION_RECEIVE_ERROR) in the backend destination system. This was already fixed in 21.10.0007 but not in Neptune DXP 22.

SQLite/WebSQL

With the deprecation of WebSQL we now have SQLite via WASM as the new solution. The current approach is to only use the OPFS filesystem to persist the data. This introduces new HTTP Response Header Fields (Cross-Origin-Opener-Policy & Cross-Origin-Embedder-Policy). These might lead to problems when you want to embed an iFrame with a different origin. In addition to OPFS, there are further storage options that we introduce with this new patch:

  • OPFS Shared Access Handle (SAH)

  • Memory in the Main Thread

  • Memory in the Worker Thread

You can learn more about the new Storage Options in our blog https://community.neptune-software.com/topics/planet-8/blogs/chrome-removes-websql below section SQLite types (storage options)

Housekeeping

Extended time for logs (27-21160)

We have added the option on the housekeeping tools to keep both user logs and mobile application logs up to 3 years.

OAuth authentication

Clear Cookies (34-21229)

When logging in and off a Launchpad or Mobile Client with OAuth authentication, all cookies were being deleted. It has come to our attention that this may cause issues when other web applications might run on the same system. We have now implemented an enhancement spot in the method /NEPTUNE/CL_OAUTH_LOGOFF→CLEAR_COOKIES, where you can now implement custom code to decide what cookies to delete/keep. The enhancement spot name is: /NEPTUNE/ES_OAUTH_LOGOFF