Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用紙のサイズでuserを使用して作成したtlfが使用出来ません。 #7

Closed
snowsunny opened this issue Jul 16, 2014 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@snowsunny
Copy link

ThinReportsのフォーラムで質問させて頂いた所、issue作成を勧められたので作成しました。
https://groups.google.com/forum/#!topic/thinreports/u-h2puRnTSo

上記リンクにより詳しい現象の説明がありますが簡単に説明しますと、userサイズを使用して作成したtlfが、どのサイズでも、空のtlfでも使用出来ず、下記の様なエラーが出力されると言うものです。

ActionView::Template::Error (no implicit conversion of String into Array):
app/views/tests/index.pdf.thinreports:27:in `_app_views_tests_index_pdf_thinreports___2239669500851815041_70022676216620'

発生した環境は以下の通りです。
ThinRportsEditor: 0.7.7.1 Windows版
ruby: 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
gem: rails (4.1.1), thinreports (0.7.7), thinreports-rails (0.1.3)

よろしくお願い致します。

@hidakatsuya hidakatsuya added the bug label Aug 4, 2014
@hidakatsuya
Copy link
Member

@snowsunny ご報告ありがとうございます(遅くなってすいません)。少し前に他のユーザからも同様のご指摘をいただき少し調べてみたのですが generator の内部で使用している prawn の問題かもしれません。もう少し詳しい調査が必要ですが、私の方でも現象が確認できましたので bug として対応します。

@maeda-m
Copy link
Member

maeda-m commented Aug 6, 2014

用紙サイズが "user" の場合、EditorがTLFファイルに書き出す値は "user" であるのが正しいが、現在は、"USER" になっているため、Generatorで適切に処理されず、エラーが発生したようです。
https://github.com/thinreports/thinreports-editor/blob/0.7-stable/core/thin/boot.js#L343

@maeda-m maeda-m self-assigned this Aug 6, 2014
@hidakatsuya hidakatsuya added this to the 0.7.7.2 milestone Aug 11, 2014
maeda-m pushed a commit that referenced this issue Aug 11, 2014
@maeda-m
Copy link
Member

maeda-m commented Aug 11, 2014

Closed by 14e4b22

@maeda-m maeda-m closed this as completed Aug 11, 2014
maeda-m pushed a commit that referenced this issue Aug 13, 2014
@snowsunny
Copy link
Author

今、動作を確認しました!
ご対応して頂き、ありがとうございました。
お疲れ様です。:smiley:

@hidakatsuya
Copy link
Member

@snowsunny こちらこそ、ご報告いただきありがとうございました 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants