Skip to content

Text View - Copy to Clipboard Errors #2749

@ericaVoss

Description

@ericaVoss

Expected behavior

When you "Copy to Clipboard" from the "Text View" of a cohort, it replicates the text seen on seen without errors.

Actual behavior

This error messages is inserted:

function e(){if(0<arguments.length){if("function"===typeof f)f.apply(g.sb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters."); return this}a.l.sc(e);(g.V||g.t&&e.Sa())&&e.U();return g.M} function e(){if(0<arguments.length){if("function"===typeof f)f.apply(g.sb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters."); return this}a.l.sc(e);(g.V||g.t&&e.Sa())&&e.U();return g.M} function e(){if(0<arguments.length){if("function"===typeof f)f.apply(g.sb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters."); return this}a.l.sc(e);(g.V||g.t&&e.Sa())&&e.U();return g.M} function e(){if(0<arguments.length){if("function"===typeof f)f.apply(g.sb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters."); return this}a.l.sc(e);(g.V||g.t&&e.Sa())&&e.U();return g.M} Excluded Descendants Mapped

Steps to reproduce behavior

  1. https://atlas.ohdsi.org/#/cohortdefinition/599/export
  2. Press the Copy to Clipboard button on "Text View" page
  3. Paste to Notepad or Word to see the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions