OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Add boolean column and field to User entity

This topic contains 2 replies, has 2 voices, and was last updated by  Stepan Yudin 6 years, 3 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34470

    Stepan Yudin
    Participant

    Hi everyone
    Today i updated platform from 1.18 to 2.3.12 and faced strange error (even after blank app install)

    I wrote a migration to add boolean field to User class:

    Migration run successfully but when i try to edit any user i receive following error:

    The option “configs” does not exist. Defined options are: “action”, “allow_extra_fields”, “attr”, “auto_initialize”, “block”, “block_config”, “block_name”, “by_reference”, “cascade_validation”, “check_similar_values”, “choice_attr”, “choice_label”, “choice_list”, “choice_loader”, “choice_name”, “choice_translation_domain”, “choice_value”, “choices” …

    But when i add “string” column with migration – everything works ok.
    Looks like this issue happens only with “boolean” columns


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #34471

    juan
    Participant

    Hi! seems your problem is on the form type class, try this

    Or maybe …

    #34472

    Stepan Yudin
    Participant

    Great, it worked, many thanks to you! )


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top