ServiceController: do not pass object type...
...when looking up uuid for legacy key refs #2487 refs #2554
This commit is contained in:
parent
aacfd88df5
commit
4c502bb010
|
@ -250,7 +250,8 @@ class ServiceController extends ObjectController
|
|||
}
|
||||
|
||||
$key = $this->getLegacyKey();
|
||||
$uuid = UuidLookup::findServiceUuid($this->db(), $this->getBranch(), 'object', $key, $this->host, $this->set);
|
||||
// Hint: not passing 'object' as type, we still have name-based links in previews and similar
|
||||
$uuid = UuidLookup::findServiceUuid($this->db(), $this->getBranch(), null, $key, $this->host, $this->set);
|
||||
$this->params->set('uuid', $uuid->toString());
|
||||
parent::loadObject();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue