MMBase

When creating mediasources sometimes multiple mediafragments get created

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: Media
  • Description:
    Hide
    There are several fields title, subtitle, intro and body that share the same processors that may be causing this behavior when fired at the same instant:

         <getprocessor>
            <class name="org.mmbase.datatypes.processors.RelatedField$Creator">
              <param name="createTypeProperty">org.mmbase.media.containertype</param>
              <param name="type">mediafragments</param>
              <param name="searchDir">source</param>
            </class>
            <class name="org.mmbase.datatypes.processors.RelatedField$Getter">
              <param name="type">mediafragments</param>
              <param name="searchDir">source</param>
            </class>
          </getprocessor>

    It does happen very rarely and is because of this very hard to reproduce.
    Show
    There are several fields title, subtitle, intro and body that share the same processors that may be causing this behavior when fired at the same instant:      <getprocessor>         <class name="org.mmbase.datatypes.processors.RelatedField$Creator">           <param name="createTypeProperty">org.mmbase.media.containertype</param>           <param name="type">mediafragments</param>           <param name="searchDir">source</param>         </class>         <class name="org.mmbase.datatypes.processors.RelatedField$Getter">           <param name="type">mediafragments</param>           <param name="searchDir">source</param>         </class>       </getprocessor> It does happen very rarely and is because of this very hard to reproduce.
  • Environment:
    Especially when used with the streams applications, maybe because stuffs gets commited rapidly

Activity

Hide
André van Toly added a comment - 2012-05-29 13:40
Looks like this is resolved by really using transactions in storage layer.
Show
André van Toly added a comment - 2012-05-29 13:40 Looks like this is resolved by really using transactions in storage layer.

People

Dates

  • Created:
    2011-05-25 17:14
    Updated:
    2012-05-29 13:40
    Resolved:
    2012-05-29 13:40