cancel
Showing results for 
Search instead for 
Did you mean: 

migration to 2211 addon

stefaniaZ
Participant
0 Kudos

Good morning,

I migrate to sapcommerce 2211.

First question.

Is there the documentation for migration? I find documentation for migration to 2205 ( https://help.sap.com/docs/SAP_COMMERCE/a74589c3a81a4a95bf51d87258c0ab15/8be8ff7d866910149618f66c130d... ), but I do not find anything for 2211.

Second question

I have problem with addon, I have this error

 Ambiguous mapping. Cannot map 'myCheckoutStepController' method 
package.controllers.pages.MyCheckoutStepController#placeOrder(PlaceOrderForm, Model, RedirectAttributes)
to {POST [placeOrder]}: There is already 'myCheckoutStepController' bean method<br>
I do not have duble same controller (before migration it working). This controller is in my personal addon and seems that it is called two time.Could you help me please.

Edit:

Is there the way for undestant if addon si called or installed two time?

Thanks.Stefania

Hello Stefania,

you find the upgrade information for 2211 here:

https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bbcd2978537e4ae298479557c0b8fdbd/7e9a9b4b9...

Please note that SAP_COMMERCE contains only the old documentation for onPremise until 2205.
Public Cloud documentation is available for SAP_COMMERCE_CLOUD_PUBLIC_CLOUD which contains also release 2211.

0 Kudos

According to 'There is already myCheckoutStepController' bean method: Do you've already tried "ant clean all"?

stefaniaZ
Participant
0 Kudos

hi andreasmaier ,

Yes , I always make ant clean all.

Now I try change /placeorder to //placeOrderTest , and I do not have same error.

Stefania

Accepted Solutions (0)

Answers (1)

Answers (1)

stefaniaZ
Participant
0 Kudos

Hello,

my class is this:

@Controller
@RequestMapping(value = "/test/checkout/multi/summary")
public class MyCheckoutStepController extends SummaryCheckoutStepController
{ ..... @RequestMapping(value = "/placeOrder", method = RequestMethod.POST) ... }
If I change in this way the problem do not exist
@Controller
@RequestMapping(value = "/test/checkout/multi/summary")
public class MyCheckoutStepController extends SummaryCheckoutStepController
{ ..... @RequestMapping(value = "/placeOrderTest", method = RequestMethod.POST) ... }
If change in this way the problem persist
@Controller
@RequestMapping(value = "/test/checkout/multi/summaryTest")
public class MyCheckoutStepController extends SummaryCheckoutStepController
{ ..... @RequestMapping(value = "/placeOrder", method = RequestMethod.POST) ... }
If I change in this way the problem persist
@Controller
@RequestMapping(value = "/test/checkout/multi/summary")
public class MyCheckoutStepControllerTest extends SummaryCheckoutStepController
{ ..... @RequestMapping(value = "/placeOrder", method = RequestMethod.POST) ... }
Do you have any idea?ThanksStefania