[Koha-bugs] [Bug 10222] Error when saving Demco label templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 22 05:20:56 CEST 2015


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

--- Comment #3 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 37976
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37976
Bug 10222 - Error when saving Demco label templates

Review of attachment 37976:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10222&attachment=37976)
-----------------------------------------------------------------

::: installer/data/mysql/en/optional/sample_creator_data.sql
@@ +27,4 @@
>  
>  LOCK TABLES `printers_profile` WRITE;
>  /*!40000 ALTER TABLE `printers_profile` DISABLE KEYS */;
> +INSERT INTO `printers_profile` VALUES (1,'Library Laser',1,'Bypass',-2,9,3,0,'POINT','Labels'),(13,'Library Laser',7,'Tray 1',0,0,0,0,'POINT','Labels'),(14,'Library Laser',12,'Tray 2',0,0,0,0,'POINT','Labels'),(16,'Test Printer 01',23,'Test Bin',0,0,0,0,'POINT','Patroncards'),(22,'Library Laser',0,'Tray 3',0,0,0,0,'POINT','Labels');

Why remove 11? 
Why are the columns not explicitly named?
Also, perhaps splitting lines for human readability might be an idea.
And maybe INSERT IGNORE?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list