Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Input.php on line 31

Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Cookie.php on line 21

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Uri/Uri.php on line 141
Issue Tracker Guide :: Trigger Entry

Deprecated: F0FInput implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/f0f/input/input.php on line 35

Deprecated: Joomla\CMS\Input\Files implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Files.php on line 21

Trigger Entry

Creating a trigger is performed by clicking upon the 'NEW' icon button in the Trigger list display. This would then display the figure below, which has a few fields which need to be completed. These are the table upon which the trigger is to be placed, the type of trigger required (BEFORE or AFTER), the operation to be monitored (INSERT, UPDATE or DELETE), and whether the trigger should be applied immediately after being created.

The trigger created at the end of this stage would be based upon 'ALL' of the columns that are in the selected table.

Figure 5.4. Trigger entry (creation)

Trigger entry (creation)

If the 'Save' icon button is pressed then the display is changed and a few additional fields are now available. The first of these is the 'Columns' field which has to be completed. It is this field where one selects the specific columns within the table that are to be monitored. The fields are selected from the drop down list and there is also the 'All' option if one wishes to retain the previously generated trigger upon all of the table columns. If the 'ALL' option is selected then any other selected fields are ignored.

If the 'Save and Close' button is pressed the Trigger list display is shown and the 'columns' entry indicates '(array) All'. If the entry is edited then it is necessary to explicitly select the 'All from the columns drop down list as described above otherwise an error message indicating that the column must be specified is displayed..

[Note]Note

By design it is not possible to edit the generated trigger text.

After supplying the required columns when the save button is pressed the trigger text is regenerated with the new selection.

Figure 5.5. Trigger entry (after save)

Trigger entry (after save)

Note the entries in the 'columns' field when populated with desired values as shown in the figure below.

Figure 5.6. Trigger entry (edit columns)

Trigger entry (edit columns)

When saved the selected columns field would be shown in the Triggers List as indicated in the figure below.

Figure 5.7. Columns field in the Triggers list display

Columns field in the Triggers list display.

The above is an example for a small selection of fields, which are stored in the table in JSON format.

[Important]Important

The feature does not have any ability to incorporate the contents of any existing trigger upon the Issue Tracker database table. This restriction should not provide a problem for most systems. The reason is that the Issue Tracker component is controlled by ourselves and any other trigger that might exist upon the table are almost certainly a 'site modified' change, and thus not supportable by ourselves.

Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries