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 251407 - We had this mapping values are not allowed here
Summary: We had this mapping values are not allowed here
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 3 votes (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-24 19:12 UTC by _ gtzabari
Modified: 2016-01-30 02:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2015-03-24 19:12:02 UTC
Product Version: NetBeans IDE Dev (Build 1) March 21st
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\dev\Netbeans\user\dev
Cache directory: C:\dev\Netbeans\cache\dev

1. Open a yml file containing these lines:

- name: Change service start priority
  lineinfile:
    dest={{ processorBinPath }}/{{ processorAppName }}
    state=present
    backrefs=yes
    regexp="^# chkconfig: ([^ ]+) ([^ ]+) ([^$]+)$"
    line="# chkconfig: \1 {{ processorStartPriority }} \3"

2. Line "backrefs=yes" is flagged with an error annotation: "We had this mapping values are not allowed here"

I don't understand the message (it's not proper English). It's not clear whether the error annotation is a bug (the yml file looks valid) or whether something is genuinely wrong in which case the error message should be clarified.
Comment 1 karobar 2016-01-30 02:09:24 UTC
Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.7.0_79; Java HotSpot(TM) 64-Bit Server VM 24.79-b02
Runtime: Java(TM) SE Runtime Environment 1.7.0_79-b15
System: Linux version 4.2.0-25-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/travis/.netbeans/8.1
Cache directory: /home/travis/.cache/netbeans/8.1


---
rules: 
  - !tp.aoi.topology.TopologyRule
    labels:
       - empty_A
    output:
       - entry_B

I get this error message under the tag !tp.aoi.topology.TopologyRule.