Item8235: JSCalendarContrib package contains unknown object method "expandMacros"

Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: JSCalendarContrib
Reported By: Foswiki:Main.ScottClaridge
Waiting For:
Last Change By: KennethLavrsen
Having just "asked a support" question I realise it is probably/possibly/maybe a bug. See my earlier item: Support/Question252 regarding unknown reference to expandMacros method in contrib package dated 22 Jul 2009

-- ScottClaridge - 10 Aug 2009

This updated package, has a new method signature on:
sub renderForEdit {
    my ( $this, $topicObject, $value ) = @_;
but the method is still being called with : ($web, $topic, $value )

Why was this changed? there are no notes on the plugin page about the update.

ScottClaridge: I have reverted the file to the old version for now.

-- SimonHarrison - 25 Aug 2009

JSCalendarContrib needs to be made backwards compatible.

When 1.1 is out people on 1.0 will update individual plugins incl. this one and then nothing will work.

And it is not necessary to break compatibilty. It is probably quite easy to make it compatible.

-- KennethLavrsen - 20 Sep 2009

The change was due to a global change in the trunk not taking into account the fact that comes from the contrib (my fault). The change was never merged to the release branch, so the version there is still good for released code.

-- CrawfordCurrie - 13 Nov 2009


ItemTemplate edit

Summary JSCalendarContrib package contains unknown object method "expandMacros"
ReportedBy Foswiki:Main.ScottClaridge
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component JSCalendarContrib
Priority Urgent
CurrentState Closed
Checkins distro:ef9ea2cf5adc
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy