Project

General

Profile

Actions

Bug #4695

closed

New Gateway creation in CBSubs 3.0 with CB 2.0 RC3 erros

Added by nant over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12 September 2014
Due date:
% Done:

100%

Estimated time:
3:00 h

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

Actions #1

Updated by beat over 9 years ago

It is due to this commit:
7334b2d1826d5213294f156e8858bf0c443d56d5
which was part of MR !348
and also (originating in this one:
1259bbfca757a405d5ea34f98d63a532e915e54e

Actions #2

Updated by beat over 9 years ago

  • % 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.

Actions #3

Updated by beat over 9 years ago

  • Status changed from Assigned to Resolved
Actions #4

Updated by beat over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF