What's wrong with Submit button? in Travel tool application in getting started tutorial

1
0
-1

I have been following the getting started tutorial through the following video and the web page:
http://www.bonitasoft.com/resources/videos/getting-started-tutorial
http://documentation.bonitasoft.com/6.x-7.2/getting-started-tutorial-2#create-contracts

But in the end, the submit button (on submitTravelRequest page) just does not work. It works only if I run it from the studio but not if the app is built/ deployed and run from the bonita portal.

The property "Target URL on success" of the submit button has value: /bonita

Why it doesn't work? And what's the solution.

I'm using Bonita BPM Community Edition Version : 7.4.3, Build id : 7.4.3.

Comments

Submitted by daniel.marklun_... on Tue, 10/03/2017 - 08:07

I have the same problem. Any one found a solution?

Submitted by josep.albalat on Wed, 03/07/2018 - 10:49

Hi,
I'm new to Bonita BPM and I have the same problem.I am using 7.6 version The travel tool app starts, I have the data from the database, the submitTravelRequest page appears, but the submit button doesn't work.

In the log I have this message:

Hi,
I'm new to Bonita BPM and I have the same problem.I am using 7.6 version The travel tool app starts, I have the data from the database, the submitTravelRequest page appears, but the submit button doesn't work.

I have this message in log file:
2018-03-07 10:33:55.380 +0100 ADVERTENCIA: org.bonitasoft.console.common.server.page.ResourceRenderer Cannot find the resource file /Applications/BonitaStudioCommunity-7.6.3.app/Contents/Eclipse/workspace/tomcat/server/temp/bonita_portal_606@MacBook-Pro-de-Jose.local/tenants/1/pages/custompage_defaultlayout/resources/undefined

Thanks,

3 answers

1
0
-1

Hi,
I'm new to Bonita BPM and I have the same problem. I created the travel request application according the video and the documentation for version 7.4 (I am using 7.4.3). The travel tool app starts, I have the data from the database, the submitTravelRequest page appears, but the submit button doesn't work.

There is nothing in the log, the form is valid (the button enabled) but it doesn't works.

I checked in my browser console and there is a 404 post error. I was unable to find a suitable solution though.

POST http://localhost:29143/bonita/portal/resource/process/Travel%20Request/1... 404 (Not Found)

The button action start process, the target url /bonita but I tried many other as well without success. Variables according the description. So I don't know how this URL was generated.

Any idea?

Thanks

1
0
-1

I have checked logs.
No log is written when I press Submit button. It seems if the proper value is missing for "target url" property of it. But what's the value? I have "/bonita" for now as default. I changed it to a few link but still not working..
Any idea?

1
0
-1

The submit button will change from invalid to valid when all the required inputs are correct, it is probable that there is a tiny little problem that you need to fix.

You will have to go through it very carefully.

Also when reporting a problem you need to review the log as well, it might tell you what's wrong...

regards
Seán

PS: While this may not be the complete answer you're hoping for, it does indicate a possible solution, please mark as resolved.

Comments

Submitted by h.hasan.mehmood on Wed, 03/29/2017 - 03:40

The values are all valid.
Indeed it is probable that there's a tiny little problem. How can I view the logs in Bonita?

Submitted by Sean McP on Wed, 03/29/2017 - 04:29

In studio:

Help->Bonita BPM->Engine Logs

Direct:

%BonitaInstallFolder%\workspace\tomcat\server\logs

regards

Notifications