Update checklist
-
app/presenters/Admin/templates/Partials/tinymce.jsdoes not have{contentType javascript} -
Rewrite the old submit button from
$form->submittedto use the new$form->isSubmitted(). -
Missing
setRequired(true | false)=> must be filled in for each use of "addRule" -
Deprecated fce
array_key_exists()(for objects) -> in models replace withproperty_exists()and swap parameters-
regex:
array_key_exists\((.*?), (.*?)\) -
replace:
property_exists($2, $1)
-
- Deprecated
nl2brfilter -> add to config "- addFilter('nl2br', 'nl2br')" - Use tomaj/nette-bootstrap-form instead of bootstrap-3-renderer
- Somewhere is not checked via
isset()or!empty() - Rewrite old php code in latte:
{?...}=>{php...} - Old notation of the
|noescapefilter with!. Fix using:- regex:
\{\!(.*?)\} - replace:
{$1\|noescape} - Check if the filter is present somewhere 2x
- regex:
- With
$cookieVariantvariable (on Front in the layout)|noescapecan be broken - In the updated translation there is a wrong
vendor/symfony/translation/Translator.php/getLocale()(delete marked).png)
.png?1751050078336)
- "undefined variable $web"
- In the product preview the Description filter did not check if
$page['options]['properties']is not an empty array (see picture below) + some translations in db were missing (for now only commented (commit 2313e072) +PROPERTY_FRONT_COLOR_X_COLORI added from drevojnew) 