You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Jeroen van der Wal (JIRA)" <ji...@apache.org> on 2015/08/26 17:37:46 UTC

[jira] [Created] (ISIS-1193) void actions return 404 Not Found when called through restful viewer

Jeroen van der Wal created ISIS-1193:
----------------------------------------

             Summary: void actions return 404 Not Found when called through restful viewer
                 Key: ISIS-1193
                 URL: https://issues.apache.org/jira/browse/ISIS-1193
             Project: Isis
          Issue Type: Bug
          Components: Core: Viewer: RestfulObjects
    Affects Versions: 1.9.0
            Reporter: Jeroen van der Wal
            Assignee: Dan Haywood


We have  method with this signature:
@Action(semantics = SemanticsOf.IDEMPOTENT)
    public void putTax(
            final String atPath,
            final String reference,
            final String name,
            final String description,
            final @Parameter(optionality = Optionality.OPTIONAL) String externalReference,
            final BigDecimal ratePercentage,
            final LocalDate rateStartDate,
            final @Parameter(optionality = Optionality.OPTIONAL) String rateExternalReference) {
    ...
}

When putting a valid payload on the endpoint the viewer returns a 404 Not Found. Since the payload is processed correctly expect a 200 OK.  




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)