Ranganath Chittari created ISIS-766:
---------------------------------------

             Summary: 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
            Reporter: Ranganath Chittari
            Assignee: Dan Haywood
            Priority: Critical


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)

Reply via email to