Altinn / altinn2-convert

Command line tool for converting Altinn 2 reporting services into Altinn 3 apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No generate Altinn 3 apps.

andreas-didriksen opened this issue · comments

Description of the bug

I follow the instructions the instructions in the Readme file and setup the converter.
When i running using "test" mode i do not get any Altinn 3 apps in the output. The only file in the OUT folder is the unzipped TULPACKAGE.

Steps To Reproduce

  1. Clone the altinn2-convert repo
  2. Change the mode in Program.cs to "test".
  3. Upload TULPACKAGE.zip to the altinn2-converter root folder.
  4. Running the command dotnet run.

Additional Information

No response

I have not used the "test" mode for a long time, so it might not work any more. It looks like it still does exaclty the same as the batch process that does a full folder of apps at once, so I don't see why it shouldn't work. Do you get any other output or are you able to run the code in a debugger to see if anything suspicious happens. Mainly I'd like to inspect the a3 variable on this line

await service.WriteAltinn3Files(a3, targetDirectory);