Defect #12525

empty filter attributes results in "undefined" filter value

Added by Terence Mill about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution: Affected version:2.1.4

Description

In my issue list "Add filter" drop-down i have empty lines after migration from redmine 1.3 to 2.1.4.
If i select this dempty lines i get "undefined attribute name". I have no iead where this undefined names come from.

How can i elloborate that in my mysql database by query. Maybe migration problem, maybe plugins incompatible?

shot.jpg (9.84 KB) Terence Mill, 2012-12-06 16:08

History

#1 Updated by Jean-Philippe Lang about 7 years ago

Can you attach the html source of your issue list?

#2 Updated by Terence Mill about 7 years ago

I would realy like to, but even if i create an "empty project" (no users) i still have a lot of productive project data in the html source code, its difficult to remove or make it anonym. Can u give me a hint what shall i look for? Or which part of the site you need, so i only have to make that small part anonym.

Then i found the last two filter entries without name attrib.

,"hudson_job":{"type":"list_optional","values":[]},"hudson_build":{"type":"integer"}};
var labelDayPlural = "Tage";
$(document).ready(function(){
  initFilters();
  addFilter("status_id", "o", [""]);
});

The hudson plugins seems to extend the filters without name, so that could be the problem. I will write a bug report (http://www.r-labs.org/issues/1143) to the author.
If you agree with my assumption, this can be closed in favor for a plugin bug.

#3 Updated by Terence Mill about 7 years ago

  • Status changed from New to Resolved

#4 Updated by Etienne Massip about 7 years ago

  • Status changed from Resolved to Closed

#5 Updated by Terence Mill about 7 years ago

For hudson plugin i also reported here: http://www.redmine.org/boards/3/topics/14348?r=34972#message-34972

Btw. the same problem occurs for plugin redmine_tags , which already reported and fixed

Also available in: Atom PDF