Post by Arslan007 » Wed Mar 06, 2019 10:16 pm

When adding a product, the categories in the text field are duplicated, if you do not remove duplicate categories, this will cause an error in the database.

Attachments

Снимок экрана (25).png

Снимок экрана (25).png (8.68 KiB) Viewed 2751 times


Newbie

Posts

Joined
Wed Mar 06, 2019 10:02 pm

Post by straightlight » Sat Mar 09, 2019 11:50 pm

Posted in Bug Reports section addressing this issue as a bug; no OC version posted nor the detailed steps. Forum rules.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by linab » Wed Jun 26, 2019 4:48 pm

getting same issue in version 3.0.2.0 whenever i add something in admin pannel like category, attributes, product or anything its generated twice. If any solution please let me know.

Newbie

Posts

Joined
Thu May 30, 2019 9:16 pm

Post by straightlight » Wed Jun 26, 2019 6:25 pm

v3.0.3.2 does not have any reports on those claims.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by failzord » Mon Jul 01, 2019 8:57 pm

Same problem currently. Running latest version.

Newbie

Posts

Joined
Mon Dec 17, 2018 7:05 pm

Post by cyclops12 » Tue Jul 02, 2019 4:19 am

straightlight wrote:
Wed Jun 26, 2019 6:25 pm
v3.0.3.2 does not have any reports on those claims.
3.0.3.2 version seems ok but version 3.0.2.0 has a bug
I added a new product just for test purposes, and it IS duplicated once you hit the save button
Not sure yet as to why this is happening

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by straightlight » Tue Jul 02, 2019 6:16 am

Since the issue has already been fixed on the latest (titled)stable release, by simply upgrading to the latest would solve most of the issues at this point.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cyclops12 » Sat Jul 06, 2019 9:42 pm

Any chance of knowing what the fix was so i/we could fix the version instead of keep upgrading?

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by tolinho » Thu Sep 05, 2019 11:19 pm

Hi,
I downloaded the latest version available on opencart website:
https://www.opencart.com/index.php?rout ... ad/history (3.0.3.2 - April 9, 2019)
I also have this issue (duplicated record when I save) with a fresh install

Should I rather go with a github version?

Thanks.

New member

Posts

Joined
Sat Jul 21, 2012 2:01 am

Post by simple-opencart » Thu Sep 05, 2019 11:58 pm

Try this

File

/admin/view/javascript/common.js

Change

$('button[type=\'submit\']').on('click', function() {
$("form[id*='form-']").submit();
});

To

$('button[type=\'submit\']').on('click', function(e) {
if ($("form[id*='form-']").length > 0) {
e.preventDefault();
$("form[id*='form-']").submit();
}
});

And don't forget to refresh your browser cache

New member

Posts

Joined
Fri Oct 19, 2018 4:01 pm

Post by tolinho » Fri Sep 06, 2019 3:55 pm

simple-opencart wrote:
Thu Sep 05, 2019 11:58 pm
Try this

File

/admin/view/javascript/common.js

Change

$('button[type=\'submit\']').on('click', function() {
$("form[id*='form-']").submit();
});

To

$('button[type=\'submit\']').on('click', function(e) {
if ($("form[id*='form-']").length > 0) {
e.preventDefault();
$("form[id*='form-']").submit();
}
});

And don't forget to refresh your browser cache
Thanks.
I also fount this: https://github.com/opencart/opencart/pu ... 13e346ce33

New member

Posts

Joined
Sat Jul 21, 2012 2:01 am
Who is online

Users browsing this forum: No registered users and 126 guests