Warning: session_start(): open(/var/lib/php/sessions/sess_3j31ctb5o77rc78lcoo23ua6bc, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static void smartSet(Field f, O o, O value) throws Exception {
f.setAccessible(true);
// take care of common case (long to int)
if (f.getType() == int.class && value instanceof Long)
value = ((Long) value).intValue();
try {
f.set(o, value);
} catch (Exception e) {
ifclass Concept
try {
if (f.getType() == Concept.Ref.class) {
f.set(o, ((Concept) o).new Ref((Concept) value));
ret;
}
if (o instanceof Concept.Ref) {
f.set(o, ((Concept.Ref) o).get());
ret;
}
} catch {}
endif
throw e;
}
}