OIDplus

www.oidplus.com

29
Posts
3
Members
0
Followers
Space menu
Profile picture of Melanie Wehowski

Melanie Wehowski

OIDplus · ·
Visible also to unregistered users
[Daniel Marschall](mention:c4643a4e-a401-42c4-93f0-25ec6e3697af "/u/daniel-marschall/") Wenn ich ein Object hinzufügen möchte (nicht über API) kommt eine Fehlermeldung (über den nicht gefundenen parent). Habe geändert OIDplusPagePublicObjects.class.php ``` // Determine absolute OID name // Note: At addString() and parse(), the syntax of the ID will be checked if ($params['id_fully_qualified'] ?? false) { $id =$objParent::ns().':'. $params['id']; //if (is_string($params['id_fully_qualified']) || false === $params['id_fully_qualified']) { // $id = false === $params['id_fully_qualified'] ? $params['id'] : $params['id_fully_qualified']; $obj = OIDplusObject::parse($id); $objParentTest = $objParent->isRoot() ? $objParent: $obj->getParent(); if (!$objParentTest || !$objParentTest->equals($objParent)) throw new OIDplusException(_L('Cannot verify that %1 has parent %2', $obj->nodeId(), $objParent->nodeId())); } else { $id = $objParent->addString($params['id']); $obj = OIDplusObject::parse($id); } if (!$obj) throw new OIDplusException(_L('%1 action failed because object "%2" cannot be parsed!','INSERT',$id)); ```

Loading...
![](https://cdn.frdl.de/language-icons@0.3.0/icons/en.svg =32x32) This website uses cookies from various providers. Please read our [privacy policy](https://startforum.de/legal/page/view?pageKey=privacy)! By continuing to use [Startforum.de](http://startforum.de/), you agree to our [terms of use](https://startforum.de/legal/page/view?pageKey=terms) and our [privacy policy](https://startforum.de/legal/page/view?pageKey=privacy) and consent to the use of cookies. ![](https://cdn.frdl.de/language-icons@0.3.0/icons/de.svg =32x32) Diese Internetseite verwendet Cookies verschiedener Anbieter. Bitte lesen Sie dazu unsere [Datenschutzerklärung](https://startforum.de/legal/page/view?pageKey=privacy)! Mit der weiteren Verwendung von [Startforum.de](http://startforum.de/) stimmen Sie unseren [Nutzungsbedingungen](https://startforum.de/legal/page/view?pageKey=terms) und unserer [Datenschutzerklärung](https://startforum.de/legal/page/view?pageKey=privacy) zu und willigen in die Verwendung von Cookies ein.