Announcement

Collapse
No announcement yet.

Bug on new module

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug on new module

    Hi, I'm creating a new module called "articleManager", inside this articleManager I have an entity called Projects, I'm having 2 problems with this:
    1. Localization: I create my own Global.json for Tab and Label localization but it doesn't work, I had to create an entry in 'Espo\Modules\Crm\Resources\i18n' Global.json to add my own module title in each language.
    2. When I click on my fresh created "Project" or when I try to create a new one, I get this console error: Uncaught Error: Could not load file 'client/src/views/detail.js'
      It should be looking in: 'client/modules/article-manager/src/views/project/detail.js'
    Last edited by caffeine; 08-06-2014, 02:33 PM. Reason: New error

  • #2
    Hello

    Can you attach your module here?

    Comment


    • #3
      Client Part: https://www.dropbox.com/s/o4nj0lvl5w...le-manager.zip

      application Part: https://www.dropbox.com/s/ng77qb069z...cleManager.zip

      Thanks yuri.

      Comment


      • #4
        1.
        In localization file you put redundant commas in the end of lists. It's not valid JSON.

        2. article-manager/src/views/project/detail.js There is no return Dep.extend({});

        If you don't need to add any custom client logic you should remove this file. Remove that from clientDefs.

        P.S. It's better to name module with first latter in upper case.

        Comment


        • #5
          1) You are absolutelly correct.

          2) Done.

          Thank you for your help, I'm really excited about this CRM.

          Comment

          Working...
          X