Bug #4042
Definitely fix the requirement of getSingular for getTableForItemType
Status: | New | Start date: | 11/22/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Framework | |||
Target version: | Unplanned |
Description
It is very complicated to deal with getSingular before getPlural for getTableForItemType.
Actually, Alias transform first to Alia that is transformed to Alias ...
What are those "States case" for which we require to call getSingular ?
Shouldn't we use a specific case for those States case by using getTable override method inside the case, instead of disturbing the main case ?
I can try to work on it, but I have to understand those "States case"
History
#1 Updated by moyo about 8 years ago
States case : think it was when States is used in search. But it was deleted.
So I think this case is not needed.
getsingular of alias must return alias. there is a specific case for that on getsingular.
#2 Updated by webmyster about 8 years ago
Yes, I have fixed this small bug (accidental removing of character in array affectation - rev 19703)
But removing this getSingular should simplify things.
#3 Updated by moyo about 8 years ago
But how ?
#4 Updated by webmyster about 8 years ago
Well, I know less than you on this subject.
Actually, I've posted this ticket because of the bug I have seen and solved (rev 19703).
But this getSingular/getPlural imbrication helped me discovering this bug.
Now that this bug has been solved, we may change the target version of this issue to unplanned or later version.
#5 Updated by moyo about 8 years ago
- Target version changed from 0.84 to Unplanned
#6 Updated by moyo almost 7 years ago
- Category set to Framework