Results 28 issues of Bob Ray

On a real server, each time a rewrite rule is triggered, even with [L], another pass is made through .htaccess with the new URL. The tester appears to show only...

enhancement

## Bug report ### Summary This is very much an edge case. The code below will fail in PHP >= 8.1 if the path is null. If the 'path' or...

bug

## Bug report ### Summary Some resources installed by extras can have a createdon value of 0. In MODX 3.0.4, this crashes the Recently edited widget with a big error...

bug

## Bug report This should probably be called a usability issue rather than a bug ### Summary When editing an already created media source, clicking on any of the fields...

bug

## Bug report ### Summary After moving the core back under the web root as required by MODX 3, the core path in the `modx_workspaces` table retains the old path...

bug
area-setup

## Bug report ### Summary Correct me if I'm wrong, but the `UNINSTALL_OBJECT` constant was added to make the updateability and removal of objects independent. IOW, - Objects with `UNINSTALL_OBJECT=true`...

bug

bobray created Redmine issue ID 9960 I think this would do it (untested), but there may be a better way. Remove the OnResourceDuplicate invocation from the resource/duplicate processor. Put this...

feature

#### What are you trying to achieve? Run an Acceptance test on a set of tabs. #### What do you get instead? A variety of errors where $I can click...

Line 153 of core\components\discuss\hooks\board\post\getlist.php ``` $threadArray['excerpt'] = substr($threadArray['excerpt'],0,$modx->getOption('discuss.post_excerpt_length', null, 500)).'...'; ``` should be" ``` $threadArray['excerpt'] = substr($threadArray['excerpt'],0, (float) $modx->getOption('discuss.post_excerpt_length', null, 500)).'...'; ``` Substr() wants argument 3 to be a long...

$c = $modx->newQuery('modResource'); $c->where(array('class_key' => 'modDocument')); $modx->updateCollection('modResource', array('class_key' => 'extResource'), $c); This code should update only resources with class_key set to 'modDocument'. It updates every resource for me - a...