Review main Merged

2905[BUGFIX] Use t3lib_cache_frontend_VariableFrontend as fallback frontend

Xavier Perseguers CR +2 V +2 Easy +1 −0 updated 06/03/13, 20:49

Commit message

According to wiki documentation, integrators are told to define both
'frontend' and 'backend' in their caching configuration.

This hardly makes sense as the frontend input format is the responsibility
of the extension developer, not the integrator and should not be forced
to be defined. Instead, it should fallback to the VariableFrontend if not
explicitly set.

Without fallback, t3lib_div::makeInstance() is called with an empty
class name which throws an exception when instantiated using reflection.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1