<![CDATA[ Known bugs - My Forums]]> https://forums.modx.com/thread/?thread=45487 <![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263276 Quote from: sottwell at Aug 07, 2011, 08:37 PM

No, YAMS is for Evo only.

For Revo, there’s this http://modxcms.com/forums/index.php/topic,67498.0

Thank you! =)]]>
elena-gileva Aug 10, 2011, 02:55 AM https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263276
<![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263275
For Revo, there’s this http://modxcms.com/forums/index.php/topic,67498.0]]>
sottwell Aug 07, 2011, 03:37 PM https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263275
<![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263274
When I install YAMS - my site write error:

Fatal error: Call to undefined method modX::recordCount() in /home/virtwww/.../http/assets/modules/yams/class/yams.class.inc.php on line 5554

And I don’t understand this :


3. Within MODx under Elements > Manage Elements > Plugins create a new plugin:
....
4. Within MODx under Elements > Manage Elements > Snippets create a new snippet:
....
5. Within MODx under Modules>Manage Modules create a new module:
....

I have done 3 and 4 , but I don’t understand 5 : there is no "Modules>Manage Modules" in Modx Revolution.]]>
elena-gileva Aug 07, 2011, 03:07 PM https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263274
<![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263273
I am running modx 1.0.4 with yams 1.2.0 RC3.
My Website has 2 languages, English as default and French.
I have a number of pages in the site that are ’weblink’ containets and the links usually point to their first child.

To implement the weblinks, I have set the Resource Type of the page to ’Weblink’ and
added the id of the document they redirect to ( my about-us/overview page ) in both the english content and french content areas.

When I use wayfinder, I am generating urls using yams_docr. In the english section, when I click the About us link, I am directed perfectly to about-us/overview. But When I am in french section, they do not, the url is empty, and I am directed back to "/" .

After some looking, I found some code in yams.class.inc.php, around line 3705 in private function GetDocResolvedURL,

It seemed to be:

if ( in_array( $newDocId, $seenDocIds ) )
{
     $expandArray[ $langId ] = '';
				
}
else
{
    array_push( $seenDocIds, $newDocId );
    $expandArray[ $langId ] =
            $this->GetDocResolvedURL(
                    $newDocId
                    , $mode
                    , $seenDocIds
                    );
}


The effect is, it generates the redirect for english, but when it parses french, it just sets the url to ’’, ( to prevent recursion ), I have made a change to fix this, so the code would be more like:

if ( !in_array( $newDocId, $seenDocIds ) )  array_push( $seenDocIds, $newDocId );

    $expandArray[ $langId ] =
            $this->GetDocResolvedURL(
                    $newDocId
                    , $mode
                    , $seenDocIds
                    );


This seems to solve my problem, I think you just want to preserve the $seenDocIds array, but it every case, you want to always resolve the url for all langagues. There is another spot in this function just below this where a similar fix could be applied as well. Anyone have any thoughts on this?]]>
wrostek Oct 01, 2010, 12:50 PM https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263273
<![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263272 ]]> fourroses666 Sep 10, 2010, 05:54 AM https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263272 <![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263271 PaulSuckling Jul 10, 2010, 11:48 AM https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263271 <![CDATA[Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263270
In version 1.2.0-rc3 is a problem with output encoding russian-utf8.
Modules - YAMS - Language Settings - "Select Language Text" and "Name for langId".
In version 1.1.9 was not the problem.

Best regards, Anton]]>
jonimant Jul 10, 2010, 10:35 AM https://forums.modx.com/thread/45487/known-bugs?page=3#dis-post-263270
<![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=2#dis-post-263269 sottwell Jun 18, 2010, 08:30 PM https://forums.modx.com/thread/45487/known-bugs?page=2#dis-post-263269 <![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=2#dis-post-263268 YAMS 1.2.0 RC2. If you’re able to test out the updated code at some stage that would be great.

Cheers.

EDIT: Fixed URL and version number. Thanks Sottwell!]]>
PaulSuckling Jun 18, 2010, 08:24 PM https://forums.modx.com/thread/45487/known-bugs?page=2#dis-post-263268
<![CDATA[Re: Known bugs]]> https://forums.modx.com/thread/45487/known-bugs?page=2#dis-post-263267 PaulSuckling Jun 15, 2010, 06:05 PM https://forums.modx.com/thread/45487/known-bugs?page=2#dis-post-263267