Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5171

When creating an action, Studio ignore values for properties whose name has more than one word

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: User Actions
    • Backlog priority:
      701
    • Sprint:
      NOS 2019-03 01
    • Story Points:
      3

      Description

      (can't find a valid title, sorry)

      1. Have a custom element, for example nuxeo-my-element
      2. In this element, declare a property, camelCase with more than a word. For example: selectedItems:
        <script>
            Polymer({
              is: 'nuxeo-my-element',
              properties: {
                selectedItems: Object,
              . . .
        
      1. Create a new action using this element
      2. The designer correctly suggests the selected-items property
      3. But it is not saved to the bundled, it is ignored./ The bundle just has <nuxeo-my-element><nuxeo-my-element>, no properties

      Not problem with properties which have a single word.

      Workaround: Manually edit the -bundle.html and explicitly add . . .selected-items="[[selectedItems]]". . .

       

      Prioriy: Major because it is not obvious. You create the action, save, don't re-open it to check if the values were saved, you deploy, does not work, etc.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m