1. 02 Nov, 2020 2 commits
    • Merlijn Wajer's avatar
      metadata: remove entries with no value · 13bf6707
      Merlijn Wajer authored
      When we encountered items with no value set at all, like so:
      Our code tripped when writing the metadata back to _meta.xml format;
      because the entry got the value None in Python. Petabox team suggested
      to just drop the entry, causing it to be done after the metadata is
      writtne back to the item.
      Hank wrote:
      > yeah, that’s an empty value (same as <lcamid></lcamid>); i would also be fine with just dropping them when encountered—i think some of our tools may do that.
      Jim wrote:
      > I would just treat it as though it wasn’t set.  I think MDAPI will drop a metadata key if the value is empty, perhaps this was added through some other mechanism.
    • Merlijn Wajer's avatar
  2. 24 Oct, 2020 7 commits