gbv / bartoc.org

Source code of BARTOC.org user interface
https://bartoc.org/
23 stars 10 forks source link

Error 422 when saving #65

Open amadeupons opened 3 years ago

amadeupons commented 3 years ago

This JSKOS record could not be saved:


{
  "ADDRESS": {
    "code": "08001",
    "country": "Spain",
    "locality": "Barcelona",
    "street": "Carme, 47"
  },
  "CONTACT": "scg@iec.cat",
  "FORMAT": [
    {
      "uri": "http://bartoc.org/en/Format/PDF"
    }
  ],
  "created": "2020-11-09T07:11:50.047Z",
  "creator": [
    {
      "prefLabel": {
        "en": "Amadeu Pons i Serra"
      },
      "uri": "https://coli-conc.gbv.de/login/users/4e9c6e1d-36b7-468f-89cf-8f7f0bf21be4"
    }
  ],
  "definition": {
    "en": [
      "Dictionary specialized on geography, in Catalan. "
    ],
    "und": [
      "Diccionari especialitzat en geografia, en català."
    ]
  },
  "extent": "4,000 terms (1998-04)",
  "languages": [
    "ca"
  ],
  "prefLabel": {
    "ca": "Aportació a la terminologia geogràfica catalana",
    "en": "Contribution to the Catalan geographical terminology"
  },
  "publisher": [
    {
      "prefLabel": {
        "en": "Institut d
nichtich commented 3 years ago

Thanks for the error report. Unfortunately I cannot easily spot the problem because the record is cut. Could you try to create the vocabulary by adding only some of the fields (e.g. title, languages, extent, abstract), save it and continue editing by addition of more and more details? I guess the bug is in one of the fields but I have to find out which.

amadeupons commented 3 years ago

Done!

If the field Subject is blank, the record is saved normally. But if I put something there, the error appears.

Something goes wrong with the Subject field.

Best wishes,


Amadeu Pons i Serra Facultat d'Informació i Mitjans Audiovisuals Melcior de Palau, 140 08014 Barcelona Tel. 93 403 57 82 http://www.ub.edu/biblio/ https://fbd.ub.edu/directori/ficha10



De: Jakob Voß notifications@github.com Enviat el: dilluns, 9 de novembre de 2020 10:37 Per a: gbv/bartoc.org bartoc.org@noreply.github.com A/c: Amadeu Pons i Serra pons@ub.edu; Author author@noreply.github.com Tema: Re: [gbv/bartoc.org] Error 422 when saving (#65)

Thanks for the error report. Unfortunately I cannot easily spot the problem because the record is cut. Could you try to create the vocabulary by adding only some of the fields (e.g. title, languages, extent, abstract), save it and continue editing by addition of more and more details? I guess the bug is in one of the fields but I have to find out which.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gbv/bartoc.org/issues/65#issuecomment-723892544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARV4ZSDZEW562HUIBD4JE4LSO6Z7PANCNFSM4TO6LHHA.

Aquest missatge, i els fitxers adjunts que hi pugui haver, pot contenir informació confidencial o protegida legalment i s’adreça exclusivament a la persona o entitat destinatària. Si no consteu com a destinatari final o no teniu l’encàrrec de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si l’heu rebut per error, informeu-ne el remitent i elimineu del sistema tant el missatge com els fitxers adjunts que hi pugui haver.

Este mensaje, y los ficheros adjuntos que pueda incluir, puede contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no consta como destinatario final ni es la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo o copiarlo, ni a revelar su contenido. Si lo ha recibido por error, informe de ello al remitente y elimine del sistema tanto el mensaje como los ficheros adjuntos que pueda contener.

This email message and any attachments it carries may contain confidential or legally protected material and are intended solely for the individual or organization to whom they are addressed. If you are not the intended recipient of this message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any part of it. If you have received the message by mistake, please inform the sender of this and eliminate the message and any attachments it carries from your account.