You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/12/23 17:10:48 UTC
[jira] [Resolved] (ISIS-1193) void actions return 404 Not Found
when called through restful viewer
[ https://issues.apache.org/jira/browse/ISIS-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood resolved ISIS-1193.
-------------------------------
Resolution: Fixed
> 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
> Fix For: 1.11.0
>
>
> 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)