This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270397 - Invalid search results
Summary: Invalid search results
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-14 07:16 UTC by stanislav.kravets
Modified: 2017-04-14 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (55.89 KB, text/plain)
2017-04-14 07:16 UTC, stanislav.kravets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stanislav.kravets 2017-04-14 07:16:23 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 8.1 version 6.3 running on x86
Java; VM; Vendor = 1.8.0_91
Runtime = Java HotSpot(TM) Client VM 25.91-b14

Reproducibility: Happens every time

STEPS:
Trying to search (via Ctrl+F) text ".tpl" (without quotes) in the next PHP code fragment:

			$oTable->sDataTemplate = $this->sPrefix . "/row_" . $this->sPrefix . ".tpl";
			$oTable->iRowPerPage = Base::$aRequest['content'] ? Base::$aRequest['content'] : 20;
			$oTable->bShowRowsPerPage = true;
			//$oTable->bShowPerPageAll=true;
			$oTable->sActionRowPerPage = preg_replace('/&content=([^&]*)/', '', $_SERVER ['QUERY_STRING']);
			$oTable->aCallback = array($this, 'CallParseAccessory');
			$oTable->bTextStepShow=false;

			//Base::$sText .= $oTable->getTable();
			$oTable->getTable();
			//Base::$aData['template']['sPageTitle']=Language::GetMessage('tire module title');
			//Debug::PrintPre($sLinkFull);
			Base::$sText .= Base::$tpl->fetch($this->sPrefix . '/index.tpl');
		} else {
			Base::$sText .= Base::$tpl->fetch($this->sPrefix . '/index.tpl');

ACTUAL:
  search result contains '.tpl' in the first line and missing in the last lines.

EXPECTED:
  find all 3 occurrence
Comment 1 stanislav.kravets 2017-04-14 07:16:30 UTC
Created attachment 164107 [details]
IDE log