Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235,
Visits: 750
|
Hello everyone,
If you have ever tried to clone a single version that is itself a clone of a single version (tried to clone a clone) you will find that the system throws an error. The result is that no versions are created for the new clone, even though the clone itself appears to go well.
The reason for this is that the string "[clone-xxx]" is appended to the end of the version name in each case. This means that if you clone version "SKU_100" you will then get "SKU_100[clone-101]", if you then clone this it tries (and fails) to generate version "SKU_100[clone-101][clone-102]" because the version string is too long.
My solution has been to strip the "[clone-xxx]" string for each new clone. for example:
Product 100: "SKU_100"
Product 101: "SKU_100[clone-101]"
Product 102: "SKU_100[clone-102]"
This works, but of course gives the impression that product 102 is a clone of product 100, when it is actually a clone of 101. I am not too concerned by this because at least this way it actually works. Just be aware of this if deciding to implement this change.
The attached SQL file makes the change for anyone running the latest version of the application.
We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either 1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx. 2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx. Have fun and good luck coding.
Thu 16 Mar 2017 by
Tiggywiggler
|