[jira] [Comment Edited] (OFBIZ-6734) Better explain fields in FormWidgetExampleForms

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux edited comment on OFBIZ-6734 at 12/17/18 5:43 PM:
--

At revision: 1849116  I removed 3 useless TODO



was (Author: jacques.le.roux):
At revision: 1849116  I removed 2 useless TODO


> Better explain fields in FormWidgetExampleForms
> ---
>
> Key: OFBIZ-6734
> URL: https://issues.apache.org/jira/browse/OFBIZ-6734
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: 17.12.01
>
>
> We have currently a number of fields not explained



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


[jira] [Commented] (OFBIZ-6734) Better explain fields in FormWidgetExampleForms

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-6734:


At revision: 1849116  I removed 2 useless TODO


> Better explain fields in FormWidgetExampleForms
> ---
>
> Key: OFBIZ-6734
> URL: https://issues.apache.org/jira/browse/OFBIZ-6734
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: 17.12.01
>
>
> We have currently a number of fields not explained



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


[jira] [Created] (OFBIZ-10721) Remove all the fk dependencies from stats entities to the business entities

2018-12-17 Thread Aditya Sharma (JIRA)
Aditya Sharma created OFBIZ-10721:
-

 Summary: Remove all the fk dependencies from stats entities to the 
business entities
 Key: OFBIZ-10721
 URL: https://issues.apache.org/jira/browse/OFBIZ-10721
 Project: OFBiz
  Issue Type: Task
  Components: framework
Affects Versions: Trunk
Reporter: Aditya Sharma
Assignee: Aditya Sharma


As per the previous [discussion|https://markmail.org/message/itdzyzfv7jwdr5jj] 
on dev ml and OFBIZ-9356,  stats related entities foreign key relation has been 
removed by Jacopo at r#1647271 and new group org.apache.ofbiz.stats introduced 
for stats related entity.  I found some remnant still left in stats entities. 



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


[jira] [Updated] (OFBIZ-10721) Remove all the fk dependencies from stats entities to the business entities

2018-12-17 Thread Aditya Sharma (JIRA)


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

Aditya Sharma updated OFBIZ-10721:
--
Attachment: OFBIZ-10721.patch

> Remove all the fk dependencies from stats entities to the business entities
> ---
>
> Key: OFBIZ-10721
> URL: https://issues.apache.org/jira/browse/OFBIZ-10721
> Project: OFBiz
>  Issue Type: Task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Aditya Sharma
>Assignee: Aditya Sharma
>Priority: Minor
> Attachments: OFBIZ-10721.patch
>
>
> As per the previous 
> [discussion|https://markmail.org/message/itdzyzfv7jwdr5jj] on dev ml and 
> OFBIZ-9356,  stats related entities foreign key relation has been removed by 
> Jacopo at r#1647271 and new group org.apache.ofbiz.stats introduced for stats 
> related entity.  I found some remnant still left in stats entities. 



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


[jira] [Commented] (OFBIZ-10721) Remove all the fk dependencies from stats entities to the business entities

2018-12-17 Thread Aditya Sharma (JIRA)


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

Aditya Sharma commented on OFBIZ-10721:
---

Attached a patch.
Removed relations of Party, ContactMech and Content from ServerHit entity.

Removed relations of Content from ServerHitBin entity.

Removed relations of UserLogin from Visitor entity.

> Remove all the fk dependencies from stats entities to the business entities
> ---
>
> Key: OFBIZ-10721
> URL: https://issues.apache.org/jira/browse/OFBIZ-10721
> Project: OFBiz
>  Issue Type: Task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Aditya Sharma
>Assignee: Aditya Sharma
>Priority: Minor
> Attachments: OFBIZ-10721.patch
>
>
> As per the previous 
> [discussion|https://markmail.org/message/itdzyzfv7jwdr5jj] on dev ml and 
> OFBIZ-9356,  stats related entities foreign key relation has been removed by 
> Jacopo at r#1647271 and new group org.apache.ofbiz.stats introduced for stats 
> related entity.  I found some remnant still left in stats entities. 



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


[jira] [Commented] (OFBIZ-10720) How to integrate OfBiz framework with spring micro service

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-10720:
-

Thanks Pierre,

But Bojjanna, please use rather the user ML for such questions, see why here 
http://ofbiz.apache.org/mailing-lists.html
You will get a better support and it's more fair to share with everybody

The wider the audience the better the answers you might get

Thanks

Jacques


> How to integrate OfBiz framework with spring micro service
> --
>
> Key: OFBIZ-10720
> URL: https://issues.apache.org/jira/browse/OFBIZ-10720
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: 16.11.05
>Reporter: Bojjanna
>Priority: Major
>
> Dear,
> I would like to integrate the OfBiz framework with Spring micro service.
> Please help to provide best solution,how i can invoke the OfBiz server from 
> my application.
>  
> Thanks
> Vemula
>  



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


[jira] [Commented] (OFBIZ-10720) How to integrate OfBiz framework with spring micro service

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-10720:
-

Mmm Pierre, your link would be to unsubscribe ;)

> How to integrate OfBiz framework with spring micro service
> --
>
> Key: OFBIZ-10720
> URL: https://issues.apache.org/jira/browse/OFBIZ-10720
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: 16.11.05
>Reporter: Bojjanna
>Priority: Major
>
> Dear,
> I would like to integrate the OfBiz framework with Spring micro service.
> Please help to provide best solution,how i can invoke the OfBiz server from 
> my application.
>  
> Thanks
> Vemula
>  



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


[jira] [Comment Edited] (OFBIZ-6734) Better explain fields in FormWidgetExampleForms

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux edited comment on OFBIZ-6734 at 12/17/18 4:53 PM:
--

After the convo in dev ML I created OFBIZ-10719. Now remain here 8 TODOs to 
fill.


was (Author: jacques.le.roux):
After the convo in dev ML I created OFBIZ-10719. Now remain here only 2 TODO to 
fill.

> Better explain fields in FormWidgetExampleForms
> ---
>
> Key: OFBIZ-6734
> URL: https://issues.apache.org/jira/browse/OFBIZ-6734
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: 17.12.01
>
>
> We have currently a number of fields not explained



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


[jira] [Comment Edited] (OFBIZ-10720) How to integrate OfBiz framework with spring micro service

2018-12-17 Thread Pierre Smits (JIRA)


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

Pierre Smits edited comment on OFBIZ-10720 at 12/17/18 5:00 PM:


Hi [~vemulabujji],

It seems to me that this ticket should not have been raised at this moment in 
time, as it appears you're asking a question that would quite nicely fit in our 
dev forum [1]. There it can trigger a faster response and from a more diverse 
audience. 

[1]  [dev-subscr...@ofbiz.apache.org|mailto:dev-subscr...@ofbiz.apache.org] 

Best regards,

Pierre


was (Author: pfm.smits):
Hi [~vemulabujji],

It seems to me that this ticket should not have been raised at this moment in 
time, as it appears you're asking a question that would quite nicely fit in our 
dev forum [1]. There it can trigger a faster response and from a more diverse 
audience. 

[1]  [dev-unsubscr...@ofbiz.apache.org|mailto:dev-unsubscr...@ofbiz.apache.org] 

Best regards,

Pierre

> How to integrate OfBiz framework with spring micro service
> --
>
> Key: OFBIZ-10720
> URL: https://issues.apache.org/jira/browse/OFBIZ-10720
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: 16.11.05
>Reporter: Bojjanna
>Priority: Major
>
> Dear,
> I would like to integrate the OfBiz framework with Spring micro service.
> Please help to provide best solution,how i can invoke the OfBiz server from 
> my application.
>  
> Thanks
> Vemula
>  



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


[jira] [Commented] (OFBIZ-6734) Better explain fields in FormWidgetExampleForms

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-6734:


bq. Field8: Javascript eventHow to use the event and action attributes (in 
the field element) to trigger a Javascript action (in this example a popup 
message when the option is changed).
does not work

> Better explain fields in FormWidgetExampleForms
> ---
>
> Key: OFBIZ-6734
> URL: https://issues.apache.org/jira/browse/OFBIZ-6734
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: 17.12.01
>
>
> We have currently a number of fields not explained



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


[jira] [Commented] (OFBIZ-6734) Better explain fields in FormWidgetExampleForms

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-6734:


These warnings show (GB locale used, same in French)
{noformat}
 2018-12-17 12:22:05,383 |jsse-nio-8443-exec-9 |ScreenFactory |I| Got 27 
screens in 0.018s from: 
file:/C:/projectsASF/ofbiz/themes/common-theme/widget/CommonScreens.xml
 2018-12-17 12:22:05,715 |jsse-nio-8443-exec-9 |MacroFormRenderer |W| Form 
widget field [field4] with input-method="time-dropdown" was not able to 
understand the default time 2018-12-17%20122205.671. The parsing
 error was: Timestamp format must be -mm-dd hh:mm:ss[.f]
 2018-12-17 12:22:05,723 |jsse-nio-8443-exec-9 |MacroFormRenderer |W| Form 
widget field [field5] with input-method="time-dropdown" was not able to 
understand the default time 2018-12-17%20122205.671. The parsing
 error was: Timestamp format must be -mm-dd hh:mm:ss[.f]
 2018-12-17 12:22:05,761 |jsse-nio-8443-exec-9 |MacroFormRenderer |W| Form 
widget field [field12] with input-method="time-dropdown" was not able to 
understand the default time 2018-12-17%20122205.671. The parsing
 error was: Timestamp format must be -mm-dd hh:mm:ss[.f]{noformat}

> Better explain fields in FormWidgetExampleForms
> ---
>
> Key: OFBIZ-6734
> URL: https://issues.apache.org/jira/browse/OFBIZ-6734
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: 17.12.01
>
>
> We have currently a number of fields not explained



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


[jira] [Created] (OFBIZ-10717) EntityUtilProperties.getProperties method should use cache.

2018-12-17 Thread Deepak Dixit (JIRA)
Deepak Dixit created OFBIZ-10717:


 Summary: EntityUtilProperties.getProperties method should use 
cache.
 Key: OFBIZ-10717
 URL: https://issues.apache.org/jira/browse/OFBIZ-10717
 Project: OFBiz
  Issue Type: Improvement
Reporter: Deepak Dixit
Assignee: Deepak Dixit


getProperties method fetches all the SystemProperty of given resourceName. It 
should use the cache while fetching record from database. 



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


[jira] [Created] (OFBIZ-10718) Use namespaces instead of ShemaLocation and noNamespaceSchemaLocation

2018-12-17 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-10718:
---

 Summary: Use namespaces instead of ShemaLocation and 
noNamespaceSchemaLocation
 Key: OFBIZ-10718
 URL: https://issues.apache.org/jira/browse/OFBIZ-10718
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Jacques Le Roux
 Fix For: Upcoming Branch


As suggested by [~paul_foxworthy] at bottom of OFBIZ-6807
{quote}
ShemaLocation and noNamespaceSchemaLocation are hacks. It is silly to expect an 
XML document to know the right place for its schema. So its good that you 
removed schemaLocation from the webapp files.

However, there are still thousands of noNamespaceSchemaLocation in other XML 
files.

What the XML files should have is a namespace. Then external tools can map from 
the namespace to a catalogue of schemas to validate elements within those 
namespaces.

I suspect the noNamespaceSchemaLocation attributes are there because people 
were used to SGML and SGML-like documents (including HTML) having a DOCTYPE 
that refers to a location for a DTD. With experience, that has turned out to be 
a mistake - note in HTML5 you just say "it's HTML", no mention of a DTD.

So if you're doing anything to improve XML files, I suggest you include a 
namespace instead of schemaLocation and noNamespaceSchemaLocation. XML 
validators and IDEs like IntelliJ IDEA and Eclipse can find the right schema 
based on the namespace.
{quote}

{quote}
The Eclipse catalogs may not work for other IDEs, so we may need to maintain 
several versions. It shouldn't be too hard because we won't be defining new XML 
schemas and namespaces very often. Mostly we'd just change details within them, 
and that won't affect the catalog or catalogs.
{quote}



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


[jira] [Assigned] (OFBIZ-10645) Empty entity name should not be allowed in entity definition

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux reassigned OFBIZ-10645:
---

Assignee: Aditya Sharma  (was: Jacques Le Roux)

Works for me, thanks Aiditya

> Empty entity name should not be allowed in entity definition
> 
>
> Key: OFBIZ-10645
> URL: https://issues.apache.org/jira/browse/OFBIZ-10645
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12
>Reporter: Ashish Kumar Pandey
>Assignee: Aditya Sharma
>Priority: Trivial
> Attachments: EntityMaintError.png, OFBIZ-10645-alternate.patch, 
> OFBIZ-10645.patch, OFBIZ-10645.patch
>
>
> Present system allows empty name in entity definition due to which there 
> SQLException in console log and error on Entity Mantainence page.
> {code:java}
> 2018-11-10 14:43:45,522 |OFBiz-batch-3    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:43:45,522 |OFBiz-batch-1    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:43:45,522 |OFBiz-batch-2    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:44:06,198 |OFBiz-batch-2    |DatabaseUtil  
> |W| Entity [] has no table in the database
> 2018-11-10 14:44:06,243 |pool-3-thread-1  |DatabaseUtil  
> |E| SQL Exception while executing the following:
> CREATE TABLE OFBIZ. (TEST_ID VARCHAR(20) NOT NULL, LAST_UPDATED_STAMP 
> TIMESTAMP, LAST_UPDATED_TX_STAMP TIMESTAMP, CREATED_STAMP TIMESTAMP, 
> CREATED_TX_STAMP TIMESTAMP,  PRIMARY KEY (TEST_ID))
> Error was: java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at 
> line 1, column 21.
> java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at line 1, 
> column 21.
>     at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) 
> ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(Unknown Source) 
> ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
>  ~[commons-dbcp2-2.1.1.jar:2.1.1]
>     at 
> org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
>  ~[commons-dbcp2-2.1.1.jar:2.1.1]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil.createTable(DatabaseUtil.java:1677) 
> [ofbiz.jar:?]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil$CreateTableCallable.call(DatabaseUtil.java:1516)
>  [ofbiz.jar:?]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil$CreateTableCallable.call(DatabaseUtil.java:1502)
>  [ofbiz.jar:?]
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [?:1.8.0_66]
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [?:1.8.0_66]
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [?:1.8.0_66]
>     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
> Caused by: org.apache.derby.iapi.error.StandardException: Syntax error: 
> Encountered "(" at line 1, column 21.
>     at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.sql.compile.ParserImpl.parseStatementOrSearchCondition(Unknown
>  Source) ~[derby-10.14.1.0.jar:?]
>     at 
> 

[jira] [Assigned] (OFBIZ-10645) Empty entity name should not be allowed in entity definition

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux reassigned OFBIZ-10645:
---

Assignee: Jacques Le Roux  (was: Aditya Sharma)

> Empty entity name should not be allowed in entity definition
> 
>
> Key: OFBIZ-10645
> URL: https://issues.apache.org/jira/browse/OFBIZ-10645
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12
>Reporter: Ashish Kumar Pandey
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: EntityMaintError.png, OFBIZ-10645-alternate.patch, 
> OFBIZ-10645.patch, OFBIZ-10645.patch
>
>
> Present system allows empty name in entity definition due to which there 
> SQLException in console log and error on Entity Mantainence page.
> {code:java}
> 2018-11-10 14:43:45,522 |OFBiz-batch-3    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:43:45,522 |OFBiz-batch-1    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:43:45,522 |OFBiz-batch-2    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:44:06,198 |OFBiz-batch-2    |DatabaseUtil  
> |W| Entity [] has no table in the database
> 2018-11-10 14:44:06,243 |pool-3-thread-1  |DatabaseUtil  
> |E| SQL Exception while executing the following:
> CREATE TABLE OFBIZ. (TEST_ID VARCHAR(20) NOT NULL, LAST_UPDATED_STAMP 
> TIMESTAMP, LAST_UPDATED_TX_STAMP TIMESTAMP, CREATED_STAMP TIMESTAMP, 
> CREATED_TX_STAMP TIMESTAMP,  PRIMARY KEY (TEST_ID))
> Error was: java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at 
> line 1, column 21.
> java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at line 1, 
> column 21.
>     at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) 
> ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(Unknown Source) 
> ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
>  ~[commons-dbcp2-2.1.1.jar:2.1.1]
>     at 
> org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
>  ~[commons-dbcp2-2.1.1.jar:2.1.1]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil.createTable(DatabaseUtil.java:1677) 
> [ofbiz.jar:?]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil$CreateTableCallable.call(DatabaseUtil.java:1516)
>  [ofbiz.jar:?]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil$CreateTableCallable.call(DatabaseUtil.java:1502)
>  [ofbiz.jar:?]
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [?:1.8.0_66]
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [?:1.8.0_66]
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [?:1.8.0_66]
>     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
> Caused by: org.apache.derby.iapi.error.StandardException: Syntax error: 
> Encountered "(" at line 1, column 21.
>     at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.sql.compile.ParserImpl.parseStatementOrSearchCondition(Unknown
>  Source) ~[derby-10.14.1.0.jar:?]
>     at 
> 

[jira] [Closed] (OFBIZ-6807) UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux closed OFBIZ-6807.
--
   Resolution: Workaround
Fix Version/s: Release Branch 14.12
   Release Branch 15.12
   Release Branch 16.11

I close here as a workaround, after creating OFBIZ-10718 based on Paul's 
suggestion, which is the right thing to do.

> UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with 
> publicId [null] and the file/resource is [web-app_3_0.xsd]
> 
>
> Key: OFBIZ-6807
> URL: https://issues.apache.org/jira/browse/OFBIZ-6807
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12
>Reporter: Deepak Dixit
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: Release Branch 16.11, Release Branch 15.12, Release 
> Branch 14.12
>
>
> System throws following exception on server start:
> {code}
> [java] 2016-01-16 15:04:50,942 |catalina-startup-2   |UtilXml 
>   |W| [UtilXml.LocalResolver.resolveEntity] could not find LOCAL 
> DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]
> {code}



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


[jira] [Created] (OFBIZ-10719) Resolve possible conflicts for masked date input feature

2018-12-17 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-10719:
---

 Summary: Resolve possible conflicts for masked date input feature
 Key: OFBIZ-10719
 URL: https://issues.apache.org/jira/browse/OFBIZ-10719
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: Trunk
Reporter: Jacques Le Roux
 Fix For: Upcoming Branch


This follows a discussion in dev ML 
https://markmail.org/message/rcvcggya3bqs2a53. Here is an extract:

{quote}
I  was looking at OFBIZ-6734 and specifically the comment I made there about 
mask feature for date-time fields.

The masked input for date-time fields does not work as it should (compare 
behaviour of the 1st field of 
https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples and 
https://igorescobar.github.io/jQuery-Mask-Plugin/)
I think there is a conflict between the calendar which is used by default with 
date-time fields and the masked input feature. So masked input feature is 
ignored and adds nothing to date-time fields which is confusing.
{quote}

Note this fearure was introduced by 
http://svn.apache.org/viewvc?view=revision=1081333



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


[jira] [Commented] (OFBIZ-10645) Empty entity name should not be allowed in entity definition

2018-12-17 Thread Aditya Sharma (JIRA)


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

Aditya Sharma commented on OFBIZ-10645:
---

Thanks [~jacques.le.roux] for the review :) 

> Empty entity name should not be allowed in entity definition
> 
>
> Key: OFBIZ-10645
> URL: https://issues.apache.org/jira/browse/OFBIZ-10645
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12
>Reporter: Ashish Kumar Pandey
>Assignee: Aditya Sharma
>Priority: Trivial
> Attachments: EntityMaintError.png, OFBIZ-10645-alternate.patch, 
> OFBIZ-10645.patch, OFBIZ-10645.patch
>
>
> Present system allows empty name in entity definition due to which there 
> SQLException in console log and error on Entity Mantainence page.
> {code:java}
> 2018-11-10 14:43:45,522 |OFBiz-batch-3    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:43:45,522 |OFBiz-batch-1    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:43:45,522 |OFBiz-batch-2    |DatabaseUtil  
> |I| Error getting primary key info from database with null tableName, will 
> try other means: java.sql.SQLException: Table name can not be null
> 2018-11-10 14:44:06,198 |OFBiz-batch-2    |DatabaseUtil  
> |W| Entity [] has no table in the database
> 2018-11-10 14:44:06,243 |pool-3-thread-1  |DatabaseUtil  
> |E| SQL Exception while executing the following:
> CREATE TABLE OFBIZ. (TEST_ID VARCHAR(20) NOT NULL, LAST_UPDATED_STAMP 
> TIMESTAMP, LAST_UPDATED_TX_STAMP TIMESTAMP, CREATED_STAMP TIMESTAMP, 
> CREATED_TX_STAMP TIMESTAMP,  PRIMARY KEY (TEST_ID))
> Error was: java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at 
> line 1, column 21.
> java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at line 1, 
> column 21.
>     at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) 
> ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(Unknown Source) 
> ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
>  ~[commons-dbcp2-2.1.1.jar:2.1.1]
>     at 
> org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
>  ~[commons-dbcp2-2.1.1.jar:2.1.1]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil.createTable(DatabaseUtil.java:1677) 
> [ofbiz.jar:?]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil$CreateTableCallable.call(DatabaseUtil.java:1516)
>  [ofbiz.jar:?]
>     at 
> org.apache.ofbiz.entity.jdbc.DatabaseUtil$CreateTableCallable.call(DatabaseUtil.java:1502)
>  [ofbiz.jar:?]
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [?:1.8.0_66]
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [?:1.8.0_66]
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [?:1.8.0_66]
>     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
> Caused by: org.apache.derby.iapi.error.StandardException: Syntax error: 
> Encountered "(" at line 1, column 21.
>     at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source) ~[derby-10.14.1.0.jar:?]
>     at 
> org.apache.derby.impl.sql.compile.ParserImpl.parseStatementOrSearchCondition(Unknown
>  Source) ~[derby-10.14.1.0.jar:?]
>     at 
> 

[jira] [Commented] (OFBIZ-10719) Resolve possible conflicts for masked date input feature

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-10719:
-

As it's useless and confusing, for now I commented out the only occurrence (in 
example component) at revision: 1849084  


> Resolve possible conflicts for masked date input feature
> 
>
> Key: OFBIZ-10719
> URL: https://issues.apache.org/jira/browse/OFBIZ-10719
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> This follows a discussion in dev ML 
> https://markmail.org/message/rcvcggya3bqs2a53. Here is an extract:
> {quote}
> I  was looking at OFBIZ-6734 and specifically the comment I made there about 
> mask feature for date-time fields.
> The masked input for date-time fields does not work as it should (compare 
> behaviour of the 1st field of 
> https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples and 
> https://igorescobar.github.io/jQuery-Mask-Plugin/)
> I think there is a conflict between the calendar which is used by default 
> with date-time fields and the masked input feature. So masked input feature 
> is ignored and adds nothing to date-time fields which is confusing.
> {quote}
> Note this fearure was introduced by 
> http://svn.apache.org/viewvc?view=revision=1081333



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


[jira] [Commented] (OFBIZ-6734) Better explain fields in FormWidgetExampleForms

2018-12-17 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-6734:


After the convo in dev ML I created OFBIZ-10719. Now remain here only 2 TODO to 
fill.

> Better explain fields in FormWidgetExampleForms
> ---
>
> Key: OFBIZ-6734
> URL: https://issues.apache.org/jira/browse/OFBIZ-6734
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: 17.12.01
>
>
> We have currently a number of fields not explained



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


[jira] [Commented] (OFBIZ-10720) How to integrate OfBiz framework with spring micro service

2018-12-17 Thread Pierre Smits (JIRA)


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

Pierre Smits commented on OFBIZ-10720:
--

Hi [~vemulabujji],

It seems to me that this ticket should not have been raised at this moment in 
time, as it appears you're asking a question that would quite nicely fit in our 
dev forum [1]. There it can trigger a faster response and from a more diverse 
audience. 

[1]  [dev-unsubscr...@ofbiz.apache.org|mailto:dev-unsubscr...@ofbiz.apache.org] 

Best regards,

Pierre

> How to integrate OfBiz framework with spring micro service
> --
>
> Key: OFBIZ-10720
> URL: https://issues.apache.org/jira/browse/OFBIZ-10720
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: 16.11.05
>Reporter: Bojjanna
>Priority: Major
>
> Dear,
> I would like to integrate the OfBiz framework with Spring micro service.
> Please help to provide best solution,how i can invoke the OfBiz server from 
> my application.
>  
> Thanks
> Vemula
>  



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


[jira] [Created] (OFBIZ-10720) How to integrate OfBiz framework with spring micro service

2018-12-17 Thread Bojjanna (JIRA)
Bojjanna created OFBIZ-10720:


 Summary: How to integrate OfBiz framework with spring micro service
 Key: OFBIZ-10720
 URL: https://issues.apache.org/jira/browse/OFBIZ-10720
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: 16.11.05
Reporter: Bojjanna


Dear,

I would like to integrate the OfBiz framework with Spring micro service.

Please help to provide best solution,how i can invoke the OfBiz server from my 
application.

 

Thanks

Vemula

 



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