Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109702

JS Toolkit Portlet Configuration fails with number type configurations.


    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.2.10 DXP FP4
    • Fix Version/s: None
    • Component/s: Dynamic Data Mapping
    • Labels:


      There appears to be an issue with the configuration capabilities of the latest liferay-npm-bundler projects. The first problem is that default configuration values are not being passed to the UI. The second issue is that configuration for number and float types is broken. When you declare a configuration field type for either of these, the configuration will not be displayed in the portlet configuration modal. In both these instances I have only tested instance configuration not system configuration. This is tested using liferay-npm-bundler@2.18.2 and Liferay DXP 7.2 FP4

      Ivan Zaera believes this is likely a problem with the DDM JSON that is produced. 
      In the case of the type being set to float it's rendering the following:
      "availableLanguageIds": [],
      "fields": [
      "name": "drink",

      { "": "Favorite drink" }

      "dataType": "double",
      "type": "ddm-decimal",

      { "": "Choose the drink you like the most" }


      { "": "10.5" }





            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created:
                Days since last comment:
                16 weeks, 1 day ago


                Version Package