Project

General

Profile

Actions

Bug #5

closed

Can not modify "technique"/"Support" property

Added by Pierre-Louis Bonicoli almost 16 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
Database
Start date:
2009-01-04
Due date:
% Done:

0%

Estimated time:
Patch Available:
No
Confirmed:
No
Help Needed:

Description

In admin UI, "technique"/"support" property can not be modified : an error appears.

Steps to reproduce :
  1. Log with an admin account
  2. Go to "Gérer la cimaise / gérer les œuvres"
  3. Edit one painting (for example painting with name : "Bosquet et arbres morts / Le pavé des roizes")
  4. Change the technique/support property (select "Papier aquarelle")
  5. Validate modification
  6. Error appears :
    bq. ActiveRecord::StatementInvalid in Admin/artworksController#update
    Mysql::Error: Duplicate entry '8' for key 1: INSERT INTO `artworks_techniques` (`id`, `artwork_id`, `technique_id`) VALUES (8, 22, 8)

Impossible de modifier le support d'une œuvre


Related issues 1 (0 open1 closed)

Related to MyCyma - Cosmetic #4: Replace "technique" with "Support"/"Support" (En/Fr) | Changement de dénomination d'un item de la baseResolvedMarc Dequènes2009-01-04

Actions
Actions

Also available in: Atom PDF