Good Morning guys, I think this is a bug. g.module_path variables are different in admin.mvc and merchant.mvc
Admin:
g.module_root = /mm5/5.00/
g.Module_Store_Module_Currency =
g.Store_Module_Currency = modules/currency/usmoney.mvc
Merchant:
g.module_root = /mm5/5.00/
g.Module_Store_Module_Currency = /mm5/5.00/modules/currency/usmoney.mvc
g.Store_Module_Currency = 1,5.00,usmoney,87,modules/currency/usmoney.mvc,US Currency Formatting,Miva Merchant,1,9.0000
I'm calling a function that contains [g.path].CurrencyModule_AddFormatting() in both the admin.mvc and merchant.mvc However, I am getting the following path error
Runtime error in .... MvDO: The specified path references a directory that does not exist.
For years I've been using [g.Module_Store_Module_Currency].CurrencyModule_AddFormatting( g.Store_Module_Currency, l.Shipping_Charge )
However, that variable is now empty in the admin. So I switched to [g.module_root $ g.Store_Module_Currency]. That fixed the admin but crashed in merchant where g.Store_Module_Currency now contains a structure.
Is this a bug? If so, what's the recommended workaround? I'd rather not fix this again after the next update.
Admin:
g.module_root = /mm5/5.00/
g.Module_Store_Module_Currency =
g.Store_Module_Currency = modules/currency/usmoney.mvc
Merchant:
g.module_root = /mm5/5.00/
g.Module_Store_Module_Currency = /mm5/5.00/modules/currency/usmoney.mvc
g.Store_Module_Currency = 1,5.00,usmoney,87,modules/currency/usmoney.mvc,US Currency Formatting,Miva Merchant,1,9.0000
I'm calling a function that contains [g.path].CurrencyModule_AddFormatting() in both the admin.mvc and merchant.mvc However, I am getting the following path error
Runtime error in .... MvDO: The specified path references a directory that does not exist.
For years I've been using [g.Module_Store_Module_Currency].CurrencyModule_AddFormatting( g.Store_Module_Currency, l.Shipping_Charge )
However, that variable is now empty in the admin. So I switched to [g.module_root $ g.Store_Module_Currency]. That fixed the admin but crashed in merchant where g.Store_Module_Currency now contains a structure.
Is this a bug? If so, what's the recommended workaround? I'd rather not fix this again after the next update.
Comment