Skip to content

Error reading job prep-task #926

Closed
@ascobie

Description

One of my NCJ jobs has a prep-task and am getting an error in the console when viewing it:

capture

Also the message the UI shows me in grammatically incorrect:

"Node is currently there is no files to view now."

Maybe due to the above error as i feel like it should have the state here that it cannot read.

Update: bl-job-hook-task-details creates the bl-node-file-browse component with only a nodeId and not a node. The HTML displays the node state error if this condition is true:

<div *ngIf="!isNodeAvailable" class="info-overlay node-unavailable">
    Node is currently
    <span class="highlight">'{{node.state}}'&nbsp;</span>there is no files to view now.
</div>

But in this case there is no node so it fails. I have added node?.state to at least stop it failing for now until we figure out what it should do. It should probably try and load the node from the ID if one was not passed in.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions