githubbob42 / mingle2github2

0 stars 1 forks source link

Date field does not render for Lookup Search Results Layout #2179

Closed githubbob42 closed 10 years ago

githubbob42 commented 10 years ago

Mingle Card: 2422 Steps to reproduce

| | |
|-|-|
|**Version #**|
|FieldFX 4.0.1.2096|
|**OS**|
|OSX|
|**Browser**|
|Chrome 35.0.1916.153|
|**Username**|
| |
|**Password**|
| |
  1. Create a Lookup from the Ticket to another Object (Object A)
  2. Add a Date field to Object A
  3. Give permissions to the date field and Object A (for the field user)
  4. Add the Date field to the Search Results Layout for Object A
  5. Create a new record for Object A with the Date field populated
  6. Create a Ticket with the Lookup to Object A populated with the Object A record you created
  7. Login to mobile
  8. Click on the Lookup field in your ticket

Expected result

You should see the Date value from the Object A record you created earlier

Actual Result

You see the Column Header for Date but no value. If you look in als_objects you will see the Date field and it's value - so it is syncing to mobile just not displaying on screen

Datetimes also have a problem as seen in this screenshot:

!LookupDates.png!

Analysis

Technical Analysis

Fix the date binding to handle strings (i.e. remove isNaN check).  This is fix the problem reported.

If necessary, update the report helpers for date/datetime formatters to handle strings.  They should be nearly identical to the date/time bindings.

Note that upserts for date/time values in Salesforce requires the values to be in unix epoch format (i.e. numeric).  VERIFY THIS

Create a story card to:

Related Cards

2575

2565

Test Plan

githubbob42 commented 10 years ago

Related Story: #1909 Dynamic Lookup Handling (Mingle)