Magento2 : Data Not saving in Custom TableCreate custom category attribute - Changes not savingJoining Custom flat table with EAV table not WorkingCustom module not saving to Databasemagento2 saving data via observerImport custom csv to custom table with entity_id not savingCustom Attribute is not saving data in databaseI have created an extension to show Customer Company Name in Order grid. But when creating new order, order is not showing in order gridmagento2 : copy sales_order table custom data to sales_order_gridI have created one field using product form field for my price i want save my field value at product creation time from backend magento2Saving Form Data to Custom Table Magento2
The monorail explodes before I can get on it
How to memorize multiple pieces?
How do you glue a text to a point?
Why does it output Integers instead of letters?
Integer Lists of Noah
How to tell someone I'd like to become friends without causing them to them think I'm romantically interested in them?
Misspelling my name on my mathematical publications
What explains 9 speed cassettes price differences?
Cracking the Coding Interview — 1.5 One Away
How can a dictatorship government be beneficial to a dictator in a post-scarcity society?
Would dual wielding daggers be a viable choice for a covert bodyguard?
What is the job of the acoustic cavities inside the main combustion chamber?
Does Lufthansa weigh your carry on luggage?
How to wire 3 hots / 3 neutrals into this new TR outlet with 2 screws?
Do you know your 'KVZ's?
RPI3B+: What are the four components below the HDMI connector called?
Are neural networks prone to catastrophic forgetting?
Has anyone in space seen or photographed a simple laser pointer from Earth?
Why do players in the past play much longer tournaments than today's top players?
Using Newton's shell theorem to accelerate a spaceship
Print the last, middle and first character of your code
How would my creatures handle groups without a strong concept of numbers?
QGIS Zanzibar how to crop?
Should disabled buttons give feedback when clicked?
Magento2 : Data Not saving in Custom Table
Create custom category attribute - Changes not savingJoining Custom flat table with EAV table not WorkingCustom module not saving to Databasemagento2 saving data via observerImport custom csv to custom table with entity_id not savingCustom Attribute is not saving data in databaseI have created an extension to show Customer Company Name in Order grid. But when creating new order, order is not showing in order gridmagento2 : copy sales_order table custom data to sales_order_gridI have created one field using product form field for my price i want save my field value at product creation time from backend magento2Saving Form Data to Custom Table Magento2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have created a custom module and trying to save data but not saved data into custom_table
. I don't know why? I compared same code with my previous Modules Everything is same.
Here is my installSchema.php
public function install(MagentoFrameworkSetupSchemaSetupInterface $setup, MagentoFrameworkSetupModuleContextInterface $context)
$installer = $setup;
$installer->startSetup();
if (!$installer->tableExists('table_name'))
$table = $installer->getConnection()->newTable(
$installer->getTable('table_name')
)->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'primary' => true,
'nullable' => false,
'unsigned' => false,
],
'Missing Order ID'
)->addColumn(
'entity_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Qoute ID'
)->addColumn(
'reserved_order_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Reserved Order ID'
)->addColumn(
'customer_email',
MagentoFrameworkDBDdlTable::TYPE_TEXT,
100,
[
'nullable' => false,
],
'Costumer Email'
)->addColumn(
'created_at',
MagentoFrameworkDBDdlTable::TYPE_DATE,
null,
[
'nullable' => false,
],
'Order Date'
)->addColumn(
'base_grand_total',
MagentoFrameworkDBDdlTable::TYPE_DECIMAL,
null,
[
'nullable' => false,
],
'Grand Total'
)->setComment('Missing Orders');
$installer->getConnection()->createTable($table);
$installer->endSetup();
here is my code to save data
public function execute(Observer $observer)
$orderIds = $observer->getEvent()->getOrderIds();
$order = $this->orderFactory->create()->load($orderIds[0]);
$quote = $this->_quoteFactory->create()->load($order->getQuoteId());
$order = null;
if (empty($order))
try
$rowData = $this->_missingOrdersFactory->create();
$rowData->setEntityId($quote->getEntityId());
$rowData->setReservedOrderId($quote->getReservedOrderId());
$rowData->setCustomerEmail($quote->getCustomerEmail());
$rowData->setCreatedAt($quote->getCreatedAt());
$rowData->setBaseGrandTotal($quote->getBaseGrandTotal());
$rowData->save();
echo "<pre>";
print_r($rowData->getData());
exit;
catch (Exception $e)
echo $e->getMessage();
print_r($rowData->getDdata) is returning me
Array
(
[entity_id] => 200
[reserved_order_id] => 000000168
[customer_email] => waqarcui@gmail.com
[created_at] => 2019-07-03 04:29:03
[base_grand_total] => 105.0000
)
Thanks.
magento2 database custom
add a comment |
I have created a custom module and trying to save data but not saved data into custom_table
. I don't know why? I compared same code with my previous Modules Everything is same.
Here is my installSchema.php
public function install(MagentoFrameworkSetupSchemaSetupInterface $setup, MagentoFrameworkSetupModuleContextInterface $context)
$installer = $setup;
$installer->startSetup();
if (!$installer->tableExists('table_name'))
$table = $installer->getConnection()->newTable(
$installer->getTable('table_name')
)->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'primary' => true,
'nullable' => false,
'unsigned' => false,
],
'Missing Order ID'
)->addColumn(
'entity_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Qoute ID'
)->addColumn(
'reserved_order_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Reserved Order ID'
)->addColumn(
'customer_email',
MagentoFrameworkDBDdlTable::TYPE_TEXT,
100,
[
'nullable' => false,
],
'Costumer Email'
)->addColumn(
'created_at',
MagentoFrameworkDBDdlTable::TYPE_DATE,
null,
[
'nullable' => false,
],
'Order Date'
)->addColumn(
'base_grand_total',
MagentoFrameworkDBDdlTable::TYPE_DECIMAL,
null,
[
'nullable' => false,
],
'Grand Total'
)->setComment('Missing Orders');
$installer->getConnection()->createTable($table);
$installer->endSetup();
here is my code to save data
public function execute(Observer $observer)
$orderIds = $observer->getEvent()->getOrderIds();
$order = $this->orderFactory->create()->load($orderIds[0]);
$quote = $this->_quoteFactory->create()->load($order->getQuoteId());
$order = null;
if (empty($order))
try
$rowData = $this->_missingOrdersFactory->create();
$rowData->setEntityId($quote->getEntityId());
$rowData->setReservedOrderId($quote->getReservedOrderId());
$rowData->setCustomerEmail($quote->getCustomerEmail());
$rowData->setCreatedAt($quote->getCreatedAt());
$rowData->setBaseGrandTotal($quote->getBaseGrandTotal());
$rowData->save();
echo "<pre>";
print_r($rowData->getData());
exit;
catch (Exception $e)
echo $e->getMessage();
print_r($rowData->getDdata) is returning me
Array
(
[entity_id] => 200
[reserved_order_id] => 000000168
[customer_email] => waqarcui@gmail.com
[created_at] => 2019-07-03 04:29:03
[base_grand_total] => 105.0000
)
Thanks.
magento2 database custom
Can you please make sure that you are getting empty $order?
– poojan sharma
Jul 3 at 4:43
yes my code interrupts at exit() it means if condtion is true
– Waqar Ali
Jul 3 at 4:44
Did you do cache flush?
– Nasir Perwaiz
Jul 3 at 4:55
yes i really did this
– Waqar Ali
Jul 3 at 4:58
add a comment |
I have created a custom module and trying to save data but not saved data into custom_table
. I don't know why? I compared same code with my previous Modules Everything is same.
Here is my installSchema.php
public function install(MagentoFrameworkSetupSchemaSetupInterface $setup, MagentoFrameworkSetupModuleContextInterface $context)
$installer = $setup;
$installer->startSetup();
if (!$installer->tableExists('table_name'))
$table = $installer->getConnection()->newTable(
$installer->getTable('table_name')
)->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'primary' => true,
'nullable' => false,
'unsigned' => false,
],
'Missing Order ID'
)->addColumn(
'entity_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Qoute ID'
)->addColumn(
'reserved_order_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Reserved Order ID'
)->addColumn(
'customer_email',
MagentoFrameworkDBDdlTable::TYPE_TEXT,
100,
[
'nullable' => false,
],
'Costumer Email'
)->addColumn(
'created_at',
MagentoFrameworkDBDdlTable::TYPE_DATE,
null,
[
'nullable' => false,
],
'Order Date'
)->addColumn(
'base_grand_total',
MagentoFrameworkDBDdlTable::TYPE_DECIMAL,
null,
[
'nullable' => false,
],
'Grand Total'
)->setComment('Missing Orders');
$installer->getConnection()->createTable($table);
$installer->endSetup();
here is my code to save data
public function execute(Observer $observer)
$orderIds = $observer->getEvent()->getOrderIds();
$order = $this->orderFactory->create()->load($orderIds[0]);
$quote = $this->_quoteFactory->create()->load($order->getQuoteId());
$order = null;
if (empty($order))
try
$rowData = $this->_missingOrdersFactory->create();
$rowData->setEntityId($quote->getEntityId());
$rowData->setReservedOrderId($quote->getReservedOrderId());
$rowData->setCustomerEmail($quote->getCustomerEmail());
$rowData->setCreatedAt($quote->getCreatedAt());
$rowData->setBaseGrandTotal($quote->getBaseGrandTotal());
$rowData->save();
echo "<pre>";
print_r($rowData->getData());
exit;
catch (Exception $e)
echo $e->getMessage();
print_r($rowData->getDdata) is returning me
Array
(
[entity_id] => 200
[reserved_order_id] => 000000168
[customer_email] => waqarcui@gmail.com
[created_at] => 2019-07-03 04:29:03
[base_grand_total] => 105.0000
)
Thanks.
magento2 database custom
I have created a custom module and trying to save data but not saved data into custom_table
. I don't know why? I compared same code with my previous Modules Everything is same.
Here is my installSchema.php
public function install(MagentoFrameworkSetupSchemaSetupInterface $setup, MagentoFrameworkSetupModuleContextInterface $context)
$installer = $setup;
$installer->startSetup();
if (!$installer->tableExists('table_name'))
$table = $installer->getConnection()->newTable(
$installer->getTable('table_name')
)->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'primary' => true,
'nullable' => false,
'unsigned' => false,
],
'Missing Order ID'
)->addColumn(
'entity_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Qoute ID'
)->addColumn(
'reserved_order_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'nullable' => false,
'unsigned' => false,
],
'Reserved Order ID'
)->addColumn(
'customer_email',
MagentoFrameworkDBDdlTable::TYPE_TEXT,
100,
[
'nullable' => false,
],
'Costumer Email'
)->addColumn(
'created_at',
MagentoFrameworkDBDdlTable::TYPE_DATE,
null,
[
'nullable' => false,
],
'Order Date'
)->addColumn(
'base_grand_total',
MagentoFrameworkDBDdlTable::TYPE_DECIMAL,
null,
[
'nullable' => false,
],
'Grand Total'
)->setComment('Missing Orders');
$installer->getConnection()->createTable($table);
$installer->endSetup();
here is my code to save data
public function execute(Observer $observer)
$orderIds = $observer->getEvent()->getOrderIds();
$order = $this->orderFactory->create()->load($orderIds[0]);
$quote = $this->_quoteFactory->create()->load($order->getQuoteId());
$order = null;
if (empty($order))
try
$rowData = $this->_missingOrdersFactory->create();
$rowData->setEntityId($quote->getEntityId());
$rowData->setReservedOrderId($quote->getReservedOrderId());
$rowData->setCustomerEmail($quote->getCustomerEmail());
$rowData->setCreatedAt($quote->getCreatedAt());
$rowData->setBaseGrandTotal($quote->getBaseGrandTotal());
$rowData->save();
echo "<pre>";
print_r($rowData->getData());
exit;
catch (Exception $e)
echo $e->getMessage();
print_r($rowData->getDdata) is returning me
Array
(
[entity_id] => 200
[reserved_order_id] => 000000168
[customer_email] => waqarcui@gmail.com
[created_at] => 2019-07-03 04:29:03
[base_grand_total] => 105.0000
)
Thanks.
magento2 database custom
magento2 database custom
edited Jul 3 at 5:16
Sarfaraj Sipai
5231 gold badge7 silver badges20 bronze badges
5231 gold badge7 silver badges20 bronze badges
asked Jul 3 at 4:39
Waqar AliWaqar Ali
13713 bronze badges
13713 bronze badges
Can you please make sure that you are getting empty $order?
– poojan sharma
Jul 3 at 4:43
yes my code interrupts at exit() it means if condtion is true
– Waqar Ali
Jul 3 at 4:44
Did you do cache flush?
– Nasir Perwaiz
Jul 3 at 4:55
yes i really did this
– Waqar Ali
Jul 3 at 4:58
add a comment |
Can you please make sure that you are getting empty $order?
– poojan sharma
Jul 3 at 4:43
yes my code interrupts at exit() it means if condtion is true
– Waqar Ali
Jul 3 at 4:44
Did you do cache flush?
– Nasir Perwaiz
Jul 3 at 4:55
yes i really did this
– Waqar Ali
Jul 3 at 4:58
Can you please make sure that you are getting empty $order?
– poojan sharma
Jul 3 at 4:43
Can you please make sure that you are getting empty $order?
– poojan sharma
Jul 3 at 4:43
yes my code interrupts at exit() it means if condtion is true
– Waqar Ali
Jul 3 at 4:44
yes my code interrupts at exit() it means if condtion is true
– Waqar Ali
Jul 3 at 4:44
Did you do cache flush?
– Nasir Perwaiz
Jul 3 at 4:55
Did you do cache flush?
– Nasir Perwaiz
Jul 3 at 4:55
yes i really did this
– Waqar Ali
Jul 3 at 4:58
yes i really did this
– Waqar Ali
Jul 3 at 4:58
add a comment |
1 Answer
1
active
oldest
votes
You're not setting the 'identity' => true
in your installschema.php
, that's why it won't auto-increment since you're not adding data to row_id
that may be the reason your data is not saving.
Your primary key field should be like this.
->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'identity' => true,
'nullable' => false,
'primary' => true,
'unsigned' => true,
],
'Missing Order ID'
)
Hope it helps.
if i add data to database using sql its showing fine in admin Grid
– Waqar Ali
Jul 3 at 4:49
ok can you share your whole file code for saving data rather than piece of code and can you please tell me what are you getting in$order
and$quote
variable
– Mohit Rane
Jul 3 at 4:54
please check updated answer
– Mohit Rane
Jul 3 at 5:09
what's your event name?
– Mohit Rane
Jul 3 at 5:20
1
checkout_onepage_controller_success_action
– Waqar Ali
Jul 3 at 5:22
|
show 4 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f280542%2fmagento2-data-not-saving-in-custom-table%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You're not setting the 'identity' => true
in your installschema.php
, that's why it won't auto-increment since you're not adding data to row_id
that may be the reason your data is not saving.
Your primary key field should be like this.
->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'identity' => true,
'nullable' => false,
'primary' => true,
'unsigned' => true,
],
'Missing Order ID'
)
Hope it helps.
if i add data to database using sql its showing fine in admin Grid
– Waqar Ali
Jul 3 at 4:49
ok can you share your whole file code for saving data rather than piece of code and can you please tell me what are you getting in$order
and$quote
variable
– Mohit Rane
Jul 3 at 4:54
please check updated answer
– Mohit Rane
Jul 3 at 5:09
what's your event name?
– Mohit Rane
Jul 3 at 5:20
1
checkout_onepage_controller_success_action
– Waqar Ali
Jul 3 at 5:22
|
show 4 more comments
You're not setting the 'identity' => true
in your installschema.php
, that's why it won't auto-increment since you're not adding data to row_id
that may be the reason your data is not saving.
Your primary key field should be like this.
->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'identity' => true,
'nullable' => false,
'primary' => true,
'unsigned' => true,
],
'Missing Order ID'
)
Hope it helps.
if i add data to database using sql its showing fine in admin Grid
– Waqar Ali
Jul 3 at 4:49
ok can you share your whole file code for saving data rather than piece of code and can you please tell me what are you getting in$order
and$quote
variable
– Mohit Rane
Jul 3 at 4:54
please check updated answer
– Mohit Rane
Jul 3 at 5:09
what's your event name?
– Mohit Rane
Jul 3 at 5:20
1
checkout_onepage_controller_success_action
– Waqar Ali
Jul 3 at 5:22
|
show 4 more comments
You're not setting the 'identity' => true
in your installschema.php
, that's why it won't auto-increment since you're not adding data to row_id
that may be the reason your data is not saving.
Your primary key field should be like this.
->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'identity' => true,
'nullable' => false,
'primary' => true,
'unsigned' => true,
],
'Missing Order ID'
)
Hope it helps.
You're not setting the 'identity' => true
in your installschema.php
, that's why it won't auto-increment since you're not adding data to row_id
that may be the reason your data is not saving.
Your primary key field should be like this.
->addColumn(
'row_id',
MagentoFrameworkDBDdlTable::TYPE_INTEGER,
null,
[
'identity' => true,
'nullable' => false,
'primary' => true,
'unsigned' => true,
],
'Missing Order ID'
)
Hope it helps.
edited Jul 3 at 5:42
answered Jul 3 at 4:46
Mohit RaneMohit Rane
4037 bronze badges
4037 bronze badges
if i add data to database using sql its showing fine in admin Grid
– Waqar Ali
Jul 3 at 4:49
ok can you share your whole file code for saving data rather than piece of code and can you please tell me what are you getting in$order
and$quote
variable
– Mohit Rane
Jul 3 at 4:54
please check updated answer
– Mohit Rane
Jul 3 at 5:09
what's your event name?
– Mohit Rane
Jul 3 at 5:20
1
checkout_onepage_controller_success_action
– Waqar Ali
Jul 3 at 5:22
|
show 4 more comments
if i add data to database using sql its showing fine in admin Grid
– Waqar Ali
Jul 3 at 4:49
ok can you share your whole file code for saving data rather than piece of code and can you please tell me what are you getting in$order
and$quote
variable
– Mohit Rane
Jul 3 at 4:54
please check updated answer
– Mohit Rane
Jul 3 at 5:09
what's your event name?
– Mohit Rane
Jul 3 at 5:20
1
checkout_onepage_controller_success_action
– Waqar Ali
Jul 3 at 5:22
if i add data to database using sql its showing fine in admin Grid
– Waqar Ali
Jul 3 at 4:49
if i add data to database using sql its showing fine in admin Grid
– Waqar Ali
Jul 3 at 4:49
ok can you share your whole file code for saving data rather than piece of code and can you please tell me what are you getting in
$order
and $quote
variable– Mohit Rane
Jul 3 at 4:54
ok can you share your whole file code for saving data rather than piece of code and can you please tell me what are you getting in
$order
and $quote
variable– Mohit Rane
Jul 3 at 4:54
please check updated answer
– Mohit Rane
Jul 3 at 5:09
please check updated answer
– Mohit Rane
Jul 3 at 5:09
what's your event name?
– Mohit Rane
Jul 3 at 5:20
what's your event name?
– Mohit Rane
Jul 3 at 5:20
1
1
checkout_onepage_controller_success_action
– Waqar Ali
Jul 3 at 5:22
checkout_onepage_controller_success_action
– Waqar Ali
Jul 3 at 5:22
|
show 4 more comments
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f280542%2fmagento2-data-not-saving-in-custom-table%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you please make sure that you are getting empty $order?
– poojan sharma
Jul 3 at 4:43
yes my code interrupts at exit() it means if condtion is true
– Waqar Ali
Jul 3 at 4:44
Did you do cache flush?
– Nasir Perwaiz
Jul 3 at 4:55
yes i really did this
– Waqar Ali
Jul 3 at 4:58