Commit f13abdf3 authored by Kevin Robert's avatar Kevin Robert
Browse files

Correction de la génération d'uuid pour les références.

parent d6405ba4
......@@ -58,7 +58,7 @@ public abstract class Item implements ApiConvertible {
if (StringUtils.isBlank(this.reference)) {
final String uuid = UUID.randomUUID().toString();
// Le "-" risque de poser problème avec le SPEL.
this.reference = uuid.replace("-", StringUtils.EMPTY);
this.reference = "r" + uuid.replace("-", StringUtils.EMPTY);
}
ValidationUtils.validateReference(this.reference);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment