Hello!
I don't really know if it's a bug or an error on my part but I would like to import a JSON template (https://github.com/monarc-project/monarc-objects/blob/master/referentials/ISO_IEC_27002.json)
but when importing it gives me a type error:
"An error has occurred on api/client-anr/1/instances/import : Typed property Monarc\FrontOffice\Service\InstanceImportService::$monarcVersion must not be accessed before initialization (500)"
Thanks a lot for your time on the project !
To Reproduce
- Go to 'Project management context menu'
- Click on 'Import a risk analysis'
- Select JSON file
- Click on 'Import file'
- See error
Expected behavior
The template should be imported
Screenshots



the error is half in French but I copied it above
Desktop (please complete the following information):
| Questions |
Answers |
| Type of issue |
Bug |
| OS version (server) |
Ubuntu (OVA file -> MONARC_v2.12.2@c27e4c8572489b762f667b28d42c5c1626bfe017) |
| OS version (client) |
Win11 |
| PHP version |
7.0, 7.1... |
| MONARC version / git hash |
2.12.2 |
| Browser |
Firefox, Chrome, Safari |
Hello!
I don't really know if it's a bug or an error on my part but I would like to import a JSON template (https://github.com/monarc-project/monarc-objects/blob/master/referentials/ISO_IEC_27002.json)
but when importing it gives me a type error:
"An error has occurred on api/client-anr/1/instances/import : Typed property Monarc\FrontOffice\Service\InstanceImportService::$monarcVersion must not be accessed before initialization (500)"
Thanks a lot for your time on the project !
To Reproduce
Expected behavior
The template should be imported
Screenshots



the error is half in French but I copied it above
Desktop (please complete the following information):