Bug #4695
closed
New Gateway creation in CBSubs 3.0 with CB 2.0 RC3 erros
Added by nant about 10 years ago.
Updated about 10 years ago.
Start date:
12 September 2014
Description
Install CBSubs 3.0 on CB 2.0 RC3 and try to create a new offline payment gateway.
You get:
Notice: Extended renderAllParams:showview: View editgatewayoffline not defined in XML. in /Users/nick/Documents/JOOMLAPOLIS/DEV/SITES/TEST1/libraries/CBLib/CBLib/AhaWow/View/RegistryEditView.php on line 2200
CB Paid Subscriptions is not compatible with your current CB version.
ERROR: missing the xml file /Users/nick/Documents/JOOMLAPOLIS/DEV/SITES/TEST1/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/offline/edit.gateway.xml ERROR: missing the xml file /Users/nick/Documents/JOOMLAPOLIS/DEV/SITES/TEST1/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/offline/edit.gateway.xml
It is due to this commit:
7334b2d1826d5213294f156e8858bf0c443d56d5
which was part of MR !348
and also (originating in this one:
1259bbfca757a405d5ea34f98d63a532e915e54e
- % Done changed from 0 to 100
- Estimated time set to 3:00 h
MR !475 fixes this: It Reverts 7334b2d1826d5213294f156e8858bf0c443d56d5 and 1259bbfca757a405d5ea34f98d63a532e915e54e: Fixing bug #4695: in functoin substitute(): Revert subfolder case to what it was.
Explanation:
CBSubs uses processor.offline as selector for gateway-type when creating a new gateway. and that should translate into folder processor/offline/ .
Commit 1259bbfca757a405d5ea34f98d63a532e915e54e broke that, and then the whole subfolder case treatment got removed in commit 7334b2d1826d5213294f156e8858bf0c443d56d5 .
First reversion-commit 604db619fe30a2c4310e01fcefadec26e4d4b147 reverts 7334b2d1826d5213294f156e8858bf0c443d56d5 to put back $subfolder parameter to substitute() function Second commit b8a2d799a6e21f88665847e8084b77a1f5cfa271 reverts the subfolder case that got added back by first reversion-commit to state before commit 1259bbfca757a405d5ea34f98d63a532e915e54e .
Of course needs careful review and full backend tests of CB 2.0 RC3 and CBSubs GPL 3.0.0.
- Status changed from Assigned to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF