copy instance -> bug pricefield_select_list 1 Year, 7 Months ago
Karma: 0
I have copied an instance of the instance menu
All went fine except the copy of a pricefield_select_list.
All items of this select list got mixed up. The order of the price name is still correct. But the price values of the copied instance are wrong.
When I correct the prices in the copied instance and save it, afterwards the price valus are wrong again. I get crazy about this.
In the show instance layout the order of the price names are suddenly wrong, too.
For instance:
Instance I want to copy in Instance Menu:
pricefield_select_list name: Delivery area
Price Name: Athen / Price Value: 100 EUR
Price Name: Berlin / Price Value: 120 EUR
Price Name: London / Price Value: 200 EUR
Price Name: Paris / Price Value: 90 EUR
Price Name: Worslaw / Price Value: 150 EUR
........
Show insctance Layout of the Instance I want to copy:
pricefield_select_list name: Delivery area
Price Name: Athen / Price Value: 100 EUR
Price Name: Berlin / Price Value: 120 EUR
Price Name: London / Price Value: 200 EUR
Price Name: Paris / Price Value: 90 EUR
Price Name: Worslaw / Price Value: 150 EUR
........
Show insctance Layout of the copied Instance:
pricefield_select_list name: Delivery area
Price Name: London / Price Value: 120 EUR
Price Name: Paris / Price Value: 90 EUR
Price Name: Athen / Price Value: 200 EUR
Price Name: Berlin / Price Value: 100 EUR
Price Name: Worslaw / Price Value: 150 EUR
.........
When I check the database table os_cck_content_instances_price it seems that the priefield_select_list is not ordered by number anymore in the show instance layout. And almost all records have the wrong price value of the new instance. But it only happens with this delivery area pricefield_select_list. All other pricefield_select_list records get copied correct.
Logged
Last Edit: 2022/08/06 14:56 By hansel.
The administrator has disabled public write access.