Changeset 16818 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 21 Feb 2022, 06:21:10 (3 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r16538 r16818 1510 1510 invalid_line = check_csv_charset(filecontent.splitlines()) 1511 1511 if invalid_line: 1512 if invalid_line == -1: 1513 self.flash(_( 1514 "The data in your file contain trailing whitespaces. " 1515 "Please replace."), type='danger') 1516 else: 1517 self.flash(_( 1518 "Your file contains forbidden characters or " 1519 "has invalid CSV format. " 1520 "First problematic line detected: line %s. " 1521 "Please replace." % invalid_line), type='danger') 1512 self.flash(_( 1513 "Your file contains forbidden characters or " 1514 "has invalid CSV format. " 1515 "First problematic line detected: line %s. " 1516 "Please replace." % invalid_line), type='danger') 1522 1517 logger.info('%s - invalid file uploaded: %s' % 1523 1518 (ob_class, target)) -
main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_browser.py
r16187 r16818 204 204 return 205 205 206 def test_forbidden_file_upload_2(self):206 def deprecated_test_forbidden_file_upload_2(self): 207 207 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 208 208 self.browser.open(self.datacenter_path)
Note: See TracChangeset for help on using the changeset viewer.