Renaming a File to '/' Causes Inaccurate Error Message

in utopian-io •  7 years ago  (edited)

Expected Behavior

Renaming a File Name to '/' causes an error to appear indicating this is an invalid file name.

Actual Behavior

Renaming a File Name to '/' causes an error to appear stating that this file name already exists in the current directory when it does not.

How to Reproduce

  1. Launch Amaze File Manager 3.2.1 on Android 8.1.0
  2. Click the 3 Vertical Dots icon to the right of a File
  3. Select 'Rename'
  4. Change the file name to /
  5. Select 'Save'

Device: Pixel 2 XL
OS: Android 8.1.0
App Version: 3.2.1

Recording of the Bug

Amaze_FileNameAlreadyExists.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  7 years ago (edited)

Why would anyone want to rename a file '/' and why would that be a bug?
I cannot accept that contribution, sorry.

You can contact us on Discord.
[utopian-moderator]

Hi @stoodkev, thanks for reviewing my bug!

In software quality assurance it is important to report all issues discovered no matter how likely they are to be reproduced in the wild. A Dev can then make the decision to prioritize the fix lower, but the bug should still be created so that they have the opportunity to make that decision for themselves.

However, I discussed this bug with another moderator and we agreed that / is the name of the current directory, so the message being displayed is reasonably accurate, so this bug should not be accepted.