Parent item CGT3SZI7 cannot be a child item

edited August 6, 2021
Debug ID:D154942330
Report ID:429638578
  • It looks like you somehow ended up with a linked-URL attachment that's a child of another attachment — possibly from something one of your plugins did.

    Go to the library root and search for WFFFXUUA in All Fields & Tags mode, delete the attachment that shows up, and empty the trash.

    If you can figure out steps to reproduce this with a new item, let us know.
  • Sorry,,I replied to you but it didn't go out, should I search for what now ?
  • You’ll need to follow my instructions above, using the 8-character item key you’re seeing now.
  • I can't find WFFFXUUA,the screenshot of Zotero is https://gitee.com/sxjm/figurebed/raw/master/img/202108171405500.png
    , and the screenshot of File Browser is
    https://gitee.com/sxjm/figurebed/raw/master/img/202108171409829.png
    ,so Are you sure it's still WFFFXUUA??
  • As I say, it has to be the item key you're seeing now in the error message. Whatever caused this — probably a plugin — may have affected multiple items.
  • edited August 17, 2021
    The item key I'm seeing now is AVQNZ99L, but I can't find it, too.,the screenshot of Zotero is
    https://gitee.com/sxjm/figurebed/raw/master/img/202108171520213.png
    , and the screenshot of File Browser is
    https://gitee.com/sxjm/figurebed/raw/master/img/202108171521438.png
    ,Did I do something wrong?
  • Is the search bar in All Fields & Tags mode?
  • edited August 17, 2021
    Oh, thanks, I found it via search bar in All Fields & Tags mode,
    https://gitee.com/sxjm/figurebed/raw/master/img/202108171535418.png
    But I still don't understand which file is the real problem, cloud you help me?
    The four child items from top to bottom are notes, html files, and two web Web page links.
  • The matching item is the one in black, not gray — the note in this case. That's the parent item. Another item, HJWJU3C8, is the linked-URL attachment that's somehow set as a child of the note, which shouldn't be possible. Same for EUE5GJ7K being a child of 6FFMBRE3. (The linked-URL attachments may not show up when you search for them, because they're not supposed to exist in that state.)

    If you check your database integrity from the Advanced → Files and Folders pane of the Zotero preferences, it should offer to fix your database, and it should turn these invalid child attachments into standalone attachments that you can delete or move to an appropriate parent item.

    If you have any idea how this happened — again, probably from some plugin you have installed — we'd be interested to know.
  • edited August 17, 2021
    Thank you. I did eliminate the exclamation mark through the data integrity check. The reason for this problem is probably that, as you described, when I inserted the link to the parent item, I selected not the parent item but the note, so I made an error when inserting the link. Another error may be that the link 6FFMBRE3 was selected when inserting the link, and it is true that the button to add attachments will be grayed out so that it cannot be realized by ordinary operation. But I am a shortcut insert link through the shortcut key function of Zutilo. As shown in the following picture, the shortcut key is Alt + U
    https://gitee.com/sxjm/figurebed/raw/master/img/202108171955941.png
    The figure below shows all the plug-ins I have installed.
    https://gitee.com/sxjm/figurebed/raw/master/img/202108171946898.png
  • OK, yeah, Zotero didn't used to prevent setting a note or attachment as the parent item of an attachment (since it's not something Zotero itself ever does), but we fixed that in February of this year, so in current Zotero versions that Zutilo option doesn't do anything other than log an error.
  • Ok, thanks!
Sign In or Register to comment.