Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenFlipper-Free
OpenFlipper-Free
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • OpenFlipper-Free
  • OpenFlipper-FreeOpenFlipper-Free
  • Issues
  • #46

Closed
Open
Opened May 08, 2016 by Hans-Christian Ebke@ebke
  • Report abuse
  • New issue
Report abuse New issue

saving objects fails if any path component other than the filename contains a dot

The menu item "File" -> "Save Objects To" (indirectly) uses LoadWidget::saveFile() to save all objects. However, LoadWidget::saveFile() has a crude and severely broken ad-hoc implementation to check whether the path picked in the save dialog contains a filename with an extension: filename.contains(".",Qt::CaseSensitive) Note: filename contains the entire path here.

If the filename does not contain a dot but another component of the path does, this check returns a false positive, causing the file type detection to wreck havoc.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
bug critical
Assign labels
  • View project labels
Reference: OpenFlipper-Free/OpenFlipper-Free#46