Gitify icon indicating copy to clipboard operation
Gitify copied to clipboard

Unable to use other table prefix than "modx_"

Open hugopeek opened this issue 9 years ago • 1 comments

I have a custom table in a database with the prefix "hs_" instead of "modx_". When trying to extract this, I get the following error:

Extracting Services into services (0 records)...
[2016-08-22 08:37:38] (ERROR @ /www/core/xpdo/om/xpdoobject.class.php : 240) Error 42S02 executing statement: 
Array
(
    [0] => 42S02
    [1] => 1146
    [2] => Table 'instance_c0379_modx.modx_services' doesn't exist
)

Can I tell Gitify somehow that the prefix is different for this table?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

hugopeek avatar Aug 22 '16 13:08 hugopeek

[aside]I wouldn't recommend using a package prefix like that...[/aside]

When Gitify calls $modx->addPackage it doesn't currently have a way to know if you used a different prefix. That'll probably need a new option.

Mark-H avatar Aug 22 '16 13:08 Mark-H