Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bug: Hard-coded table prefix values

#904

There's a few places in the e-commerce module where we use a hard-coded exponent_ as the DB prefix value. This should probably be replaced with DB_TABLE_PREFIX.

This causes the re-ordering of products by rank to not work if a different DB prefix is used, and possibly a few other things.

Files affected are storeCategoryController.php and storeController.php

Reported by Kelvin Lomberg · February 6th, 2013 @ 01:54 AM

State: resolved
Milestone: 2.1.2
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • State changed from new to resolved
    • Assigned user changed from expNinja to dleffler
    • Milestone set to 2.1.2

    (from [264e9f07a877d9a4b75ed63cfac3c42f24e4eaac]) Should replace all hard-coded table prefix values with using the system constant (in case it isn't 'exponent_') [#904 Bug: Hard-coded table prefix values state:resolved responsible:dleffler milestone:2.1.2] https://github.com/exponentcms/exponent-cms/commit/264e9f07a877d9a4...

    February 6th, 2013 @ 04:24 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.