View Issue Details

IDProjectCategoryView StatusLast Update
0011594mantisbtwebpagepublic2010-07-29 10:45
Reporterllattan Assigned Todhx  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSRedHat EnterpriseOS Version5.2
Product Version1.2.0 
Target Version1.2.2Fixed in Version1.2.2 
Summary0011594: attachment_count column shift registers in View Issues
Description

When I add attachment_count column in View Issues, registers are shifted from columns.

Steps To Reproduce

Manage -> Manage Configuration -> Manage Columns
add "attachment_count" in View Issues Columns (for example before "edit" or replacing "edit")

TagsNo tags attached.
Attached Files
config_before_change.jpg (187,440 bytes)   
config_before_change.jpg (187,440 bytes)   
viewing_issues_before_change.jpg (113,167 bytes)   
viewing_issues_before_change.jpg (113,167 bytes)   
config_after_change.jpg (182,635 bytes)   
config_after_change.jpg (182,635 bytes)   
viewing_issues_after_change.jpg (108,537 bytes)   
viewing_issues_after_change.jpg (108,537 bytes)   

Activities

dhx

dhx

2010-03-02 07:52

reporter   ~0024590

I don't quite understand this bug... can you please provide a screenshot?

What do you mean by "shift registers" and "registers are shifted"?

llattan

llattan

2010-03-02 10:31

reporter   ~0024594

I attach the screenshots

config_before_change.jpg
viewing_issues_before_change.jpg (It works ok)

config_after_change.jpg
viewing_issues_after_change.jpg (It works bad. Look at the columns header)

It seems that attachment_count "eats" a column.

llattan

llattan

2010-03-02 10:33

reporter   ~0024595

I replaced "edit" column with "attachment_count" column.

BobS

BobS

2010-03-09 15:51

reporter   ~0024686

I've had the same problem. Adding the attachment_count column displays the column for each record, but the header does not display, resulting in the column headers appearing to be shifted left. Printing a header row for this column should resolve the issue.

cas

cas

2010-03-09 21:42

reporter   ~0024688

Last edited: 2010-03-09 22:06

Can confirm this issue, there is no header displaying for the "Count Attachment" column.
Having said that, it is not enough to just add the column, it also requires a config setting.
Simply add :
$g_show_attachment_indicator = ON;
to config_inc.php and the header will appear correctly.
Funny enough, the column itself does not depend on this indicatir.

llattan

llattan

2010-03-15 17:34

reporter   ~0024761

Thanks cas.
It worked ok for me.

nikopp

nikopp

2010-03-25 06:20

reporter   ~0024905

Worked for me, too.

But I think there should also be a textual header such that it works without the config setting.

And the attachment count should not only be a tooltip but directly visible like it is the case for the "number of notes" column.

llattan

llattan

2010-05-06 11:43

reporter   ~0025428

Will it be targetted in version 1.2.2 ?

dhx

dhx

2010-05-09 09:45

reporter   ~0025443

All fixed now, thanks for being patient.

This change will be part of the next MantisBT 1.2.2 release.

Related Changesets

MantisBT: master 18493270

2010-05-09 09:37

dhx


Details Diff
Fix 0011594: No column title printed for attachment_count

When $g_show_attachment_indicator = ON, no column title was printed on
view_all_bug_page.php for the attachment_count column. This led to
formatting issues with the table where column titles were aligned to the
wrong columns.

This patch also improves the accessibility of the attachment icons and
links using alt/title tags to provide the user with more information on
the attachment links.
Affected Issues
0011594
mod - core/columns_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - lang/strings_icelandic.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_catalan.txt Diff File
mod - my_view_inc.php Diff File
mod - lang/strings_arabicegyptianspoken.txt Diff File
mod - lang/strings_russian.txt Diff File
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_urdu.txt Diff File
mod - lang/strings_ripoarisch.txt Diff File
mod - lang/strings_hebrew.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_hungarian.txt Diff File
mod - lang/strings_norwegian_bokmal.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_lithuanian.txt Diff File
mod - lang/strings_polish.txt Diff File
mod - lang/strings_czech.txt Diff File
mod - lang/strings_ukrainian.txt Diff File

MantisBT: master-1.2.x 3eae7379

2010-05-09 09:37

dhx


Details Diff
Fix 0011594: No column title printed for attachment_count

When $g_show_attachment_indicator = ON, no column title was printed on
view_all_bug_page.php for the attachment_count column. This led to
formatting issues with the table where column titles were aligned to the
wrong columns.

This patch also improves the accessibility of the attachment icons and
links using alt/title tags to provide the user with more information on
the attachment links.
Affected Issues
0011594
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_arabicegyptianspoken.txt Diff File
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_russian.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_lithuanian.txt Diff File
mod - lang/strings_czech.txt Diff File
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_english.txt Diff File
mod - lang/strings_hebrew.txt Diff File
mod - lang/strings_ripoarisch.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_hungarian.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_icelandic.txt Diff File
mod - lang/strings_urdu.txt Diff File
mod - core/columns_api.php Diff File
mod - lang/strings_norwegian_bokmal.txt Diff File
mod - lang/strings_polish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File
mod - my_view_inc.php Diff File