You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Antony Stubbs (JIRA)" <ji...@apache.org> on 2008/11/05 02:18:44 UTC

[jira] Created: (PLUTO-521) add warning when trying to publish an event when event not registered

add warning when trying to publish an event when event not registered
---------------------------------------------------------------------

                 Key: PLUTO-521
                 URL: https://issues.apache.org/jira/browse/PLUTO-521
             Project: Pluto
          Issue Type: Improvement
          Components: portal driver
            Reporter: Antony Stubbs
            Priority: Minor
             Fix For: 2.0.0


{code}
diff --git a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java b/pluto-portal-driver-
index 2f5669b..5d435dc 100644
--- a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
+++ b/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
@@ -194,6 +196,11 @@ public class EventProviderImpl implements org.apache.pluto.spi.EventProvider,
                                LOG.warn(e);
                        }
                }
+               else
+               {
+                       LOG.warn("Context not declared as publishing event \"" + qname +
+                               "\", so not publishing.");
+               }
        }

        /**
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-521) add warning when trying to publish an event when event not registered

Posted by "Antony Stubbs (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696822#action_12696822 ] 

Antony Stubbs commented on PLUTO-521:
-------------------------------------

Did you commit anything?

Sorry for not supplying a real patch Ate, I intended for it to be inserted manually, not patched in anyway.

Do you need more context? I could try to dig something up.... It's been a while though.

> add warning when trying to publish an event when event not registered
> ---------------------------------------------------------------------
>
>                 Key: PLUTO-521
>                 URL: https://issues.apache.org/jira/browse/PLUTO-521
>             Project: Pluto
>          Issue Type: Improvement
>          Components: portal driver
>            Reporter: Antony Stubbs
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> {code}
> diff --git a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java b/pluto-portal-driver-
> index 2f5669b..5d435dc 100644
> --- a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
> +++ b/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
> @@ -194,6 +196,11 @@ public class EventProviderImpl implements org.apache.pluto.spi.EventProvider,
>                                 LOG.warn(e);
>                         }
>                 }
> +               else
> +               {
> +                       LOG.warn("Context not declared as publishing event \"" + qname +
> +                               "\", so not publishing.");
> +               }
>         }
>         /**
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PLUTO-521) add warning when trying to publish an event when event not registered

Posted by "Ate Douma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PLUTO-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma resolved PLUTO-521.
-----------------------------

    Resolution: Incomplete

Sorry Antony,

I cannot match your "patch" to the code: I really need a more "context aware" patch based on svn, not git.

> add warning when trying to publish an event when event not registered
> ---------------------------------------------------------------------
>
>                 Key: PLUTO-521
>                 URL: https://issues.apache.org/jira/browse/PLUTO-521
>             Project: Pluto
>          Issue Type: Improvement
>          Components: portal driver
>            Reporter: Antony Stubbs
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> {code}
> diff --git a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java b/pluto-portal-driver-
> index 2f5669b..5d435dc 100644
> --- a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
> +++ b/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
> @@ -194,6 +196,11 @@ public class EventProviderImpl implements org.apache.pluto.spi.EventProvider,
>                                 LOG.warn(e);
>                         }
>                 }
> +               else
> +               {
> +                       LOG.warn("Context not declared as publishing event \"" + qname +
> +                               "\", so not publishing.");
> +               }
>         }
>         /**
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-521) add warning when trying to publish an event when event not registered

Posted by "Ate Douma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696927#action_12696927 ] 

Ate Douma commented on PLUTO-521:
---------------------------------

I didn't commit any no.
If you come up with a new patch, just reopen this issue and attach it and directly assign it to me then. 

> add warning when trying to publish an event when event not registered
> ---------------------------------------------------------------------
>
>                 Key: PLUTO-521
>                 URL: https://issues.apache.org/jira/browse/PLUTO-521
>             Project: Pluto
>          Issue Type: Improvement
>          Components: portal driver
>            Reporter: Antony Stubbs
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> {code}
> diff --git a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java b/pluto-portal-driver-
> index 2f5669b..5d435dc 100644
> --- a/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
> +++ b/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
> @@ -194,6 +196,11 @@ public class EventProviderImpl implements org.apache.pluto.spi.EventProvider,
>                                 LOG.warn(e);
>                         }
>                 }
> +               else
> +               {
> +                       LOG.warn("Context not declared as publishing event \"" + qname +
> +                               "\", so not publishing.");
> +               }
>         }
>         /**
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.