Bug 1058316

Summary: Broken renaming when there is a dot in the file name
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Zuzana Krejčová <zkrejcov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: lpetrovi, rrajasek
Target Milestone: ER1   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:58:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.