Uploaded image for project: 'VIVO'
  1. VIVO
  2. VIVO-1947

i18n: Editing labels deletes all other labels in certain cases

    XMLWordPrintable

    Details

    • Attachments:
      4
    • Comments:
      3
    • Sprint:
      VIVO Sprint 12

      Description

      In some situations, editing a label seems to work by:
      1. Delete all existing labels, regardless of language context
      2. Add 'edited' label in current language context

      This isn't good!

      Triple situation prior to editing
      Using query

      PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
      SELECT *
      WHERE
      { GRAPH ?graph {
      <http://vivoweb.org/ontology#vitroClassGrouporganizations> rdfs:label ?label 
      }}
      

       

      is this:

      NOW EDIT (note that the german label is presented because this form seems to not care about language context)

       

      Result after editing:

      Triple situation after editing 

      uh oh. All the other contexts besides English have been deleted.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brianjlowe Brian Lowe
              Reporter:
              mbgross Benjamin Gross
              Reviewer:
              Benjamin Gross Benjamin Gross
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: