Comments

ozin’s picture

Status: Active » Needs review
StatusFileSize
new63.68 KB

Patch attached, please review.

Anonymous’s picture

Looks mostly good, but there are some things that need to be fixed before this can be applied:

  • This patch is way too big, really hard to review like this. Please split in smaller patches with a single topic each.
  • erpal_crm/erpal_crm_helper/modules/erpal_crm_service/inc/activity.inc: Patch replaces whole file because of line endings, should only contain actual changes. This part needs to be redone or we would have trouble later on with mergeing this file.
  • Great to get the actual configured endpoints to generate the URLs instead of hardcoding them. This should be applied.
  • Output format: At some places empty arrays are left out instead of being sent as empty arrays. If there is no data for an array we always return an empty array for that field.
  • Output format: For creating contact nodes the node-id field was renamed from 'node' to 'nid'.
  • There is a bug when retrieving contacts, the code returns only the last file instead of all of them.
Anonymous’s picture

Status: Needs review » Needs work
ozin’s picture

Status: Needs work » Needs review
StatusFileSize
new28.13 KB

Thanks for your reply! I decide split this patch into 3 smaller patches for 3 modules:

  • ERPAL basic service
  • ERPAL CRM service
  • ERPAL docs service

There is a patch for ERPAL basic service module. I've fixed all remarks from the list above for this module.
Please check this patch and let me if it works for you.

ozin’s picture

Added patch which fix endpoints URLs. Please check

taran2l’s picture

ozin’s picture

StatusFileSize
new31.11 KB

Hi @weidauer,

Find re-rolled patch attached.