Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Personas 3.0: Migrated flavors are not working (this.lock is not a function)

Former Member
0 Kudos

Hi,

we have some troubles with migrated flavors in Personas 3.0.

If we are selecting the flavor from the flavor menu, the loading cycle is running endless. The javascript console in Chrome browser shows a red error message:

Utils.js:136: Uncaught TypeError: this.lock is not a function

This following code at line 12. caused this error.


jQuery.sap.declare("sap.personas.fw.its.Facade");

sap.ui.base.EventProvider.extend("sap.personas.fw.its.Facade", {

    constructor: function(oWindow) {

     ...

        this.CommManager.processUpdatesWithParams = function(sParams) {

            this.delayedRefreshHandle = null;

            if (!this.cancelSubmit()) {

                if (0 == this.oBatch.length) {

                    _self.fireEvent(in_event);

                    return;

                }

                sap.its.communication ? sap.its.communication.lock() : this.lock();

                var aBatch = this.oIts._action + "batch/json";

                var aURL = oSAPSecu.URLAppendToken(aBatch + (sParams || "?~RG_WEBGUI=X"));

                this.oReq = new XMLHttpRequest();

                this.oReq.open("POST", aURL, true);

                this.oReq.onreadystatechange = this.processBatch;

                this.oReq.send(JSON.stringify(this.oBatch));

            }

            this.clearBatch();

        };

    },

  ...

});

Here are some informations about our Personas 3.0 from health check tool:

PERSONASLevel0000
PERSONASPackage
Kernelkernel release742
Kernelkernel patch level113

We have implemented all notes from note 2050325.

The migration worked some month before without any problems.

I tryed the migration on some other flavors with the same error message as result.

We are looking forward for your help!

Thanks and kind regards,

Christian

1 ACCEPTED SOLUTION

0 Kudos

hello Christian,

You should update you kernel patch level to the latest.

there were some important fixes made recently. If after upgrading kernel patch , issue remains, then please open a message with us.

Regards,

Sushant

4 REPLIES 4

0 Kudos

hello Christian,

You should update you kernel patch level to the latest.

there were some important fixes made recently. If after upgrading kernel patch , issue remains, then please open a message with us.

Regards,

Sushant

0 Kudos

Hi Sushant,

thanks for your reply.

Where can I find the latest kernel patch level?

Is kernel patch level 113 not the newest one for release 742?

Regards,

Christian

0 Kudos


Nops. I think service market place has kernel patch 121 right now.

You have to look for disp+work package.

Please read the section "Exchanging the kernel" in the link below:

Pre and post installation Checklist - SAP Imagineering - SCN Wiki

Best Regards,

Sushant

0 Kudos

The kernel patch upgrade to level 121 fixed our problems.