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

Menu links to edit check.tex, check_base.tex, and check_multiple.tex are incorrect #2497

Closed
freelock opened this issue Jan 5, 2017 · 2 comments

Comments

@freelock
Copy link
Member

freelock commented Jan 5, 2017

No description provided.

@freelock freelock changed the title "Cannot edit check_base.tex with templates upgraded from 1.4" "When attempting to edit the check_base.tex, the expected filename is showing ".tex" and so attempting to edit is getting an error 'Template not found at /srv/ledgersmb/tools/../lib/LedgerSMB/Scripts/template.pm line 85. '. If you try to upload a check_base.tex, file, you get the error "Unexpected file name, expected .tex, got check_base.tex at /srv/ledgersmb/tools/../lib/LedgerSMB/Scripts/template.pm line 130." Cannot edit check_base.tex with templates upgraded from 1.4 Jan 5, 2017
@freelock
Copy link
Member Author

freelock commented Jan 5, 2017

When attempting to edit the check_base.tex, the expected filename is showing ".tex" and so attempting to edit is getting an error 'Template not found at /srv/ledgersmb/tools/../lib/LedgerSMB/Scripts/template.pm line 85. '. If you try to upload a check_base.tex, file, you get the error "Unexpected file name, expected .tex, got check_base.tex at /srv/ledgersmb/tools/../lib/LedgerSMB/Scripts/template.pm line 130."

@freelock
Copy link
Member Author

freelock commented Jan 5, 2017

Ok. This turns out to be a menu issue, not an upgrade issue.

The menu_attribute table has the wrong values for the 3 check templates. node_id 183 should have a template_name of "check" instead of "check_multiple". node_id 30 and 31 both set a parameter of "name" where they should set "template_name".

@freelock freelock changed the title Cannot edit check_base.tex with templates upgraded from 1.4 Menu links to edit check.tex, check_base.tex, and check_multiple.tex are incorrect Jan 5, 2017
ehuelsmann added a commit to ehuelsmann/LedgerSMB that referenced this issue Jan 5, 2017
ehuelsmann added a commit that referenced this issue Jan 5, 2017
* Fix #2497: Incorrect references to templates from the menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant