Bug 10276

Summary: There are errors shown at our URl for financial report
Product: Websites Reporter: Dick Gevers <dvgevers>
Component: www.mageia.orgAssignee: Atelier Team <atelier-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: filip.komar, rdalverny
Version: trunk   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://www.mageia.org/en/about/reports/2013/
Whiteboard:
Source RPM: CVE:
Status comment:

Description Dick Gevers 2013-05-25 14:13:40 CEST
Description of problem:

Open the page in any browser. It starts the display with the words

quote

Notice: Undefined offset: 3 in /var/www/vhosts/www.mageia.org/en/about/reports/template.php on line 77 Notice: Undefined offset: 2 in /var/www/vhosts/www.mageia.org/en/about/reports/template.php on line 94 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template.php on line 95 Notice: Undefined offset: 2 in /var/www/vhosts/www.mageia.org/en/about/reports/template.php on line 94 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template.php on line 95 Notice: Undefined index: in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 104 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 105 Notice: Undefined offset: 2 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 106 Notice: Undefined offset: 3 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 107 Notice: Undefined offset: 4 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 108 Notice: Undefined offset: 5 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 109 Notice: Undefined offset: 6 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 110 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 111 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 114 Notice: Undefined offset: 2 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 115 Notice: Undefined offset: 3 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 116 Notice: Undefined offset: 4 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 117 Notice: Undefined offset: 5 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 118 Notice: Undefined offset: 6 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 119 Notice: Undefined index: in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 104 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 105 Notice: Undefined offset: 2 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 106 Notice: Undefined offset: 3 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 107 Notice: Undefined offset: 4 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 108 Notice: Undefined offset: 5 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 109 Notice: Undefined offset: 6 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 110 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 111 Notice: Undefined offset: 1 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 114 Notice: Undefined offset: 2 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 115 Notice: Undefined offset: 3 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 116 Notice: Undefined offset: 4 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 117 Notice: Undefined offset: 5 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 118 Notice: Undefined offset: 6 in /var/www/vhosts/www.mageia.org/en/about/reports/template_lib.php on line 119

unquote

which should not be visible




Reproducible: 

Steps to Reproduce:
Dick Gevers 2013-05-25 14:15:50 CEST

Summary: There are errors shown at that URL => There are errors shown at our URl for financial report

Comment 1 Filip Komar 2013-05-25 17:23:11 CEST
There seems to be an error parsing mageia-financial-report-2013.csv in this part:
## Other revenues
date,description,amount
2013-01-01,2012 saving interests,135.36

If I remove that on my local server issue is gone. But I don't feel comfortable to remove that on live system unless granted.

HTH

CC: (none) => filip.komar

Comment 2 Filip Komar 2013-05-29 10:54:30 CEST
Romain can you please take a look? I know that your situation has changed but I'm not very familiar with that code.

AFAIK you planned some rework on reports so I didn't convert the report to lang system yet. Any suggestion?

CC: (none) => rdalverny

Comment 3 Manuel Hiebel 2013-05-29 19:44:02 CEST
btw, bolkm created some days ago (?) http://treasurer.mageia.org/
Comment 4 Filip Komar 2013-05-29 20:47:32 CEST
(In reply to Manuel Hiebel from comment #3)
> btw, bolkm created some days ago (?) http://treasurer.mageia.org/

THX for info Manuel.

Looks cool. What about integration of mognase (http://nav.mageia.org/) and link it instead of current reports?
Comment 5 Romain d'Alverny 2013-05-30 00:47:06 CEST
Actually, errors/warnings should not be displayed on the production site, but that's an other issue. Fixed in last commit.

I would move the focus on treasurer.m.o which looks far more promising and solid on many aspects.
Comment 6 Filip Komar 2013-05-30 09:02:12 CEST
(In reply to Romain d'Alverny from comment #5)
> I would move the focus on treasurer.m.o which looks far more promising and
> solid on many aspects.

OK. This question is probably long shot but anyway what needs to be done to make it available for i18n?
Comment 7 Filip Komar 2013-05-30 13:19:50 CEST
Fixed by rda.

Status: NEW => RESOLVED
Resolution: (none) => FIXED