Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
F
frascati
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 114
    • Issues 114
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • frascati
  • frascati
  • Issues
  • #99

Closed
Open
Opened Sep 21, 2012 by Marc Dutoo@mdutoo

Application creation failure make subsequent creation fails

This is a very annoying bug because it makes testing / using FraSCAti Studio heavy and cumbersome (have to restart it all every error).

When an application creation fails (ex. because compilation error "publc" instead of "public"), some things are rollbacked :

  • application persistence is rollbacked
  • application root directory is deleted (including source dirs) in ServiceManagerImpl.createApplication()

but others are not :

  • source dirs are not removed from membraneGeneration (where they have been added by addJavaSource() in ServiceManagerImpl.createApplication())

As a consequence, subsequent application creations, or any FraSCAti compilation for that matter, fail because it can't find those deleted directories, with cryptic errors such as : Creation error No such file or directory <.,C:\Users\user\Documents\frascati-studio\user\Fibo2\src\main\java> that appear within TemplateActionBasicService.doActionAfterCreation() / JavaCodeTransformer.transform() / JuliacComponent.compileJavaSource() / Juliac's SourceFile.addAllJavaFiles().

Solution : remove those also from Juliac membraneGeneration, or don't delete those dirs and the application itself.

Further, check for other such "bad state" problems.

Assignee
Assign to
1.5
Milestone
1.5 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: frascati/frascati#99