From: Rehan I. <reh...@gm...> - 2008-06-15 08:51:35
|
Unfortunately, the WiserPlatform currently does a simple singular to plural translation in a few different areas throughout the code base. This constraint was grandfathered in from the legacy code. The developers know this is not the optimal situation, and plan on fixing the issue in upcoming releases. In the time being, certain measures can be taken to work with given translation constraints. For example, if you want to create an entity for "businesses", you could do the following: 1. As usual, create you entities table in the database. Give it the name of "businesss". Notice extra 's'. This is important. 2. When adding your entity to the entities table, for the ORM Name field, use "Businesss". Again, notice the extra "s". This is also important. 3. Finally, when running the create_entity.sh script, use "businesss" as your entity's name. The only downside here is that you have a table in your database with a slightly mispelled name. All human references to the entity are defined in the entity table. This should get your new entity working with the platform. Hope that helps, -Rehan |