[JBoss JIRA] (JBIDE-11278) compile failed in hibernate
by Nick Boldt (JIRA)
Nick Boldt created JBIDE-11278:
----------------------------------
Summary: compile failed in hibernate
Key: JBIDE-11278
URL: https://issues.jboss.org/browse/JBIDE-11278
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.3.0.Beta2
Reporter: Nick Boldt
Assignee: Dmitry Geraskov
Fix For: 3.3.0.Beta2
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project org.jboss.ide.eclipse.as.ui: Compilation failure: Compilation failure:
[ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.continuous/sources/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ExploreActionProvider.java:[46,0]
[ERROR] public boolean canExplore(IServer server, IModule[] module) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method canExplore(IServer, IModule[]) of type new ExploreActionProvider.IExploreBehavior(){} must override a superclass method
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]
http://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.continuous/379...
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project org.hibernate.eclipse.console: Compilation failure: Compilation failure:
[ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--hibernatetools/sources/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java:[148,0]
[ERROR] String generateSQL = hibernateExtension.generateSQL(editor.getQueryString());
[ERROR] ^^^^^^^^^^^
[ERROR] The method generateSQL(String) is undefined for the type HibernateExtension
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]
https://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.component--hi...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] Created: (JBIDE-9748) Openshift service: JSonSanitizer should be able to handle valid json objects with escaped quotes
by Andre Dietisheim (JIRA)
Openshift service: JSonSanitizer should be able to handle valid json objects with escaped quotes
------------------------------------------------------------------------------------------------
Key: JBIDE-9748
URL: https://issues.jboss.org/browse/JBIDE-9748
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M4
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M4
The JSonSanitzer currently is in place to 'sanitize' invalid json that is being responded by the openshift service. It corrects erroneously quotes json objects with escaped quotes in it:
{code}
...
"aJsonObjectHere": "{
\"aNestedProperty\" : \"withAStringValue\"
}"
...
{code}
*This sanitizer should be able to handle valid and invalid json since openshift could fix their bug after we release our plugins. *
The current implementation would most likely sanitize string values erroneously, if they have escaped quotes in the value:
{code}
"aStringValueWithA\"Quote"
{code}
The above value would get transformed into an invalid value if the json object would be reported in a valid way (aka not quoted and the quotes in it not escaped):
{code}
...
"aJsonObjectHere": {
"aNestedProperty\" : "withAStringValueWithA\"Quote"
}
{code}
The above would become:
{code}
...
"aJsonObjectHere": {
"aNestedProperty\" : "withAStringValueWithA\"Quote"
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months