Closed dubmassacre closed 3 years ago
@dubmassacre : I cannot reproduce this behaviour any more in the current version? Do you still have this problem?
Tested 0.5.4 version on macos Catalina 10.15.7. Trying to create a new node with greek characters i get a 'SAVE FAILED' message and the following in terminal window.
92140 [qtp572746191-23] DEBUG org.segrada.servlet.SegradaMessageBodyReader - Loaded new entity for creation: {Node}*,
92140 [qtp572746191-23] DEBUG org.segrada.servlet.SegradaMessageBodyReader - Updated data of entity: {Node}*, Ελληνικά
92144 [qtp572746191-23] INFO org.hibernate.validator.internal.xml.ValidationXmlParser - HV000007: META-INF/validation.xml found. Parsing XML based configuration.
92188 [qtp572746191-23] ERROR org.segrada.service.repository.orientdb.base.AbstractOrientDbRepository - Exception thrown while saving entity.
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Thanks for the hint. There was a bug in the old sluggify solution. I added a solution which will fix this issue. The update is scheduled for the next release (v0.5.5).
Tested v0.5.5. No any issues.
It would be nice if segrada could support data entry in non-latin characters for entities.
Whenever user types a non-latin character string, save fails and receives a message:
System configuration: MacOS 10.14.6 Segrada 0.2.8