[
https://issues.apache.org/jira/browse/ISIS-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368858#comment-17368858
]
ASF subversion and git services commented on ISIS-2761:
-------------------------------------------------------
Commit 062da0c8872a18aec935e0d96f16a7312adde84a in isis's branch
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=062da0c ]
ISIS-2761: RO Viewer: don't hardcode object-icon type to image/png
use image/* instead
also fixes icon search order in local class path
> Invoking link for rel object-icon results in HTTP 404
> -----------------------------------------------------
>
> Key: ISIS-2761
> URL: https://issues.apache.org/jira/browse/ISIS-2761
> Project: Isis
> Issue Type: Bug
> Components: Isis Viewer RO
> Affects Versions: 2.0.0-M5
> Environment: Docker image apacheisis/demo-wicket-jdo (nightly of
> 2021-05-31)
> Reporter: Jörg Rade
> Assignee: Andi Huber
> Priority: Minor
> Attachments: WhereInTheWorldMenu_1_actions.json
>
>
> Invoking:
> {code}
> http://localhost:8080/restful/objects/demo.WhereInTheWorldMenu/1/actions/whereInTheWorld/invoke?address=Malvern,%20UK&zoom=14
> {code}
> gives: [^WhereInTheWorldMenu_1_actions.json]
> This contains at link #4:
> {code}
> {
> "rel" : "urn:org.apache.isis.restfulobjects:rels/object-icon",
> "href" :
> "http://localhost:8080/restful/objects/demo.CustomUiVm/PADw_eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJ5ZXMiPz4KPGRlbW8uQ3VzdG9tVWlWbT4KICAgIDxhZGRyZXNzPk1hbHZlcm4sIFVLPC9hZGRyZXNzPgogICAgPGxhdGl0dWRlPjUyLjE5ODk0NDwvbGF0aXR1ZGU-CiAgICA8bG9uZ2l0dWRlPi0yLjI0MjY1NzEwNzkxMzA4ODY8L2xvbmdpdHVkZT4KICAgIDx6b29tPjE0PC96b29tPgo8L2RlbW8uQ3VzdG9tVWlWbT4K/image",
> "method" : "GET",
> "type" : "image/png"
> }
> {code}
> Invoking the href results in:
> {code}
> No webpage was found for the web address:
> http://localhost:8080/restful/objects/demo.CustomUiVm/PADw_eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJ5ZXMiPz4KPGRlbW8uQ3VzdG9tVWlWbT4KICAgIDxhZGRyZXNzPk1hbHZlcm4sIFVLPC9hZGRyZXNzPgogICAgPGxhdGl0dWRlPjUyLjE5ODk0NDwvbGF0aXR1ZGU-CiAgICA8bG9uZ2l0dWRlPi0yLjI0MjY1NzEwNzkxMzA4ODY8L2xvbmdpdHVkZT4KICAgIDx6b29tPjE0PC96b29tPgo8L2RlbW8uQ3VzdG9tVWlWbT4K/image
> HTTP ERROR 404
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)