Skip to content

fix: accept a null type of inputs and outputs #146

Closed

Description

@uniqueg

Description

TES 1.1 no longer requires tesInput.type and tesOutput.type, and asks the
server to fill them in once known. TESK API sets FILE when the field is
left out, but refuses an explicit "type": null with 400 Bad Request
(@NotNull, TesInput.java:152-158, TesOutput.java:215-221). It doesn't
infer directories: the filer needs the type (tesk-core filer.py:1297), so a
directory without type: DIRECTORY is staged as a file. Inferring it would be
a tesk-core change and is out of scope.

No dependency on #133/#134.

Expected result

  • "type": null is treated like a missing type (FILE)
  • docs/api.md says that directories need type: DIRECTORY
  • Tests for both models

Activity

  1. added
    type: bug
    priority: medium
    status: triage
    on Nov 12, 2026
  2. added
    type flag: required by specs
    workload: hours
    status: in progress
    and removed
    status: triage
    on Nov 12, 2026
  3. self-assigned this
    on Nov 12, 2026
  4. removed
    status: in progress
    on Nov 12, 2026
  5. added this to the v2.0.0 milestone on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumtype flag: required by specstype: bugworkload: hours

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions