incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Posting message to pool strips tags - Bug?
Date Sun, 03 Jan 2010 16:01:34 GMT
Doesn't make much sense to me.

Probably Vassil knows the reason why this code is present since the
pool is code is from him.

D.


On Sun, Jan 3, 2010 at 4:52 PM, Ethan Jewett <esjewett@gmail.com> wrote:
> Hi,
>
> I've got Jira issue 151
> (https://issues.apache.org/jira/browse/ESME-151) created because Sig
> (Thingamy) is reporting issues posting messages to pools.
> Specifically, tags are stripped when posting to a pool.
>
> The reason is little code snippet in the UserActor.scala file:
>
>        val tagLst = pool match {
>          case Empty => tags.removeDuplicates.map(Tag.findOrCreate)
>          case _ => Nil
>        }
>
> It removes tags when a message is posted to a pool.
>
> Is there here for a reason? Is there a security reason? It's
> definitely something we need to fix, but I want to be sure that I'm
> not exposing messages in a pool through the tag UI.
>
> I think I will go ahead and fix this so that Sig can continue, but if
> there is something else that needs to be adjusted, please let me know
> and I'll work on that as well.
>
> Thanks,
> Ethan
>

Mime
View raw message