http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12965

Joonas Kylmälä <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40942|0                           |1
        is obsolete|                            |

--- Comment #4 from Joonas Kylmälä <[email protected]> ---
Created attachment 41456
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41456&action=edit
Bug 12965: Prevent to erase an existing item type

On creating an item type, if it already exists, it will replace the
existing one.
This patch prevent that and display a message to the interface.

Note: The fields are lost.

Test plan:
1/ Create an item type 'AAA', description 'AAA'
2/ Edit it, update the description with 'BBB'
3/ Create an item type 'AAA' with a description 'CCC' => you should get
a warning "already exists".

Works well, no errors

Signed-off-by: Amit Gupta <[email protected]>
Signed-off-by: Joonas Kylmälä <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to