Skip to content

Commit

Permalink
Issue #1795: advise against using colons
Browse files Browse the repository at this point in the history
as custom code identifiers.
  • Loading branch information
bschmalhofer committed May 28, 2022
1 parent 7dc9ac4 commit f1527f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Kernel/System/UnitTest/Helper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,9 @@ Also note that the deployed custom code is only executed when a new instance of
is created. This is done for every web request. But within a test script you must discard the
config object, so that the object manager has the recreate it.
It is advised that no fancy characters, like B<:>, are used in the identifier. Using B<:> in keys
has caused errors when running with an S3 compatible storage in the backend.
$Helper->CustomCodeActivate(
Code => q^
sub Kernel::Config::Files::ZZZZUnitTestNews::Load {} # no-op, avoid warning logs
Expand Down

0 comments on commit f1527f0

Please sign in to comment.