Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15539 closed bug (fixed)

[scripting] BTextView and BListView messenger is not avalible by specifier

Reported by: X512 Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev53618 gcc2hybrid.

Steps to reproduce:

  1. Open StyledEdit
  2. Call "hey application/x-vnd.Haiku-StyledEdit GET View 2 of View 1 of Window 1"
  3. Result will be "Reply BMessage(B_NO_REPLY):", but BMessenger should be returned.

Same for BListView:

  1. Open Devices
  2. Call "hey application/x-vnd.Haiku-Devices GET View 2 of View 1 of View 1 of View 0 of Window 0"
  3. Result will be "Reply BMessage(B_NO_REPLY):".

Other views may also have same problem.

GETSUITES is working.

Attachments (1)

0001-fix-scripting-of-BStringView-and-BListView.patch (1.4 KB ) - added by X512 4 years ago.
patch

Download all attachments as: .zip

Change History (7)

comment:1 by pulkomandy, 4 years ago

Please submit patches at https://review.haiku-os.org instead, on the bugtracker they will get lost.

comment:2 by X512, 4 years ago

How to commit patches to gerrit? Git reports error:

> git push origin
Enumerating objects: 22, done.
Counting objects: 100% (22/22), done.
Delta compression using up to 4 threads
Compressing objects: 100% (13/13), done.
Writing objects: 100% (13/13), 1.22 KiB | 19.00 KiB/s, done.
Total 13 (delta 11), reused 0 (delta 0)
remote: Resolving deltas: 100% (11/11)
remote: Counting objects: 593597, done
remote: error: branch refs/heads/master:
remote: To push into this reference you need 'Push' rights.
remote: User: X547
remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done    
To ssh://git.haiku-os.org/haiku
 ! [remote rejected]       master -> master (prohibited by Gerrit: not permitted: update)
error: failed to push some refs to 'ssh://X547@git.haiku-os.org/haiku'

comment:3 by pulkomandy, 4 years ago

git push origin HEAD:refs/for/master

You are of course not allowed to push to the master branch directly.

comment:5 by korli, 4 years ago

Resolution: fixed
Status: newclosed

Merged in hrev53637

comment:6 by nielx, 4 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.