[fixed]Admin Search can give false positives

For problem reports, and discussions about the CMSMS 2.2 beta.

This board will be locked once CMSMS 2.2 is officially released.
Locked
deactivated010521

[fixed]Admin Search can give false positives

Post by deactivated010521 »

Old contentblocks are not removed when changing content type or switching template.


- create a template with 2 content blocks (Layout > Design Manager):

Code: Select all

	{content label="first"}
	{content block="second" label="second"}

- add content (Content > Content Manager):

Code: Select all

	firstblock
	secondblock
- search on added content (Extensions > Admin Search):

Search Text: firstblock || secondblock

- change content typ to redirect link (Layout > Design Manager [Content Type: Redirect Link]):


- search again (Extensions > Admin Search):

Search Text:

Code: Select all

firstblock || secondblock

Content of first and second content block still appear. Same when you change to a template with one content block. The content of the secondblock still shows up.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Admin Search can give false positives

Post by calguy1000 »

I can alleviate this somewhat... but not all together.

Content properties are not cleared from the database when you change content type. or change template... and therefore they still will show up in search results. And some would argue that they should.

However, I will fix it so that it won't show up in search results when you change the content type to something like a link.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: [fixed]Admin Search can give false positives

Post by Rolf »

Fixed in SVN rev: 11184
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
deactivated010521

Re: [fixed]Admin Search can give false positives

Post by deactivated010521 »

Looks good tested with Redirect Link and Internal Page Link, tnx.
Locked

Return to “[locked] CMSMS 2.2 Beta”