You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/18 01:18:06 UTC

[jira] [Commented] (USERGRID-193) SaveCollectionMembers in Export does not correctly export all entity data

    [ https://issues.apache.org/jira/browse/USERGRID-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14065749#comment-14065749 ] 

ASF GitHub Bot commented on USERGRID-193:
-----------------------------------------

GitHub user prj2113 opened a pull request:

    https://github.com/apache/incubator-usergrid/pull/27

    fix bug and improved code for export

    "Fix Bug"
    - USERGRID-193
    - https://issues.apache.org/jira/browse/USERGRID-193
    
    - The saveConnections() and saveDictionaries() methods are called at the end of SaveCollectionMembers() in file ExportServiceImpl.java, but if collection for an entity was null, then it would just return and not export the connections and dictionaries for that particular entity, thus calling these functions in the start of the method ensures, that all connections and dictionaries are always exported.
    
    "Improve Export Test Cases"
    - USERGRID-194
    - https://issues.apache.org/jira/browse/USERGRID-194
    
    - Removed redundant code and added testcases for exportOrganization Null pointer checks.
    
    Conflicts:
    	stack/services/src/main/java/org/apache/usergrid/management/export/ExportServiceImpl.java

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/prj2113/incubator-usergrid fix-export

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-usergrid/pull/27.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #27
    
----
commit df6b84a76dd0c0b27e25c352f3af1c3d13f8f9c7
Author: Harish Rajagopal <ap...@harish-rajagopals-macbook-pro.local>
Date:   2014-07-17T22:27:08Z

    "Fix bug"
    - USERGRID-193
    
    - The saveConnections() and saveDictionaries() methods are called at the end of SaveCollectionMembers() in file ExportServiceImpl.java, but if collection for an entity was null, then it would just return and not export the connections and dictionaries for that particular entity, thus calling these functions in the start of the method ensures, that all connections and dictionaries are always exported.
    
    "Improve Export Test Cases"
    - USERGRID-194
    
    - Removed redundant code and added testcases for exportOrganization Null pointer checks.
    
    Conflicts:
    	stack/services/src/main/java/org/apache/usergrid/management/export/ExportServiceImpl.java

----


> SaveCollectionMembers in Export does not correctly export all entity data
> -------------------------------------------------------------------------
>
>                 Key: USERGRID-193
>                 URL: https://issues.apache.org/jira/browse/USERGRID-193
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>            Reporter: Pooja Jain
>            Priority: Minor
>
> The saveConnections() and saveDictionaries() methods are called at the end of SaveCollectionMembers() in file ExportServiceImpl.java  
> but if collection for an entity was null, then it would just return and not export the connections and dictionaries for that particular entity, thus calling these functions in the start of the method ensures, that all connections and dictionaries are always exported.



--
This message was sent by Atlassian JIRA
(v6.2#6252)