AmpersandTarski / Ampersand

Build database applications faster than anyone else, and keep your data pollution free as a bonus.
http://ampersandtarski.github.io/
GNU General Public License v3.0
40 stars 8 forks source link

Runtime bug in the ArchiChecker #1464

Closed stefjoosten closed 4 months ago

stefjoosten commented 5 months ago

What happened

sjo % ampersand data-analysis repositoryumcu.archimate
/Users/sjo00577/repositoryumcu.archimate has been interpreted as an Archi-repository.
!             Ampersand-v5.0.0 [feature/labels-in-ADL-files:c3d6ddff3*]
Not a valid NamePart: "Office 365"
CallStack (from HasCallStack):
  fatal, called at src/Ampersand/Input/Archi/ArchiAnalyze.hs:221:34 in ampersand-5.0.0-B1XilKuKFTSK4jjvTTkJYi:Ampersand.Input.Archi.ArchiAnalyze
ExitFailure 2
sjo % 

What I expected

I expected Ampersand to generate a file called Metamodel.adl.

Version of ampersand that was used

Steps to reproduce

  1. download and unzip repositoryumcu.archimate.zip
  2. compile repositoryumcu.archimate with Ampersand-v5.0.0 [feature/labels-in-ADL-files:c3d6ddff3*] with:
    ampersand data-analysis repositoryumcu.archimate

    Analysis

    The ArchiChecker runs into illegal identifiers in the new namespace setup.

TODO

hanjoosten commented 4 months ago

Fixed