Bug #4042

Definitely fix the requirement of getSingular for getTableForItemType

Added by webmyster over 9 years ago. Updated over 8 years ago.

Status:NewStart date:11/22/2012
Priority:NormalDue date:
Assignee:-% Done:


Target version:Unplanned


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"


#1 Updated by moyo over 9 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 over 9 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 over 9 years ago

But how ?

#4 Updated by webmyster over 9 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 over 9 years ago

  • Target version changed from 0.84 to Unplanned

#6 Updated by moyo over 8 years ago

  • Category set to Framework

Also available in: Atom PDF