Beginner's Guide to Drupalburps

With code!

.. and
Freddie Mercury

Hi, my name is

Damien McKenna

Director of Technology with Bluespark Labs

Hi, my name is

User 108450

Maintainer / Co-maintainer of

Hi, my name is

User 108450

DamienMcKenna d.o Track page count

Patch-happy :)

Hi, my name is

@DamienMcKenna

DamienMcKenna Twitter3

Hi, my name is

@DamienMcKenna

DamienMcKenna Twitter3

Building with Drupal

Building with Drupal

Building with Drupal

Continuing on..

Select Or Other

But then..

Notice: Undefined index: option in theme_select_or_other_none() (line 249 of /sites/all/modules/contrib/select_or_other/select_or_other.module).

Eek!

Line 249:
Select Or Other Theme Bug

That Moment..

Drupalburp, noun;

Step 1: Search the issue queue

Select Or Other Project Highlight

Results

Select Or Other Issue Search

Review

Select Or Other Issue

Create an issue

Select Or Other Issue Create

Create an issue

Select Or Other Issue Create 2

Issue created!

Select Or Other Issue Created

Time to debug!

Module Development Tips

  1. drupal_set_message()

Back to debugging..

Whaaaa?

Drupal Set Message

Module Development Tips

  1. drupal_set_message()
  2. Devel module
  3. dpm()

dpm()

Select Or Other Theme Dpm

dpm() output

Select Or Other Theme Dpm 2

dpm() output...

Select Or Other Theme Dpm 3

The error

The fix

Select Or Other Theme Fixed

Original code

Select Or Other Theme Bug

It works!

Select Or Other Theme Fixed

Grab the original code

Select Or Other Code Link

Grab the original code..

Select Or Other Code Info

Clone me!

Select Or Other Terminal 1

Fix it!

Select Or Other Theme Fixed

Diff it!

Select Or Other Terminal Diff

Patch it!

Select Or Other Terminal Diff 2

Upload it!

Select Or Other Patch 1

Wait.

Select Or Other Issue Needsreview

Module Development Tips

  1. drupal_set_message()
  2. Devel module
  3. dpm() your way to happiness!
  4. Track your patches!

PATCHES.txt

Patches File

Module Development Tips

  1. drupal_set_message()
  2. Devel module
  3. dpm()
  4. Track your patches!
  5. kpr() and exit()
  6. Hardcore debugging: XDebug
  7. .. & MacGDBp or IDE

MacGDBp

Macgdbp

Module Development Tips

  1. drupal_set_message()
  2. Devel module
  3. dpm()
  4. Track your patches!
  5. kpr() and exit()
  6. Hardcore debugging: XDebug
  7. .. & MacGDBp or IDE
  8. Let modules die

Redundant: see redundant

Better modules

Contenttypeexporter

Contribute

Investments

Time it

Companies can do more

Why?

More info

Drupal's future is up to us!

thank you

/

#