[jira] [Updated] (OFBIZ-10966) JSON entity data import and export utility

2019-06-26 Thread Jayansh Shinde (JIRA)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayansh Shinde updated OFBIZ-10966:
---
Attachment: (was: OFBIZ-10966.patch)

> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Minor
> Attachments: OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10966) JSON entity data import and export utility

2019-06-26 Thread Jayansh Shinde (JIRA)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayansh Shinde updated OFBIZ-10966:
---
Attachment: (was: OFBIZ-10966_24062019.patch)

> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Minor
> Attachments: OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10966) JSON entity data import and export utility

2019-06-26 Thread Jayansh Shinde (JIRA)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayansh Shinde updated OFBIZ-10966:
---
Attachment: OFBIZ-10966_27062019.patch

> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Minor
> Attachments: OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10966) JSON entity data import and export utility

2019-06-26 Thread Jayansh Shinde (JIRA)


[ 
https://issues.apache.org/jira/browse/OFBIZ-10966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16873821#comment-16873821
 ] 

Jayansh Shinde commented on OFBIZ-10966:


All known issues has been resolved. Thus I am attaching new patch for same.  
[^OFBIZ-10966_27062019.patch]

> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Minor
> Attachments: OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-11126) Any documentation on how create an item ? Required fields, format... ?

2019-06-26 Thread Michael Brohl (JIRA)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16872992#comment-16872992
 ] 

Michael Brohl commented on OFBIZ-11126:
---

If you think there is an error, please specify exactly what yo were doing and 
copy the error/stacktrace to this ticket.

> Any documentation on how create an item ? Required fields, format... ? 
> ---
>
> Key: OFBIZ-11126
> URL: https://issues.apache.org/jira/browse/OFBIZ-11126
> Project: OFBiz
>  Issue Type: Wish
>  Components: product
>Reporter: Bertrand
>Priority: Minor
>
> Hi, is there any documentation on how create an item ? Required fields, 
> format... ? I cannot manage to create a basic product as I get a - long - 
> error message which does not give clear information on the reason. There must 
> be one as I am a beginner on OFBiz, business user kind with NO tech skills 
> (sorry for that)... I spent a few hours looking for docs, *users side*, but 
> did not get success.
> Best regards :)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-11125) No proper error message displayed if user misses to select entities

2019-06-26 Thread Jayansh Shinde (JIRA)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-11125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayansh Shinde updated OFBIZ-11125:
---
Attachment: OFBiz-11125.patch

> No proper error message displayed if user misses to select entities 
> 
>
> Key: OFBIZ-11125
> URL: https://issues.apache.org/jira/browse/OFBIZ-11125
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/webtools
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Major
> Attachments: OFBiz-11125.patch, 
> OFBiz-Web-Tools-XML-Data-Export_no_proper_error_msg.png
>
>
> No Proper error message is displayed if user misses to select entities from 
> the list, and throw error message as shown in attached image



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (OFBIZ-11125) No proper error message displayed if user misses to select entities

2019-06-26 Thread Jayansh Shinde (JIRA)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16873829#comment-16873829
 ] 

Jayansh Shinde edited comment on OFBIZ-11125 at 6/27/19 5:29 AM:
-

Patch is enclosed here to resolve this error [^OFBiz-11125.patch].


was (Author: jayansh):
Patch is enclosed here to resolve this error.[^OFBiz-11125.patch]

> No proper error message displayed if user misses to select entities 
> 
>
> Key: OFBIZ-11125
> URL: https://issues.apache.org/jira/browse/OFBIZ-11125
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/webtools
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Major
> Attachments: OFBiz-11125.patch, 
> OFBiz-Web-Tools-XML-Data-Export_no_proper_error_msg.png
>
>
> No Proper error message is displayed if user misses to select entities from 
> the list, and throw error message as shown in attached image



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-11125) No proper error message displayed if user misses to select entities

2019-06-26 Thread Jayansh Shinde (JIRA)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16873829#comment-16873829
 ] 

Jayansh Shinde commented on OFBIZ-11125:


Patch is enclosed here to resolve this error.[^OFBiz-11125.patch]

> No proper error message displayed if user misses to select entities 
> 
>
> Key: OFBIZ-11125
> URL: https://issues.apache.org/jira/browse/OFBIZ-11125
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/webtools
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Major
> Attachments: OFBiz-11125.patch, 
> OFBiz-Web-Tools-XML-Data-Export_no_proper_error_msg.png
>
>
> No Proper error message is displayed if user misses to select entities from 
> the list, and throw error message as shown in attached image



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (OFBIZ-11125) No proper error message displayed if user misses to select entities

2019-06-26 Thread Jayansh Shinde (JIRA)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-11125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayansh Shinde reassigned OFBIZ-11125:
--

Assignee: Jayansh Shinde

> No proper error message displayed if user misses to select entities 
> 
>
> Key: OFBIZ-11125
> URL: https://issues.apache.org/jira/browse/OFBIZ-11125
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/webtools
>Reporter: Jayansh Shinde
>Assignee: Jayansh Shinde
>Priority: Major
> Attachments: OFBiz-Web-Tools-XML-Data-Export_no_proper_error_msg.png
>
>
> No Proper error message is displayed if user misses to select entities from 
> the list, and throw error message as shown in attached image



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)