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

Data Providers with Output Parameter of type Number returns no value

    Details

      Description

      Steps to reproduce

      1. Go to Control Panel > System Settings > Data Provider
      2. Enable the setting Access Local Network
      3. Go to Content & Data > Forms
      4. Go to tab Data Providers
      5. Create a new Data Provider with the following settings:
      6. Go to tab Forms
      7. Add a new Form
      8. Add a Text field
      9. Add a Select From List field and name it Countries. On field Create List, choose From Autofill.
      10. Add a Numeric field and name it Countries Length.
      11. Add a Text field and name it Hidden Field.
      12. Go to tab Rules
      13. Add the following Rules:
        • If Field Text Is not empty Autofill Countries, Countries Length from Data Provider get-countries
        • If Field Countries Length Is greater than Value 0 Show Hidden Text
      14. Publish the Form and visit its published URL

       Actual Result

      Field Countries Length isn't populated with the number of existing Countries and the field Hidden Text isn't shown.

       Expected Result

      Field Countries Length is populated with the number of existing Countries and the field Hidden Text is shown.

        Attachments

          Activity

            People

            Assignee:
            leticia.chiu Leticia Chiu
            Reporter:
            renato.rego Renato Rêgo
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Renato Rêgo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              11 weeks, 6 days ago

                Packages

                Version Package
                7.3.X
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master