N°3190 - Edit n:n LinkedSetIndirect in object details using a tagset-like widget

- Add generic set block ui component
- Add model link set (direct and indirect) attribute (display style)
- Add model link set direct allowed values
- Create link set viewer block UI (BlockLinksSetDisplayAsProperty)
- Add set block ui factory for linkset
- Add object factory and create new endpoint in object controller (with data binder)
- Add link set model, link set repository and link set data transformer services
This commit is contained in:
bdalsass
2023-01-24 10:03:10 +01:00
committed by GitHub
parent 9482139b5a
commit fb1ceebaa4
55 changed files with 3948 additions and 234 deletions

View File

@@ -10,9 +10,10 @@ use AjaxPage;
use cmdbAbstractObject;
use Combodo\iTop\Application\UI\Base\Component\Form\FormUIBlockFactory;
use Combodo\iTop\Controller\AbstractController;
use Exception;
use JsonPage;
use CoreException;
use DBObject;
use JsonPage;
use MetaModel;
use UserRights;
use utils;
@@ -58,7 +59,7 @@ class LinkSetController extends AbstractController
$sErrorMessage = json_encode($oDeletionPlan->GetIssues());
}
}
catch (\Exception $e) {
catch (Exception $e) {
$sErrorMessage = $e->getMessage();
}
} else {
@@ -102,7 +103,7 @@ class LinkSetController extends AbstractController
$oLinkedObject->DBWrite();
$bOperationSuccess = true;
}
catch (\Exception $e) {
catch (Exception $e) {
$sErrorMessage = $e->getMessage();
}
} else {