CleanUp Objects after change in Type

Hi,

i have an issue where I edit my “client”-Type and the cleanup did not go well.

I created this example for the report.

My “client-test”-Type consists of two “section templates”: “Hardwareinformation” and “Purchase” but i added the “responsible” field to the “Hardwareinformation”-Section (bug also if it’s a seperate section). I added some data to the “responsible”-field for demonstration.

In the next step I removed the “responsible” field and made a cleanup afterwards.

Now I have an object only shown the “Hardwareinformation”-section and the “Purchase”-Section is missing althoug it is still defined:

[
  {
    "type": "section",
    "name": "client-test-information",
    "label": "Hardwareinformation",
    "fields": [
      {
        "type": "text",
        "name": "text-c1e95037-a60b-4793-88e4-f1812b87b994",
        "label": "Name",
        "description": "DNS-Prefix, Hostname oder interne Inventarnummer"
      },
      {
        "type": "text",
        "name": "text-fb61430a-3df9-4483-85b5-c3d05a9ec14d",
        "label": "Hersteller",
        "description": "Firmenname des Herstellers Bspw. Dell, HP, Lenovo, Hitachi,..."
      },
      {
        "type": "text",
        "name": "text-c4e1d18f-e2cd-4990-9478-dcaef8b2d52f",
        "label": "Modell",
        "description": "Umgangssprachliche Bezeichnung des Gerätetyps. Nur gerätespezifische Produktnummer wenn keine Bezeichnung. Bspw. Probook 445 G11, UltraSharp U2719DC,..."
      },
      {
        "type": "text",
        "name": "text-51c07a51-0603-42c3-ac58-f388530996cf",
        "label": "Seriennummer"
      },
      {
        "type": "text",
        "name": "text-fa3f93b8-11b0-43f0-8a35-4c4679cd5f09",
        "label": "MAC-Adresse",
        "regex": "^([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}$",
        "description": "MAC-Adresse des Hauptinterfaces des Gerätes"
      },
      {
        "type": "textarea",
        "name": "client-test-comment",
        "label": "Kommentar"
      }
    ]
  },
  {
    "type": "section",
    "name": "client-test-purchase",
    "label": "Beschaffung",
    "fields": [
      {
        "type": "text",
        "name": "client-test-seller",
        "label": "Lieferrant",
        "description": "Firma bei der Bestellt wurde und die Rechnung schickt -> nicht LZBW und kein DHL, Hermes,..."
      },
      {
        "type": "text",
        "name": "client-test-invoicenumber",
        "label": "Rechnungsnummer",
        "description": "Eindeutige Nummer der Rechnung bestehend aus Buchstaben und Nummern."
      },
      {
        "type": "date",
        "name": "client-test-invoicedate",
        "label": "Rechnungsdatum",
        "description": "Datum der Rechnungsstellung."
      }
    ]
  }
]
           

Reloading the page and logout-login did not fix the view.

An also the edit-icons on top of the object-view are missing and the Object-Log is empty. There is definietly something broken with the object or the type class.

Hi @MichaelW ,

thanks for reporting the issue. We will try to reproduce the issue and will keep you updated here in this topic.

Sincerly,

Your DataGerry-Team

Hi @MichaelW ,

This issue has already been fixed and will be included in the next release.

sincerely,
Your DataGerry Team