Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 22920
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: critzdorf [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 2.11
  • 2.11_pre1
  • 2.11_pre2
  • 2.11_pre3
  • 2.11_pre5
Fixed in:
  • 2.111
  • 2.12



Subject: Strange column behavior
Date: Thu, 9 Nov 2006 09:48:36 -0700
To: bug-Maypole [...] rt.cpan.org
From: "Craig Ritzdorf" <critzdorf [...] gmail.com>
Hello all, I'm rather new to Maypole so please bear with me. I'm have the basics of my database front end working fine but when i try to change the order of the columns the data in some columns becomes invisible. Description | Name | Type Show quoted text
_______________________________________ A swimming animal | Trout | Fish A common pet | Dog | Mammal This is about what I have. If I add: sub display_columns{ (qw/name type description/) } the output becomes: Name | Type | Description
__________________________________________ Trout | | Dog | | the info reappears in the text boxes of the edit page. Thanks Craig R.
Same happen to my apps with 2.11 Tried with defining a list_columns method, but, still the same problem.
This has now been made repeatable and the bug found The workaround until 2.12 release is to change the following lines in 'display line' block of the macro template : IF col == "url" AND item.url; '<a href="'; item.url; '"> '; item.url; '</a>'; ELSIF col == classmetadata.stringify_column; maybe_link_view(item); ELSE; accessor = item.accessor_name(col); END; to : IF col == "url" AND item.url; '<a href="'; item.url; '"> '; item.url; '</a>'; ELSIF col == classmetadata.stringify_column; maybe_link_view(item); ELSE; accessor = item.accessor_name(col) || item.accessor_name_fo(col); END;
Fixed in SVN / 2.12