Community
Participate
Working Groups
The FormEditor.commitPages() does a premature class cast, which makes it fail on mixed form: protected void commitPages(boolean onSave) { if (pages != null) { for (int i = 0; i < pages.size(); i++) { Object page = (IFormPage)pages.get(i); //<-- HERE IS THE PREMATURE CAST if (page instanceof IFormPage) { IFormPage fpage = (IFormPage)page; IManagedForm mform = fpage.getManagedForm(); if (mform != null && mform.isDirty()) mform.commit(onSave); } } } } The cast seems unncecessary anyway, since the page variable is an Object, and is checked for the proper type on the next line via instanceof.
Created attachment 77060 [details] patch Dejan, this one is zero risk. It can be released.
Released into HEAD.
*** Bug 211627 has been marked as a duplicate of this bug. ***