Skip to content

Unable to pick xslt files when using the "Send xslt transformed email" workflow #348

@HalldorLyngmo

Description

@HalldorLyngmo

When using the "Send xslt transformed email" workflow you have the option to select an xslt file. But when you try to select a file and submit nothing happens except there is a JS error in the browser console.

image

angular.min.js?cdv=1667401606:63 TypeError: Cannot read property 'value' of undefined
    at populateFile (umbraco.forms.js?cdv=1667401606:262)
    at Object.submit (umbraco.forms.js?cdv=1667401606:240)
    at a.scope.submitForm (umbraco.directives.js?cdv=1667401606:6569)
    at angular.min.js?cdv=1667401606:74
    at Object.d.<computed> [as action] (angular.min.js?cdv=1667401606:44)
    at angular.min.js?cdv=1667401606:74
    at angular-mobile.js?cdv=1667401606:270
    at Object.$eval (angular.min.js?cdv=1667401606:92)
    at Object.$apply (angular.min.js?cdv=1667401606:92)
    at HTMLButtonElement.<anonymous> (angular-mobile.js?cdv=1667401606:269)

Reproduction

Specifics

Tested on v7 and v8.

v8

  • Umbraco 8.6.1
  • Forms 8.4.1

v7

  • Umbraco 7.15.4
  • Forms 7.4.1

Browser
Chrome: Version 80.0.3987.163 (Official Build) (64-bit)

Steps to reproduce

  1. Create a form
  2. Select the "Send xslt transformed email" workflow
  3. Try to select a xslt file at the bottom
    image

Expected result

The file path to be saved successfully with the workflow.

Actual result

Nothing happens except an error so the workflow is not usable without workarounds.


This item has been added to our backlog AB#6636

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions