diff --git a/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py b/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py index f4701403e38d03065b3097e9cf15199dcc1e6411..753da629c6a1ce3d97175bf08486fba941e46b29 100644 --- a/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py +++ b/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py @@ -62,7 +62,7 @@ def process(context, parameters): tempPath = singleFile.getAbsolutePath() byteArrays = MasterDataRegistrationHelper.getByteArrays(Path.of(tempPath), ".xls") if len(byteArrays) == 0: - raise UserFailureException('No .xls or .xlsx fields found. These should be on the root folder of the zip file.') + raise UserFailureException('No .xls or .xlsx files found on the root folder of the zip file. This error could be caused by the way the zip file was generated.') parameters.put('xls', byteArrays) allScripts = MasterDataRegistrationHelper.getAllScripts(Path.of(tempPath)) parameters.put('scripts', allScripts) diff --git a/ui-admin/src/js/components/common/browser/BrowserNode.jsx b/ui-admin/src/js/components/common/browser/BrowserNode.jsx index bf38e0ff3719e9ae44d8f822f869830bc9ea9e93..24b29ec82cec3ec3fdff3260113a1c0d7d6b6b96 100644 --- a/ui-admin/src/js/components/common/browser/BrowserNode.jsx +++ b/ui-admin/src/js/components/common/browser/BrowserNode.jsx @@ -28,12 +28,16 @@ const styles = theme => ({ paddingBottom: theme.spacing(1), '&:hover $options': { visibility: 'visible' + }, + '&:hover $textContainer': { + overflow: 'hidden' } }, icon: { margin: '-2px 4px -2px 8px', minWidth: '24px' }, + textContainer: {}, text: { fontSize: theme.typography.body2.fontSize, lineHeight: theme.typography.body2.fontSize @@ -262,6 +266,7 @@ class BrowserNodeClass extends React.PureComponent { <ListItemText primary={text} classes={{ + root: this.props.classes.textContainer, primary: this.props.classes.text }} />