AnsweredAssumed Answered

Form path problem - bug?

Question asked by jsher on May 9, 2011
Latest reply on May 9, 2011 by jsher

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.