Deploy Project Failed "Internal Mapping is undefined"

1
0
-1

Hello everyone, when im trying to deploy my project, suddenly this error appear "Internal Mapping is undefined for Eng Report CA". I have no clue and idea what's going on. Can someone tell me a solution?
here is the log of the error: "Internal form mapping is undefined for Eng Report CA.
org.bonitasoft.studio.designer.core.bar.FormMappingBarResourceProvider.shouldAddFormMapping(FormMappingBarResourceProvider.java:158)
org.bonitasoft.studio.designer.core.bar.FormMappingBarResourceProvider.addFormMapping(FormMappingBarResourceProvider.java:86)
org.bonitasoft.studio.designer.core.bar.FormMappingBarResourceProvider.newFormMappingModel(FormMappingBarResourceProvider.java:79)
org.bonitasoft.studio.designer.core.bar.FormMappingBarResourceProvider.addResourcesForConfiguration(FormMappingBarResourceProvider.java:71)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:108)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:178)
org.bonitasoft.studio.engine.operation.ExportBarOperation.exportBar(ExportBarOperation.java:117)
org.bonitasoft.studio.engine.operation.ExportBarOperation.run(ExportBarOperation.java:108)
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)"

I hope someone able to explains this error for me. Thank You.

1 answer

1
+1
-1
This one is the BEST answer!

When you run a process in Bonita Studio, if no form has been defined for a step, process start or process overview, a form is automatically generated for you.

When you deploy your process on a production server this form auto-generation feature is no longer available (it is provided by Bonita Studio). So you need to make sure that a form is mapped to each steps and for process start and overview. If you don't want to create a form you need to select the option "no form".

What feel a little bit weird is that Bonita Studio should prevent you from generating a bar file with missing form mapping (i.e. association between a task/process and a form). If you can let me know (in a comment) what version of Bonita Studio you are using and maybe provide a link to download your .bos file that can help to figure out if there is a bug. Thanks.

Comments

Submitted by yogabaskara17_1... on Tue, 11/19/2019 - 04:36

Hello, currently im using bonita 7.9 version. here is my .bos file https://drive.google.com/open?id=1-KY1Hj8um321PCXTsDCVFGQZUEp-o6rs . Hopefully you can figure out what is went wrong to my project. By the way, Is it possible to keep in touch with bonita team by email? there are still a lot of thing that i want to learn and ask about bonitasoft for my company project. If you don't mind, i would share my email adress and we discuss there. thank you very much

Submitted by antoine.mottier on Wed, 11/20/2019 - 17:28

I cannot access to your file on Google Drive, it seems protected. Can you make that public? Thanks.

Submitted by yogabaskara17_1... on Thu, 11/21/2019 - 03:58
Submitted by yogabaskara17_1... on Fri, 11/22/2019 - 09:46

have you found out the solution?

Submitted by antoine.mottier on Mon, 11/25/2019 - 11:13

I take a look at the .bos file you shared but it includes 37 diagrams, 2 applications and 3 organizations. So I will need a little bit of guidance to know what need to be deployed in order to reproduce your issue. Can you let me know which organization, process(es), page(s) and application(s) need to be deployed in order to reproduce your issue? Thanks a lot.

Submitted by yogabaskara17_1... on Mon, 11/25/2019 - 14:36

diagrams/proceses: all diagrams EXCEPT: demoUploadDownloadFileDiagram, TestUpload-1.0, Test update 1.0, test upload file 1.4.0, test2 1.0, test3 1.0, Uji coba upload 1.4.0
Pages: none (i havent created one, so far i only create "forms", the existing pages was from the previous sample from bonita) because it is quite confusing the differences between page and forms and when to use them.
Organization: satnetcom
Application: i'm not sure which one but im quite sure Application_data.xml is the one. otherwise you can use the second one.

Submitted by yogabaskara17_1... on Mon, 11/25/2019 - 14:41

my project mixed up with trial and test processes. so it's kinda messed up. should i clean it up and send the new .bos file to you?

Submitted by antoine.mottier on Mon, 11/25/2019 - 14:54

In the process named "Eng Report CA" you didn't configured any instantiation form.

You should either select the option "No form" or select a form. To select an instantiation form select the process pool, go to "Execution" -> "Instantiation form" tab, select "UI Designer" option and in the drop down list select the appropriate form.

Submitted by yogabaskara17_1... on Mon, 11/25/2019 - 14:57

okay, i will test it right now. and i will tell you soon.

Submitted by yogabaskara17_1... on Mon, 11/25/2019 - 15:11

Well, so far no issue i just deployed the project. still got the same error but error in "Eng Report CA" is already gone and now the error appeared in another process. I'm quite sure the error is the same one.
thanks anyway, Antoine.

Notifications