Bug 1058316 - Broken renaming when there is a dot in the file name
Summary: Broken renaming when there is a dot in the file name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER1
: 6.0.1
Assignee: manstis
QA Contact: Zuzana Krejčová
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-27 14:22 UTC by Zuzana Krejčová
Modified: 2016-08-01 01:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:58:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1006506 0 high CLOSED File name validation broken 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1034965 0 medium CLOSED Add support for renaming and deleting files. 2021-02-22 00:41:40 UTC

Internal Links: 1006506 1034965

Description Zuzana Krejčová 2014-01-27 14:22:27 UTC
Description of problem:
Assets can have a dot in their name - e.g. you can have 'enum.old.enumeration' file. If you want to rename such a file, e.g. from 'enum.old' to 'enum-old', the renaming will take only the substring up to the first dot as the current file name, leaving the rest. 
So, in case of 'enum.old.enumeration' you would end up with 'enum-old.old.enumeration'.

The obvious solution to this would be to not allow dots in asset names. Please, consider also using the metafile for this purpose instead of just prohibiting the use of dot.


Version-Release number of selected component (if applicable):
BPMS 6.0 CR2

Comment 2 manstis 2014-01-27 16:20:14 UTC
Please note that "Copying" files containing a dot also suffered the same problem. This has been fixed too along with the reported "Rename" issue.


Note You need to log in before you can comment on or make changes to this bug.