Espo prepending "c" before field names

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SoBeGuy
    Member
    • Jan 2024
    • 63

    Espo prepending "c" before field names

    In v8.2.3, when I add a new field to an entity, Espo prepends the letter "c" to the field name.

    For example, if I create a new field called "myField", Espo creates it as "cMyField".

    This started happening after I upgraded from 8.1.1 to 8.2.3. I created many fields in the earlier version with no issues. There are no errors in the browser console, nor do I see any errors in the logs. The only entry pertaining to this is the following:

    Schema, query: ALTER TABLE account ADD c_npi_no INT DEFAULT NULL

    I don't know where it's getting the "c" from, as I entered npiNo for the field name.
  • ChrisSka83
    Senior Member
    • Apr 2023
    • 212

    #2
    When creating fields, links and entity types, a prefix will be automatically added. MyEntity => CMyEntity myField => cMyField (only for non-custom entity types) myLink => cMyLink (only for non-cust...

    Comment

    • item
      Active Community Member
      • Mar 2017
      • 1489

      #3
      Ouille,
      in bug report.. no read rules .. no no no ... and of course why you don't search before !!

      Enhancements: List view pagination #3018 (https://github.com/espocrm/espocrm/issues/3018) Audit Log #2979 (https://github.com/espocrm/espocrm/issues/2979) Global Stream #2944 (https://github.com/espocrm/espocrm/issues/2944) Stream: View user activity #2945 (https://github.com/espocrm/espocrm/issues/2945) Improvements:


      incredible

      if admin delete this complete post
      Last edited by item; 05-07-2024, 09:42 PM.
      If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

      Comment

      • yuri
        Member
        • Mar 2014
        • 8552

        #4
        There were already a few topic on the forum.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • SoBeGuy
          Member
          • Jan 2024
          • 63

          #5
          ChrisSka83 Thanks for pointing me in the right direction. I spent quite a bit of time searching for this issue in the forum before posting it. It's probably difficult to find because the the search doesn't work for single letters like "C", so I was getting a lot of irrelevant results. Hopefully this topic will help others as well.

          Comment


          • item
            item commented
            Editing a comment
            Hi SoBeGuy,

            don't see any "attack".. we just need respect work of Yuri.. and "Bug report Rules" is there some longtime..
            When Yuri loose time for fake "bug", no respect "rule", we loose all ehancement/polis in this time

            It's just respect of all work.

            Regards
        Working...