Comments (10)
HI Thierry,
Seems there is a little bug with the clear export/import. You can do the job with the encrypted one with the password.
Have a nice day
Jérôme
from monarcappfo.
The file you export is it just containing [object object] ? If it's the case just clean the cache of your browser. In all the case, can you make a test with a cleaned cache ?
from monarcappfo.
I don't understand [object object] ?
The file is containing the asset "Service " that contains the three assets Font-office, Back-office And Obligation légal GDPR.
I have cleared the cache.
With or without password, it's the same result, asset is not or partially imported in the new analysis.
from monarcappfo.
I just asked you to look into the file which is exported and tell us if the json is a complete one or if it just contains [object object].
You can for example edit the file to look into with notepad on windows.
from monarcappfo.
The error is raised from here: https://github.com/monarc-project/zm-core/blob/master/src/MonarcCore/Validator/UniqueCode.php#L49
this is weird. I investigate more.
from monarcappfo.
The problem seems to be when we have a "Front office" and a "Back office" in the Service asset. It is working if for example we only have a "Back Office" and "Obligation legal GDPR".
During the import of the previously exported file (Service.json), we can see that the import procedure is abrupted during the import of the second asset (Front office):
Service
Back Office
Gestion serveurs
Réseau & télécom
Organisation informatique
Développements logiciels
Salle informatique
Gestion des backups
Postes de travail admin
Bâtiment
Administrateur système
Front Office
Employés
The problem is raised when trying to import "Employés" from "Font Office".
At this stage, the content of fields (https://github.com/monarc-project/zm-core/blob/master/src/MonarcCore/Validator/UniqueName.php#L44) is:
Array
(
[name1] => Employés
[anr] => 10
)
Array
(
[name2] => Employees
[anr] => 10
)
Array
(
[name3] => Mitarbeiter
[anr] => 10
)
Array
(
[name4] => Werknemers
[anr] => 10
)
from monarcappfo.
the test isValid() from UniqueName.php is called from:
https://github.com/monarc-project/zm-core/blob/master/src/MonarcCore/Service/ObjectExportService.php#L291 (line 175 in exchangeArray())
from monarcappfo.
In this case, as the integration method is "Fusion", items with the same name, should be overwritten, no ?
from monarcappfo.
If by "fusion" you mean "merge", yes.
My problem is that with the content I pasted just above, I don't see duplicates with 'Employees'.
from monarcappfo.
Right.
In this case, the object "Employees" has been created in two separated risk analysis. The name is the same, but not the internal reference number that is created by the system.
from monarcappfo.
Related Issues (20)
- [FrontOffice] Alternative to 2FA QR code HOT 1
- [FrontOffice] Add context info to the list of analysis panel
- [FrontOffice] Global dashboard max calculation error HOT 1
- Dockerize the setup of FrontOffice
- Problem installation
- Dockerize the setup of FrontOffice
- [BackOffice] Add version display in the UI
- Deployment maintenance functionality
- Primary assets disappears from asset library but are still linked in compositions and risk analysis
- PHP Parse error FileLocator.php
- The trashbin button to delete a risk on a specific asset does not work HOT 11
- [Front Office] Directly setting up the impacts in the risks view table
- [FrontOffice] Reset 2FA for instance users
- No error message when trying to create a FO administrator, who is already a FO user. HOT 1
- why it occurs?? HOT 2
- Console error after login (TypeError: Cannot read properties of undefined (reading '1')) HOT 6
- Upgrade from version 2.12.5 to 2.12.7-p4
- Reports not generated in the user's language (Portuguese)
- Portuguese Language
- Change from 27002:2013 to :2022 (default deployment)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monarcappfo.