Page 1 of 1

Error while updating metadata info for some files in bulk

PostPosted:Wed May 08, 2019 11:09 am
by LauryMenton
Hello,

Please, I would like you to explain to me exactly what this error is, since I do not understand why is was causing an error but new metadata was correctly applied to all the docs I choosed. And, the error was not shown to all of the docs, just in some groups of them.

Image

If it helps, here you have the little change I made to one of the metadata groups before updating all the associated documents. Because I forgot to define it when I was thinking how to name it :cry:
Code: Select all
BEFORE
<select label="Address" name="okg:bill.x" type="simple">
AFTER
<select label="Address" name="okg:bill.address" type="simple">
Thank you.

Re: Error while updating metadata info for some files in bulk

PostPosted:Wed May 08, 2019 11:11 am
by LauryMenton
The error that OpenKM shows to me is really important? Because after checking the metadata of each file, they have been updated correctly.
Also, performing an advanced search using the edited metadata returns all of the associated documents.

Re: Error while updating metadata info for some files in bulk

PostPosted:Fri May 10, 2019 2:05 pm
by jllort
In case of a mistake in metadata definition, the best practice should be:
1- update xml definition from administration
2- update database field values ( current value -> https://docs.openkm.com/kcenter/view/ok ... properties )
3- Rebuild lucene indexes https://docs.openkm.com/kcenter/view/ok ... dexes.html