Announcement

Collapse
No announcement yet.

Number (auto-increment) does not work after deployment

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

  • Number (auto-increment) does not work after deployment

    I have create an entity A in the development env and there is a Number (auto-increment) field, Num, in it.

    And then it is deployed to production env but i found that that number field does not work in production env (it is always "None")

    Deployment:
    Copy all A.* in custom\Espo\Custom folder (and it sub-folders) of development to same folders in production env.



  • #2
    1) did you rebuild the system?
    2) the value is set after record is created (only for new records) and can't be set for existing records

    Comment


    • #3
      1. i have rebuilt the system.
      2. Num field in new record shows None

      Comment


      • #4
        go to the Entity Manager > your entity > Fields > Num > change Next Number and set needed again.
        For example, it has to be 1 and now is 1.
        Set 2 -> Save -> set 1 again -> save
        Last edited by tanya; 05-16-2018, 12:20 PM.

        Comment


        • #5
          Thank you.

          Comment

          Working...
          X