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.



  • Vincent
    replied
    Thank you.

    Leave a comment:


  • tanya
    replied
    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, 01:20 PM.

    Leave a comment:


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

    Leave a comment:


  • tanya
    replied
    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

    Leave a comment:

Working...
X