Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- Fix form `path` for `tab` `container`

## [1.23.1] - 2025-11-20

- Fix `add` operations when a linked object already exists before the plugin container fields are created.
Expand Down
2 changes: 1 addition & 1 deletion templates/forms/tab_container.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="row flex-row">

{% if canedit %}
<form method='POST' class='mt-5' action='/plugins/fields/front/container.form.php'>
<form method='POST' class='mt-5' action='{{ path("/plugins/fields/front/container.form.php") }} '>
<input type="hidden" name="plugin_fields_containers_id" value="{{ c_id }}">
<input type="hidden" name="items_id" value="{{ item.getID() }}">
<input type="hidden" name="itemtype" value="{{ item.getType() }}">
Expand Down
2 changes: 1 addition & 1 deletion tests/QuestionTypeTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@

namespace GlpiPlugin\Field\Tests;

use DbTestCase;
use Glpi\Controller\Form\RendererController;
use Glpi\Form\Form;
use Glpi\Tests\DbTestCase;
use Glpi\Tests\FormTesterTrait;
use PluginFieldsContainer;
use PluginFieldsField;
Expand Down
2 changes: 1 addition & 1 deletion tests/Units/FieldDestinationFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
use Glpi\Form\Destination\FormDestinationProblem;
use Glpi\Form\Form;
use Glpi\Form\QuestionType\QuestionTypeShortText;
use Glpi\Tests\AbstractDestinationFieldTest;
use Glpi\Tests\FormBuilder;
use Glpi\Tests\FormTesterTrait;
use GlpiPlugin\Field\Tests\FieldTestTrait;
Expand All @@ -46,7 +47,6 @@
use PluginFieldsDestinationField;
use PluginFieldsQuestionType;
use Problem;
use tests\units\Glpi\Form\Destination\CommonITILField\AbstractDestinationFieldTest;
use Ticket;
use User;

Expand Down