[Dbix-class] Unmet DBIx::Class::Optional::Dependencies not fatal
Peter Rabbitson
rabbit+dbic at rabbit.us
Fri Apr 27 23:07:24 GMT 2018
On 04/26/2018 06:44 PM, James Gilbert wrote:
>
> Hi,
>
> I just upgraded my perl to 5.26.2, DBIx::Class 0.82.841
>
> My DBIx::Class code using an Oracle database then failed because it was making SQL where instead of a table alias, e.g. "display_status", was inserting the string "_SHORTEN_IDENTIFIER DISPLAY_STATUS".
>
> The "_shorten_identifer" method is in DBIx::Class::SQLMaker::Oracle. It appears that this BEGIN block:
>
> BEGIN {
> use DBIx::Class::Optional::Dependencies;
> die('The following extra modules are required for Oracle-based Storages ' . DBIx::Class::Optional::Dependencies->req_missing_for ('id_shortener') . "\n" )
> unless DBIx::Class::Optional::Dependencies->req_ok_for ('id_shortener');
> }
>
> at the top of DBIx::Class::SQLMaker::Oracle was not fatal
Thank you for the report! This is definitely something... unexpected.
Will investigate over the weekend.
Cheers!
More information about the DBIx-Class
mailing list