on 2018 Mar 19 11:30 AM - last edited on 2024 Feb 04 4:59 AM by postmig_api_4
Hello,
The documentation has this to say about updating metadata in DataHub 6.2: https://help.hybris.com/6.2.0/hcd/f7f29f92d8314a5f870fea281eb220fc.html see the section: AutoInitMode and Metadata
"The loading of metadata is independent of the autoInitMode setting. Any new or changed metadata is always loaded when starting up Data Hub, even in ignore or update modes."
This does not happen though. I have a production system in kernel.autoInitMode=update and I need to change the value of targetSystem -> targetItems -> item -> attribute -> exportCode
I rebuild and restart data hub, but the value of exportCode remain the same. Checked both the generated impex and the DB itself in the table TargetAttrDef. On the test system the update only happened when I restarted datahub in create-drop mode. This is not an option for production as all data will be lost.
Any workaround to this bug? How do I update the metadata without losing data?
UPDATE: Tried to change the attribute name, it got even worse, now I see the new attribute with its updated value in the DB, but the old attribute is still there as well. And they both have the same targetitemmetadata value. As a result now this item publication is not working at all.
Request clarification before answering.
After deleting the duplicated targetitemmetadata value rows in TargetAttrDef it now works.
Judging from this experience, I wouldn't say datahub is a serious enterprise product yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.