These are chat archives for collectiveaccess/support

15th
Aug 2018
vivekpulukuri
@vivekpulukuri
Aug 15 2018 01:51
Hi i am trying to build a screen where i can 'select parent' for the new record from hierarchy_in_location bundle rather than creating a new child record from the hierarchy. SI this possible
naeemmuhammad
@naeemmuhammad
Aug 15 2018 07:42
@juliaweist no i cannot.
Julia
@juliaweist
Aug 15 2018 13:46
@sheggen can you make a JIRA for the bug? and can you upload your import mapping and data sample?
@vivekpulukuri This can be done via the Move tab of the hierarchy browser (hierarchy_location bundle)
Julia
@juliaweist
Aug 15 2018 13:59
@naeemmuhammad it's very hard to say without seeing your set up. I've tested this and it works as expected in 1.7.6.
Julia
@juliaweist
Aug 15 2018 15:06
so in this example 18682 is the idno of the object lot you want to merge with?
sheggen
@sheggen
Aug 15 2018 15:07
Yeah
FYI - JIRA bug was added.
Julia
@juliaweist
Aug 15 2018 15:48
@sheggen your mapping worked perfectly for me in 1.7.6. The import data merged with the existing record which received additional data (i.e. date) and no additional records were created.
make sure that the values match exactly---obviously the idno but also the type_id
if the type_id is different it will create a new record
sheggen
@sheggen
Aug 15 2018 16:40
Hmm. Same data source as the original import, but it was a different importer mapping. I'll investigate and make sure they match. Thanks again for your help.
Not sure if this gives you any more insight, but here's a sample of what is returned in the log.
sheggen
@sheggen
Aug 15 2018 16:50
I think I see the problem; there's bad data in my source.
sterlingjenson
@sterlingjenson
Aug 15 2018 19:22
On a somewhat related note, I'm wondering if some of the problems I have had with ElasticSearch has been bad data in the mysql database.
I've gone so far to as to try to set up an Arch Linux server to play around with the files.
Could anyone point me in the direction of articles on how to look for bad data within a mysql database?
sterlingjenson
@sterlingjenson
Aug 15 2018 19:30
the reason for this thought is that the reindexing works up until about the same spot in the numbering sequence