Skip to content

Error when copying property which value is not a string(int) #1675

@timotheeguerin

Description

@timotheeguerin

Seems like the write text doesn't like when it is not a string.

Repro:

  • Copy target dedicated of pool
ERROR TypeError: Error processing argument at index 0, conversion failure from 0
    at ClipboardService.writeText (clipboard.service.ts:11)
    at TextPropertyComponent.copyToClipBoard (text-property.component.ts:32)
    at Object.eval [as handleEvent] (TextPropertyComponent.html:7)
    at handleEvent (core.js:10258)
    at callWithDebugContext (core.js:11351)
    at Object.debugHandleEvent [as handleEvent] (core.js:11054)
    at dispatchEvent (core.js:7717)
    at eval (core.js:8161)
    at HTMLElement.eval (platform-browser.js:995)
    at ZoneDelegate.invokeTask (zone.js:421)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions