You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (isset($this->_attributeKeyMap[$attributeKey])) {
460
+
if ($hasReservedPrefix) {
461
+
$this->_logger->log(
462
+
Logger::WARNING,
463
+
sprintf('Attribute %s unexpectedly has reserved prefix %s; using attribute ID instead of reserved attribute name.', $attributeKey, self::RESERVED_ATTRIBUTE_PREFIX)
464
+
);
465
+
}
466
+
439
467
return$this->_attributeKeyMap[$attributeKey];
440
468
}
441
469
470
+
if ($hasReservedPrefix) {
471
+
returnnewAttribute($attributeKey, $attributeKey);
472
+
}
473
+
442
474
$this->_logger->log(Logger::ERROR, sprintf('Attribute key "%s" is not in datafile.', $attributeKey));
443
475
$this->_errorHandler->handleError(newInvalidAttributeException('Provided attribute is not in datafile.'));
0 commit comments