Index: /main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py	(revision 9609)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py	(revision 9610)
@@ -832,13 +832,8 @@
     label = _(u'Data Center')
     pnav = 0
-    max_files = 10
 
     def update(self):
         datatable.need()
         warning.need()
-        self.max_exceeded = False
-        number_of_pendings = len(self.context.getPendingFiles())
-        if number_of_pendings > self.max_files:
-            self.max_exceeded = True
         return super(DatacenterPage, self).update()
 
@@ -887,4 +882,5 @@
     label = _(u'Upload portal data as CSV file')
     pnav = 0
+    max_files = 10
     upload_button =_(u'Upload')
     cancel_button =_(u'Cancel')
@@ -965,4 +961,10 @@
     def update(self, uploadfile=None, import_mode=None,
                importer=None, CANCEL=None, SUBMIT=None):
+        number_of_pendings = len(self.context.getPendingFiles())
+        if number_of_pendings > self.max_files:
+            self.flash(
+                _('Maximum number of files in the data center exceeded.'))
+            self.redirect(self.url(self.context))
+            return
         if CANCEL is not None:
             self.redirect(self.url(self.context))
Index: /main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterpage.pt
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterpage.pt	(revision 9609)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterpage.pt	(revision 9610)
@@ -1,14 +1,2 @@
-<p class="alert-message warning" i18n:translate=""
-  tal:condition="view/max_exceeded">
-  <strong>NOTICE:</strong>
-  There are more than
-  <span tal:content="view/max_files" i18n:name="count">50</span>
-  pending files in the data center. Please repair them first before uploading
-  new files. Download and edit their records according to the error
-  messages in the last column.
-  Do not change file names when re-uploading files.
-  If a file contains no more data for import just remove it.
-</p>
-
 <p  i18n:domain="waeup.kofa" i18n:translate="">
 The data center helps you to manage portal data. You can upload CSV
