docs: public void writeProject(CmsRequestContext context, CmsProject project)
      throws CmsRoleViolationException, CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              checkManagerOfProjectRole(dbc, project);
              m_driverManager.writeProject(dbc, project);
          } catch (Exception e) {
              dbc.report(null, Messages.get().container(Messages.ERR_WRITE_PROJECT_1, project.getName()), e);
          } finally {
              dbc.clear();
          }
      }