Parcourir la source

Improve error message for missing class name id (#14643)

Change-Id: I71a96985fab62b648207393916566f3e1d757ad1
tags/7.4.0.beta1
Leif Åstrand il y a 9 ans
Parent
révision
38125ebc3b
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5
    1
      client/src/com/vaadin/client/ApplicationConfiguration.java

+ 5
- 1
client/src/com/vaadin/client/ApplicationConfiguration.java Voir le fichier

@@ -547,7 +547,11 @@ public class ApplicationConfiguration implements EntryPoint {

String getUnknownServerClassNameByTag(int tag) {
if (unknownComponents != null) {
return unknownComponents.get(tag);
String className = unknownComponents.get(tag);
if (className == null) {
className = "unknown class with id " + tag;
}
return className;
}
return null;
}

Chargement…
Annuler
Enregistrer