My metadata model is greater than 10 MB and I encounter this error message when I try to publish:

ERROR [GetContent] an exception occurred
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (17756706) exceeds the configured maximum (10000000)
at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(
at org.apache.commons.fileupload.FileUploadBase.getItemIterator(
at org.apache.commons.fileupload.FileUploadBase.parseRequest(
at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(
at org.pentaho.platform.web.servlet.RepositoryFilePublisher.getFileItems(
at org.pentaho.platform.web.servlet.RepositoryFilePublisher.doGet(
at org.pentaho.platform.web.servlet.RepositoryFilePublisher.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(
A similar thread had this exact error back in 2012. They reported that the workaround is to scp the metadata model to the bi-server. They also implied that a bug was already filed about this issue. However, I've been googling for the bug number and I can't find one in the system. Is there already a bug number filed for this issue? Or should I open a new bug?

Note - This issue is not related to the mysql max_allowed_packet. Many of the existing bugs in the issue tracker deal with users who have max_allowed_packet set too low. The problem in this issue comes from lines 114-9 in org.pentaho.platform.web.servlet.RepositoryFilePublisher which has the following code:

protected List<FileItem> getFileItems(final HttpServletRequest request) throws FileUploadException {
115    ServletFileUpload fu = new ServletFileUpload(new DiskFileItemFactory());
116    // If file size exceeds, a FileUploadException will be thrown
117    fu.setSizeMax(10000000);
118    return fu.parseRequest(request);
119  }

The fu.setSizeMax sets a maximum limit of 10 MB for any metadata file that is published via the metadata editor. This value should be increased or configurable via a property file or a gui.