(Each project requires you to login separately)

mediaattach

Ticket #69 (closed bug: fixed)

Opened 4 months ago

Last modified 3 months ago

Needle

Reported by: herr.vorragend Owned by: mateo
Priority: major Milestone: 1.0 RC2
Component: All general things Version: 1.0
Keywords: Cc:

Description

Hi,

I think that the Multihook-Needle for MediaAttach? isn't working.

I insert (via scribite) the FILEMANAGERxyz placeholder and reloaded the page. No differences. I just see the needle-text.

Change History

Changed 4 months ago by mateo

Mmmmmm
it worked when was MEDIAATTACH{P|I}-fileid ...

The code seems to not have problems, may be depends of the module
and the Hook transform filter application to the content, which is the module?
Which needle-texts are not working for you?
just curiosity ;-)

Changed 4 months ago by Guite

  • owner set to mateo
  • status changed from new to assigned
  • milestone set to 1.0 RC2

FILEMANAGERP-123 and FILEMANAGERI-123 are the ones which should work.
Assigned this one to Mateo.

Changed 4 months ago by herr.vorragend

I tried itin 'content' and 'pagesetter'.

I insert the following needle-text:

FILEMANAGERI-28

FILEMANAGERP-19

Nothing happens. The needles aren't working. (Hook is activated)

Changed 4 months ago by frank_r

also in 'AdminMessages?' and 'cprCalender'.
The needles from MediaAttch? aren't working.

Changed 4 months ago by mateo

This is due that MultiHook? checks for the needle name
and not for the "definition".

preg_match_all('/(?<![\/\w@\.:])' . strtoupper($needleneedle?) . '([a-zA-Z0-9_-]*?)(?![\/\w@:-])(?!\.\w)/', $text, $needleresults);

and $needleneedle? = 'mediaattach'
so, i'll revert the 'FILEMANAGER' change and see why MultiHook? still doesn't parse the results ok.

Changed 4 months ago by mateo

  • status changed from assigned to closed
  • resolution set to fixed

Testing today, the MediaAttach? needle is working again with the SVN copy ;-)
Forgot the "refs #69" on my commit.
Closed.

Changed 3 months ago by mateo

(In [189]) Neddle definition fix for unregistereds. Refs #69

Note: See TracTickets for help on using tickets.
 
 
Powered by Trac
Design by Arcsin