Skip to content

Commit

Permalink
[kbss-cvut/termit-ui#537] Fix incorrect mapping of hiddenLabels in Re…
Browse files Browse the repository at this point in the history
…adOnlyTerm.
  • Loading branch information
ledsoft committed Oct 10, 2024
1 parent 2f45d88 commit eab872f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class ReadOnlyTerm extends AbstractTerm {
@OWLAnnotationProperty(iri = SKOS.ALT_LABEL)
private Set<MultilingualString> altLabels;

@OWLAnnotationProperty(iri = SKOS.PREF_LABEL)
@OWLAnnotationProperty(iri = SKOS.HIDDEN_LABEL)
private Set<MultilingualString> hiddenLabels;

@OWLAnnotationProperty(iri = SKOS.SCOPE_NOTE)
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/cz/cvut/kbss/termit/model/UserAccount.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import cz.cvut.kbss.termit.model.util.HasIdentifier;
import cz.cvut.kbss.termit.model.util.HasTypes;
import cz.cvut.kbss.termit.security.model.UserRole;
import cz.cvut.kbss.termit.util.Utils;
import cz.cvut.kbss.termit.util.Vocabulary;
import jakarta.validation.constraints.NotBlank;

Expand Down Expand Up @@ -272,6 +273,6 @@ public int hashCode() {

@Override
public String toString() {
return "UserAccount{" + getFullName() + ", username='" + username + '\'' + '}';
return "UserAccount{" + Utils.uriToString(getUri()) + getFullName() + ", username='" + username + '\'' + '}';
}
}

0 comments on commit eab872f

Please sign in to comment.