https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292015-11-25T14:34:37ZRedmineRedmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675052015-11-25T14:34:37ZToshi MARUYAMA
<ul><li><strong>Tracker</strong> changed from <i>Patch</i> to <i>Feature</i></li></ul> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675062015-11-25T14:51:36ZToshi MARUYAMA
<ul><li><strong>Tracker</strong> changed from <i>Feature</i> to <i>Defect</i></li><li><strong>Target version</strong> set to <i>3.2.0</i></li></ul> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675072015-11-25T14:58:01ZToshi MARUYAMA
<ul></ul><p>I see attachment.content_type is varchar(30) on MySQL.<br />But, <a class="changeset" title="Fixed: error when uploading a file with a content type longer than 60 chars. (Maximum size change..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/739">r739</a> and <a class="changeset" title="Fixes migrations that change string limits for sqlite." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1222">r1222</a> changed limits.<br />Bug of migration?</p> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675082015-11-25T15:05:34ZToshi MARUYAMA
<ul></ul><p><a class="changeset" title="Fixes migrations that change string limits for sqlite." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1222">r1222</a> auth_sources.account is varchar(30), too.</p> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675092015-11-25T15:13:31ZToshi MARUYAMA
<ul></ul><p>But <a class="changeset" title="Fixes migrations that change string limits for sqlite." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1222">r1222</a> changesets.committer is varchar(255).<br />I don't know why?</p> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675102015-11-25T15:35:41ZToshi MARUYAMA
<ul><li><strong>Target version</strong> deleted (<del><i>3.2.0</i></del>)</li></ul><p>I ran "rake db:migrate" on Ruby 1.9.3 MySQL at 2.6-stable <a class="changeset" title="Merged r14888 from trunk to 2.6-stable (#21328) pdf: fix Vietnamese Italic is not shown." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/14890">r14890</a>.<br />attachment.content_type, auth_sources.account and changesets.committer are varchar(255).<br />It seems bug of rails or mysql adapter in old version.</p> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675112015-11-25T15:37:40ZToshi MARUYAMA
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>I ran "rake db:migrate" on Ruby 1.9.3 MySQL at 2.6-stable <a class="changeset" title="Merged r14888 from trunk to 2.6-stable (#21328) pdf: fix Vietnamese Italic is not shown." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/14890">r14890</a>.</p>
</blockquote>
<p>On new MySQL database.</p> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=675842015-11-29T10:54:49ZIvan Zabrovskiy
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>You right. All this fields has a 255 limit. My apologies. Looks like this is my fault during Redmine installation. Thanks for help!</p> Redmine - Defect #21123: Extend a content_type field for Attachmenthttps://www.redmine.org/issues/21123?journal_id=681592015-12-29T03:33:10ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>Thank you for your feedback.</p>