cancel
Showing results for 
Search instead for 
Did you mean: 

Form path problem - bug?

jsher
Champ in-the-making
Champ in-the-making
Hi,

I'm not sure if this is a bug as I may have missed something in docs, but I have a problem where if I use uppercase in the path to a form, the formkey generated strips the uppercase and remaining characters and my form cannot then be located.
For example, a form with path com/acme/usertaskXxxx/myform.form results in key com/acme/usertask/myform.form, ie the Xxxx is stripped !

Am I missing something ?

I confirmed this using FormServiceTest.testTaskFormPropertyDefaultsAndFormRendering, creating a new /activiti-engine/src/test/resources/org/activiti/engine/test/api/formXxxx folder, copying task.form to this new folder, changing the test deployment to "org/activiti/engine/test/api/formXxxx/task.form". Error reported was 'Form with formKey 'org/activiti/engine/test/api/form/task.form' does not exist', ie. the Xxxx was stripped from folder name.

Regards
   James
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
You should change the activiti:formKey="org/activiti/../formXxxx/start.form" as well.

jsher
Champ in-the-making
Champ in-the-making
One of those Homer Simpson 'doh' moments.

Thanks for the reply and apologies for the distraction.

Regards
   James