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

Empty expression is not working on Add Entry by Action on Objects

Details

    Description

      Description

      Add entry on Objects using the Actions is not working when the Expression field is empty on Non-Required fields

      Steps to Reproduce

      1. Create a new Object
      2. Add a non-required Field on the object
      3. Publish the Object
      4. Go to Actions and create an action using the "Add an object Entry"
      5. Select the Object to add an entry using
      6. Add the non-required field on the predefined values
      7. Left the expression field empty
      8. Save action
      9. Add an entry to trigger the Action
      10. Observe

      Expected Result

      Empty expressions should work fine when triggering the action and the entry must be added

      Actual Result

      Empty expressions are not working and an error is shown on the console

       

       Reproduced In:
      master: 7040cba4dc37e5450a45aa45cbbc37ab2b9f70a8

      Attachments

        Activity

          People

            andre.farias André Farias
            diogo.santos Diogo Santos (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Carolina Barbosa Carolina Barbosa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12 weeks, 6 days ago

              Packages

                Version Package
                7.4.3.33 CE GA33
                7.4.3.34 CE GA34
                Master