Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Time flies. In this case, we can't believe it's been nearly a year since the last full point release for the Salesforce module. As evidenced by the 150+ commits seen below, development certainly hasn't been idle! In addition to countless performance enhancements and bug fixes, this release features an all new Drupal entity mapping system which shows a log of all synchronization activity, including any errors. Administrators can even manually create a connection between Drupal and Salesforce objects.
Please note that this release will cause a backwards compatibility issue in any custom code that leveraging the Salesforce ID property on a Drupal object. This value is now lazy loaded using the Entity Metadata system.
Changes since 7.x-3.0:
- Added comment to token section of salesforce_mapping.admin.inc.
- #1927434 by mariacha1: Tokens for commerce_order entity not available in mapping UI
- #2351069 by cam8001: Fatal when enabling module updating from 7.x-2.x to 7.x-3.x, schema exists
- #2268463 by petermallett: Uninstall leaves variables
- #2362635 by nadavoid: Fixed "Missing bundle" errors.
- #2297259: Authorization callback URL is not always correct in help text
- #2298051 by pwolanin: Added drush commands to create, read, and query objects.
- #1979074: Upsert fails when key is in params.
- #2231053: Fixed Features with salesforce_mapping components always overridden by removing updated column from mappings
- Fix error logging for new mappings with processing errors
- Prevent redirect module from modifying the mapping object form
- Handle mapping object URIs when the entity is missing
- Correct update hook message
- Update hook to allow NULL values in entity_updated and last_sync columns
- Limit Views salesforce mapping object relationship on entity type
- Clearer messaging on mapping object view when an entity is not linked to SF.
- Coding style.
- Restructure mapping object editing to allow creation on unmapped objects.
- Only delete mapping object in hook_entity_delete when no applicable mappings implement the delete trigger
- PHP validity change for Pantheon.
- Coding style for php compatibility.
- Re-implementing mapping deletion function.
- Pick up the 18-character sf_id when remapping objects.
- Added todo for unresolved sync date niling bug.
- Mapping object form updates for clarity.
- Proper values for object revision fields during mapping object relink.
- Refactor mapping form processing to remove entity_ui references.
- Provide elegant default menu items for entities without their own CRUD UI.
- Wrapper around mapping object access methods to check for existance of a mapping object before allowing access.
- Initial version of salesforce_views providing a relationship between entities and their salesforce object mappings.
- Add revision ID to the history table and set as default sort.
- Fix salesforce_mapping_object_render_property() to return default value if not a special case rather than NULL.
- Return select properties when rendering a mapping object.
- Remove the 'extra fields controller class' key for salesforce_mapping_object.
- Changed permission name for salesforce mapping object access.
- Fixed filter_query argument comments for accuracy.
- Fix revision logging data for push.
- Update mapping object with errors from salesforce_push_process_soap_results().
- Proper messaging for pull logs.
- Adding filter option for 'created' status.
- Coherent revision field values on creation and pull updates.
- Performance improvements to hook_update for revision creation.
- Suppress empty value warning in URI check.
- Remove salesforce_mapping_entity_view().
- Remove unused admin ui definition.
- Remove unused menu item definition.
- Add sync fields during hook_update to object table.
- Refactor hook_menu to make salesforce activity menu tab appear.
- Use entity_uri() when ->uri() is not defined for an entity.
- Altering hook_update sandbox size for performance improvement.
- Initial implementation of hook_update to create & populate revision table.
- Add local tasks in hook_menu for mapped objects.
- Add salesforce_mapping_object_view() and salesforce_mapping_object_load() functions.
- Update SalesforceMappingObject::defaultUri() to a local task off a mapped entity.
- Change overview table to use URI method rather than hardcoded URIs.
- Fix empty value check in salesforce_mapping_object_render_property() to account for 0.
- Handle empty values in salesforce_mapping_object_render_property().
- Coding standards.
- $entity_id was getting defined after it was used.
- Use consistent messaging for last sync action.
- Fix return type to improve IDE integration.
- Add a missing function header.
- Code style in salesforce_mapping_object.admin.inc.
- Messaging updates.
- Remove unused code.
- Use uri() method.
- Change mapped object listing page title.
- Remove extraneous menu definition.
- Remove extraneous hook_menu_alter().
- White space.
- Decide to not set last_sync when saving.
- Fix defualtLabel() when creating a new entity.
- Add properties to Entity class.
- Header coding style.
- Remove t() wrappers from hook_menu().
- Verify all necessary attributes are set in Salesforce::requestToken().
- Re-title some columns for clarity
- Fix error message getting overwritten
- Fix edit link destination
- Add human readable mapping object label
- Add action to for pushing entities to SF. Untested
- Make bulk operation for pushing mapped entities functional
- Change destination of SF id on mapped entities to point to mapping object
- Don't allow editing of drupal entity for existing mappings
- Add revision info to mapping view page
- Add proper labels for metadata properties
- Remove timezone from date filter format
- Remove date filter description when date popup is used
- Customize view of mapping object
- Fix operations links
- Initial date filtering
- Define possible sync statuses in a function
- Fix property name for salesforce URL
- Comment clarification
- Use properties and metadata wrappers more
- Add configurable pager limit
- Switch to db_select to allow querying revisions
- Mapped object listing cleanup
- Remove mapping object ui controller class
- Don't use Entity API for mapped object listing UI
- Fix typo in comment
- Validate mapping form for duplicate mappings with the same trigger
- Remove salesforce_record_type_default from index
- Change action label to be more consistent
- Add filters for last sync action and status
- Make triggers optional. Remove validation on previously unique salesforce_mappings.
- Change salesforce_mapping index to be non-unique
- Don't autoset entity_updated property
- Default last_sync_status to 1
- Set last sync values on pull
- Set last sync values on push
- Define sync statuses
- No revision when saving entity_updated time
- Add new columns to mapping listing
- Remove unique keys from revision table
- Enable revision creation in the entity class
- Add additional columns for tracking sync results/status
- Add revision schema for mapped objects
- Removing salesforce_activity. Going in a new direction - revisions.
- Minor changes to activity logging page
- Define message formats and save method
- Remove RecordTypeId from CampaignMember objects during push
- Initial salesforce_activity submodule. Not functional yet
- Last sync shouldn't default to the save date/time
- Fix allowed SF record type validation
- Don't attempt to link to entities without URLs
- Check that salesforce_mapping_object property exists before using it.
- Remove commented out code from hook_entity_view().
- Add metadata properties
- Cleanup variable names
- Additional validation for mapped object form
- Add mapping creation validation
- Don't delete mapping on push update errors.
- Start of form validation
- Fix copy/paste oversight
- Enabling the basic search filters in the mapping listing.
- Move mapped object ui to content menu
- Add entity type column to listing table
- Fix table header sorting in mapped object listing
- Entity type should be required on mapped object form
- Remove some old copy/paste cruft
- Add a sortable bulk operations table for mapped objects
- Format mapped object properties in table listing
- Remove reference to bundles in code comment
- Initial mapped object entity form
- Add columns to table of mapped objects
- Use entity id as the default label
- Remove unnecessary menu link overrides
- Add more permissions for mapped objects
- Enable entity api UI controller for mapped objects
- Check if entity exists before processing delete. To prevent errors if async processing was selected.
- Wrap the entity deletion in a try catch block.
- Remove the duplicate mapping object deletion and extraneous db_transaction() call.
- Set a salesforce_pull property on the entity being deleted to avoid circular logic in salesforce_push.
- Wrap entity in a wrapper and remove entity_label call.
- Comments and spacing.
- Load a single mapping rather than all of them for a given SF record type.