Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • beat.editor beat.editor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • beatbeat
  • beat.editorbeat.editor
  • Merge requests
  • !89

Fix handling of unexpected files in AssetModel

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Samuel GAIST requested to merge 233_fix_rogue_file_handling into v2 Jun 27, 2019
  • Overview 1
  • Commits 1
  • Pipelines 2
  • Changes 2

The AssetModel class was designed with a clean prefix in mind. If for some reason a rogue file is created outside the prefix architecture, this would generate an error.

This patch fixes this by ensuring that only the folders are parsed when it makes sense.

Fixes #233 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 233_fix_rogue_file_handling