Announcement

Collapse
No announcement yet.

EspoCRM 6.0.0-beta4 released

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

  • EspoCRM 6.0.0-beta4 released

    All issues: https://github.com/espocrm/espocrm/m...ne/96?closed=1

    Download: https://github.com/espocrm/espocrm/r....0.0-beta4.zip

    Upgrade from 5.9.4: https://www.espocrm.com/downloads/up....0.0-beta4.zip
    Upgrade from 6.0.0-beta3: https://www.espocrm.com/downloads/up....0.0-beta4.zip

    Command to run upgrade:

    Code:
    php command.php upgrade -y --file="path/to/package.zip"

  • #2
    I would like to propose a small enhancement in the layout of list view -> image:

    I would like to have a top and bottom padding of 5 px for the images. as it is now, one image is directly touching the next one. See photos.


    Meanwhile I solved this with custom.css
    Last edited by shalmaxb; 10-11-2020, 01:09 PM.

    Comment


    • #3
      Hello,
      i delete what i have write : for one will create user by code :

      The tips is how email address .. i think same for phone number

      PHP Code:

      $user 
      $em->getEntity('User');
      $o = (object) [
      'emailAddress' => $email,
      'primary' => true,
      ];

      $user->set([
      'userName' => $userName,
      'salutationName' => 'Mrs.',
      'firstName' => $firstName,
      'lastName' => $lastName,
      'type' => 'regular',
      'isAdmin' => 0,
      'isActive' => $isActive,
      'gender' => 'Female',
      'emailAddressData' => [$o],
      'assignedUserId' => '1'
      ]);
      $em->saveEntity($user); 
      Last edited by item; 10-11-2020, 11:00 PM.

      Comment


      • #4
        Hi, I am having a problem with the beta4. The installation was fine. I logged in and did a cache clear and rebuild. Up to this point all went well. Then i replaced the espo folder under custom folder with the one i am using under the old version. I cleared the cache and did a rebuild of the database.After logout when i try to access the site, I got an "Error 500". with blank page. I have attached the log. Please review. Thank you.
        Attached Files
        Last edited by murugappan; 10-13-2020, 04:09 AM.

        Comment


        • yurikuzn
          yurikuzn commented
          Editing a comment
          Could you provide the file custom/Espo/Custom/Resources/metadata/entityDefs/User.json.

          Thanks.

        • yurikuzn
          yurikuzn commented
          Editing a comment
          Did you run rebuild from the command line after copying custom folder?

          It's recommended to run upgrade rather than copying custom folder.

        • murugappan
          murugappan commented
          Editing a comment
          I will reinstall and rebuild using CLI. I will revert soon.

      • #5
        Some Tipo error :
        on : application/Espo/Core/Select/SelectManager.php

        'relavance' => self::FT_ORDER_RELEVANCE, i think is : 'relevance' ? i don't know where is used but maybe

        And on documentation
        https://docs.espocrm.com/development...select-manager

        the directory path is wrong : custom/Espo/Custom/SelectManager/Account.php. missing S

        Regards

        Comment


        • yurikuzn
          yurikuzn commented
          Editing a comment
          Thank you.

      • #6
        yurikuzn I did the folowing:

        (1) Install a fresh version of beta4
        (2) Did a cli rebuild. Everything ok up to this point.
        (3) Copied the custom->espo folder from another instance created using 5.9.3
        (4) Did a CLI rebuild. Rebuild was ok.
        (5) Started espocrm application - failed error 500.

        I have attached the custom folder and log file. We normally copy the espo folder from custom folder to other instances to apply the changes we have made. Example when we apply changes from the development instance to a production instance.
        Attached Files

        Comment


      • #7
        Hello Yuri,
        strange but i think ..
        i disable cache on chrome browser :

        i have book entity with calculed field "barcode" type "qrcode" : it's just this : barcode=string\concatenate("https://www.amazon.fr/s?i=stripbooks&rh=p_66%3A" , isbn );
        on listView .. when i select action "all result" .. it's seemt not recalculate all ! only first .. or .. is strange
        when i select one.. and click recalculate .. it's ok..

        i have a chrome extension "qr code reader" .... who facilte this.

        i think .. one is recalculed .. more no .. just try still now
        when select one ... no error..
        when select page .. ? not verified
        when select all .. error

        error log :

        Espo.WARNING: E_WARNING: in_array() expects parameter 2 to be array, string given {"code":2,"message":"in_array() expects parameter 2 to be array, string given","file":"/application/Espo/Core/Select/SelectManager.php","line":2814,"context":{"params" :{"where":[{"type":"and","value":[{"type":"notEquals","attribute":"isbn","value": ""} ,{"type":"isNotNull","attribute":"isbn","value": nu ll}]}],"select":"pictureId,pictureName,name,number,lo cat ion,isbn"},"passedAttributeList":"pictureId,pictur eName,name,number,location,isbn","seed":"[object] (Espo\\Custom\


        Regards
        Last edited by item; 10-20-2020, 10:55 PM.

        Comment


      • #8
        Upgrade from beta4 to 6.0.0: https://www.espocrm.com/downloads/up...4-to-6.0.0.zip

        Comment

        Working...
        X