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 2014/07/18 12:41:04 UTC

[jira] [Commented] (ISIS-766) ISIS Service / ViewModel method calling twice when this method processing BLOB type

    [ https://issues.apache.org/jira/browse/ISIS-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066247#comment-14066247 ] 

Dan Haywood commented on ISIS-766:
----------------------------------

Hi Ranganath,

Looked into this, but not sure what exactly what error is being reported here.

So far as I can understand you, the file upload issue (method being called twice) used to happen consistently in 1.3.1, but in 1.5.0 it works as expected... unless you are disconnected from the LAN.

I've tried to reproduce the issue by disconnecting from the network myself, but seems to work as expected.

I'm gonna punt this onto 1.7.0 for now; if you can give me anything else to work on, would be good.

~~~
Re:your question about where to publish to, create a repo in github and publish there.  There will be a million screencasts on youtube, I am sure, on how to do it.

Thx
Dan

> ISIS Service / ViewModel method calling twice when this method processing BLOB type
> -----------------------------------------------------------------------------------
>
>                 Key: ISIS-766
>                 URL: https://issues.apache.org/jira/browse/ISIS-766
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.4.1
>            Reporter: Ranganath Chittari
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: viewer-wicket-1.7.0
>
>         Attachments: Files.zip, Upload-Invocation-Failed.log, dom.zip
>
>
> Isis service or ViewModel method getting called twice.
> For ex:
> I have one Hidden service which has lookup method with @HomePage returning  a ViewModel instance using newViewModelInstance(..) method and that renders one action method taking Blob parameter as button. It's basically upload button to upload a file. When I click on upload button, this upload method called and completed the uploading and again getting called second time by itself. And this is inconsistent behavior. Some times its working(meaning called only once) but some other times it's not.
> So I tried this upload action with service class by extending AbstractService which appears in the menu with Upload action. Here also it's the same issue.
> Please find attached files in this Jira as I don't have GIT client to push the files in github
> BR
> Ranganath Varma



--
This message was sent by Atlassian JIRA
(v6.2#6252)