OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Patches 4887 and 2428[PKP] do not apply to OCS 2.3.3-1

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Patches 4887 and 2428[PKP] do not apply to OCS 2.3.3-1

Postby ramon » Fri Jun 03, 2011 11:21 am

Hello all,

According to bug #4887, this patch should apply to OCS 2.3.x versions.
However, it does apply only part of the patch.

The part that does not apply refers to ocs2/plugins/generic/customBlockMananger/CustomBlockPlugin.inc.php.
My ocs2 file states near line 30:
Code: Select all
/**
         * Get the management plugin
         * @return object
         */
        function &getManagerPlugin() {
                $plugin =& PluginRegistry::getPlugin('generic', 'CustomBlockManagerPlugin');
                return $plugin;
        }

And near line 195:
Code: Select all
/**
         * Get the name of this plugin. The name must be unique within
         * its category.
         * @return String name of plugin
         */
        function getName() {
                return $this->blockName . 'CustomBlockPlugin';
        }


The patch file states:
Code: Select all
@@ -37,6 +37,15 @@ class CustomBlockPlugin extends BlockPlugin {
                $plugin =& PluginRegistry::getPlugin('generic', $this->parentPluginName);
                return $plugin;
        }
+
+       /**
+        * Get the symbolic name of the plugin.
+        * @return string
+        */
+       function getName() {
+               return $this->blockName;
+       }


The other patch that is not being applied is patch for bug 6248.
There's no comment folder on the PKP lib in my OCS 2.3.3.-1 and the code in ocs2/classes/comment/CommentDAO.inc.php is different, as I mention in my reply to this post.

Any ideas?
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests