Bug 779303 (SOA-1691)

Summary: ER5 - jUDDI console - publisher edit form lacks a save/cancel button
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Len DiMaggio <ldimaggi>
Component: jUDDI - within SOAAssignee: Kurt Stam <kurt.stam>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0 ER4   
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1691
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
ER5
Last Closed: 2011-03-01 16:45:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
no_edit_Screenshot.png
none
error_Screenshot.png
none
null_Screenshot.png none

Description Len DiMaggio 2009-12-08 19:35:55 UTC
Date of First Response: 2009-12-22 09:46:19
project_key: SOA

The publisher edit form - see attached screen shot - does not include a save/OK or cancel button - how does the user save changes?

Comment 1 Len DiMaggio 2009-12-08 19:36:57 UTC
Attachment: Added: no_edit_Screenshot.png


Comment 2 Len DiMaggio 2009-12-08 19:39:21 UTC
And - selecting the save to disk or delete option while the edit box is open results in this error/dialog box - see attached file.

And this error is written to the log - the log error makes some sense - but the dialog box will cause some confusion.

14:24:48,889 ERROR [JUDDIApiServiceImpl] Could not obtain publishers. null
java.lang.reflect.UndeclaredThrowableException
        at $Proxy223.savePublisher(Unknown Source)
        at org.apache.juddi.portlets.server.service.JUDDIApiServiceImpl.savePublisher(JUDDIApiServiceImpl.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
        at java.util.concurrent.FutureTask.get(FutureTask.java:111)
        at org.jboss.internal.soa.esb.registry.server.JuddiInVMServerTransport$TaskHandler.invoke(JuddiInVMServerTransport.java:418)
        ... 32 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.jboss.internal.soa.esb.registry.server.JuddiInVMServerTransport$TaskHandler$1.call(JuddiInVMServerTransport.java:414)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        ... 1 more
Caused by: org.apache.juddi.v3.error.UserMismatchException: An account must have administrative privileges to save publishers
        at org.apache.juddi.validation.ValidatePublish.validateSavePublisher(ValidatePublish.java:1027)
        at org.apache.juddi.api.impl.JUDDIApiImpl.savePublisher(JUDDIApiImpl.java:97)
        ... 10 more


Comment 3 Len DiMaggio 2009-12-08 19:39:21 UTC
Attachment: Added: error_Screenshot.png


Comment 4 Len DiMaggio 2009-12-08 19:40:16 UTC
Attachment: Added: null_Screenshot.png


Comment 5 Kurt Stam 2009-12-22 14:46:19 UTC
We'll try adding some ErrorMsgs that make sense. I think right now we display whatever the jUDDI core code gives us back which may not always make sense: http://issues.apache.org/jira/browse/JUDDI-331

Comment 6 Jiri Locker 2010-01-08 15:56:39 UTC
If you log in as an admin user then you can create/edit/delete publishers. What might be confusing is that you can use the "New" button and input data for the new publisher even if you're not admin and thus cannot save the new data.


Comment 7 Jiri Locker 2010-01-08 15:57:58 UTC
Link: Added: This issue is related to SOA-1710